[Companion] Make simulator startup from ModelEdit panel act the same as simulating a model from the models list widget (that is, including the other radio data as well); Simplify some code, remove automatic signal connections and use new syntax. (#4721)
This commit is contained in:
committed by
Bertrand Songis
parent
965849ee41
commit
4c0dbfcb6c
@@ -46,7 +46,7 @@ class ModelEdit : public QDialog
|
||||
public:
|
||||
ModelEdit(QWidget * parent, RadioData & radioData, int modelId, Firmware * firmware);
|
||||
~ModelEdit();
|
||||
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
||||
@@ -54,15 +54,12 @@ class ModelEdit : public QDialog
|
||||
void modified();
|
||||
|
||||
private slots:
|
||||
void onTabModified();
|
||||
void on_pushButton_clicked();
|
||||
void on_tabWidget_currentChanged(int index);
|
||||
void onTabIndexChanged(int index);
|
||||
|
||||
private:
|
||||
Ui::ModelEdit *ui;
|
||||
int modelId;
|
||||
ModelData & model;
|
||||
GeneralSettings & generalSettings;
|
||||
RadioData & radioData;
|
||||
Firmware * firmware;
|
||||
QVector<GenericPanel *> panels;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user