feat(cpn): Identify new and changed models by italicising row (#3840)

* enh(cpn): identify new and changed models by italicising row

* enh(cpn): identify drag n drop and new from template as changed
This commit is contained in:
Neil Horne
2023-09-02 18:37:27 +10:00
committed by GitHub
parent e832ef6521
commit 71b0614503
4 changed files with 35 additions and 6 deletions
+2
View File
@@ -115,6 +115,7 @@ class MdiChild : public QWidget
void updateNavigation();
void updateTitle();
void setModified();
void setCurrentModelModified();
void retranslateUi();
void showModelsListContextMenu(const QPoint & pos);
void showLabelsContextMenu(const QPoint & pos);
@@ -228,6 +229,7 @@ class MdiChild : public QWidget
const quint16 stateDataVersion;
AbstractStaticItemModel* modelSortOrderItemModel;
QComboBox* cboModelSortOrder;
void setModelModified(const int modelIndex, bool cascade = true);
};
// 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.