Create Machine Information Object
Summary:
We need an object to track our profiles this diff adds one.
MachineInfo allows for only one instance and should be easy to work with .
MachineInfo Major Changes:
- Uses ini format to store our profiles in one of two paths. (transparent to clients )
- appPath/profiles.ini
- <QSettings user storage>/atcore/profiles.ini
- Profile names are only groups
- The bool for has heated bed has been removed; we can just check if bed max temp != 0
- radius has been removed; Radius will be stored in the Max X value.
- z_height_delta has been removed; Will now be stored in the Max Z value.
Widget is modeled after our profile dialog with a few differences,
- it is a QWidget subclass
- its using the MachineInfo object as its backend.
Test Plan: Update and run atcore it will prompt you to make profiles if you don't have any.
Reviewers: laysrodrigues, tcanabrava, patrickelectric
Reviewed By: laysrodrigues, tcanabrava, patrickelectric
Subscribers: Atelier: AtCore
Tags: Atelier: AtCore
Differential Revision: https://phabricator.kde.org/D20535