Refactor to directly call updates to data models

This commit is contained in:
elecpower
2020-10-02 07:06:00 +10:00
parent 1364a88eb0
commit af4c5524b1
30 changed files with 401 additions and 331 deletions
+2 -6
View File
@@ -25,9 +25,7 @@
#include "genericpanel.h"
class RadioData;
class RawSourceItemModel;
class RawSwitchItemModel;
class CurveItemModel;
class CommonItemModels;
namespace Ui {
class ModelEdit;
@@ -65,9 +63,7 @@ class ModelEdit : public QDialog
RadioData & radioData;
Firmware * firmware;
QVector<GenericPanel *> panels;
RawSourceItemModel *rawSourceModel;
RawSwitchItemModel *rawSwitchModel;
CurveItemModel *curveModel;
CommonItemModels * commonItemModels;
void addTab(GenericPanel *panel, QString text);
void launchSimulation();