1 #ifndef WIDGETCONFIGEDITOR_H 2 #define WIDGETCONFIGEDITOR_H 15 class QListWidgetItem;
28 void addDatasetToConfigList();
29 void saveConfigFile();
30 void updateDatasetListWidget();
32 NODISCARD
auto hasUnsavedData()
const noexcept {
return m_hasUnsavedData; }
36 void showStatusBarMessage(
const char* message);
40 void on_pushButtonAddDataset_clicked();
42 void on_pushButtonDeleteDataset_clicked();
44 void on_pushButtonSaveConfigFile_clicked();
46 void on_pushButtonLoadCustomConfig_clicked();
48 void on_pushButtonLoadDefaultConfig_clicked();
50 void on_listWidgetActiveDatasets_itemDoubleClicked(QListWidgetItem* item);
54 void setDefaultConfigFile();
56 int showUnsavedDataMessageBox();
58 Ui::WidgetConfigEditor* m_ui{
nullptr};
64 bool m_hasUnsavedData{
false};
67 #endif // WIDGETCONFIGEDITOR_H Contains the loaded and modified settings.
Definition: preferences.h:17
Definition: dialogdatasetview.h:16
Definition: mainwindow.h:28