41 #ifndef __PREFERENCESDIALOG_HPP__
42 #define __PREFERENCESDIALOG_HPP__
52 class PreferencesDialog;
56 class QTreeWidgetItem;
57 class WaresSearchPathsWidget;
60 namespace openfluid {
namespace ui {
namespace common {
69 enum PagesIndexes { INTERFACE_PAGE = 0,
78 void changePage(QTreeWidgetItem* Current, QTreeWidgetItem* Previous);
80 void updateLanguage(
const QString& Lang);
82 void clearRecentsList();
84 void updateRecentsMax(
int Val);
86 void confirmItemRemoval(
bool Confirm);
88 void confirmParamRemoval(
bool Confirm);
90 void confirmUnitsRemoval(
bool Confirm);
92 void confirmConnectionsRemoval(
bool Confirm);
94 void confirmAttributesRemoval(
bool Confirm);
96 void enableWatchers(
bool Active);
98 void enableAutoSaveBeforeRun(
bool AutoSave);
100 void updateDeltaT(
int Val);
102 void updatePeriodBegin(
const QDateTime& DT);
104 void updatePeriodEnd(
const QDateTime& DT);
106 void addMarketPlace();
108 void editMarketPlace();
110 void removeMarketPlace();
112 void processSimUserPathsUpdate();
114 void processObsUserPathsUpdate();
116 void processBextUserPathsUpdate();
118 void processWorkspacesPathsUpdate();
123 Ui::PreferencesDialog *ui;
125 bool m_RecentsChanged;
127 bool m_SimPathsChanged;
129 bool m_ObsPathsChanged;
131 bool m_WaresWatchingChanged;
135 void updateMarketplacesList();
144 void initializeBuilderPrefs(
const QStringList& ExtsPaths);
Definition: PreferencesDialog.hpp:63
Definition: OpenFLUIDDialog.hpp:51
bool isRecentsChanged() const
Definition: PreferencesDialog.hpp:146
bool isSimPathsChanged() const
Definition: PreferencesDialog.hpp:148
bool isWaresWatchingChanged() const
Definition: PreferencesDialog.hpp:152
bool isObsPathsChanged() const
Definition: PreferencesDialog.hpp:150
#define DLLEXPORT
Definition: dllexport.hpp:51