Refactor to Model level ui datamodels for sources, switches and curves

This commit is contained in:
elecpower
2020-09-17 14:30:20 +10:00
parent 6ad75996e6
commit 1e0e22955d
34 changed files with 994 additions and 623 deletions
+6
View File
@@ -25,6 +25,9 @@
#include "genericpanel.h"
class RadioData;
class RawSourceItemModel;
class RawSwitchItemModel;
class CurveItemModel;
namespace Ui {
class ModelEdit;
@@ -62,6 +65,9 @@ class ModelEdit : public QDialog
RadioData & radioData;
Firmware * firmware;
QVector<GenericPanel *> panels;
RawSourceItemModel *rawSourceModel;
RawSwitchItemModel *rawSwitchModel;
CurveItemModel *curveModel;
void addTab(GenericPanel *panel, QString text);
void launchSimulation();