feat(cpn): read and write to/from radio profile SD path, menu reorganisation (#5753)
This commit is contained in:
@@ -55,14 +55,9 @@ class MdiChild : public QWidget
|
||||
ACT_GEN_PST,
|
||||
ACT_GEN_SIM,
|
||||
ACT_GEN_SRT, // model sort order
|
||||
ACT_ITM_EDT,
|
||||
ACT_ITM_DEL,
|
||||
ACT_LBL_ADD,
|
||||
ACT_LBL_DEL,
|
||||
ACT_LBL_MVU, // Move up
|
||||
ACT_LBL_MVD, // Move down
|
||||
ACT_LBL_REN, // Move down
|
||||
ACT_MDL_ADD, // model actions...
|
||||
ACT_MDL_EDT, // model actions...
|
||||
ACT_MDL_DEL,
|
||||
ACT_MDL_ADD,
|
||||
ACT_MDL_CPY,
|
||||
ACT_MDL_CUT,
|
||||
ACT_MDL_PST,
|
||||
@@ -75,6 +70,11 @@ class MdiChild : public QWidget
|
||||
ACT_MDL_DFT, // set as DeFaulT
|
||||
ACT_MDL_PRT, // print
|
||||
ACT_MDL_SIM,
|
||||
ACT_LBL_ADD, // label actions..
|
||||
ACT_LBL_DEL,
|
||||
ACT_LBL_MVU, // Move up
|
||||
ACT_LBL_MVD, // Move down
|
||||
ACT_LBL_REN, // Move down
|
||||
ACT_ENUM_END
|
||||
};
|
||||
|
||||
@@ -97,7 +97,7 @@ class MdiChild : public QWidget
|
||||
bool saveAs(bool isNew=false);
|
||||
bool saveFile(const QString & fileName, bool setCurrent=true);
|
||||
void closeFile(bool force = false);
|
||||
void writeSettings(StatusDialog * status);
|
||||
void writeSettings(StatusDialog * status, bool toRadio = true);
|
||||
void print(int model=-1, const QString & filename="");
|
||||
void onFirmwareChanged();
|
||||
|
||||
@@ -231,6 +231,7 @@ class MdiChild : public QWidget
|
||||
AbstractStaticItemModel* modelSortOrderItemModel;
|
||||
QComboBox* cboModelSortOrder;
|
||||
void setModelModified(const int modelIndex, bool cascade = true);
|
||||
QAction * actionsSeparator();
|
||||
};
|
||||
|
||||
// This will draw the drop indicator across all columns of a model View (vs. in just one column), and lets us make the indicator more obvious.
|
||||
|
||||
Reference in New Issue
Block a user