Navigator2Go  2.0
Manage your local Ocean Navigator installation.
dialogpreferences.h
1 #ifndef DIALOGPREFERENCES_H
2 #define DIALOGPREFERENCES_H
3 
4 #include "constants.h"
5 
6 #include <QDialog>
7 #include <QSettings>
8 
9 /***********************************************************************************/
10 // Forward Declarations
11 namespace Ui {
12 class DialogPreferences;
13 }
14 class Preferences;
15 
16 /***********************************************************************************/
18 class DialogPreferences : public QDialog {
19  Q_OBJECT
20 
21 public:
22  DialogPreferences(Preferences& prefs, QWidget* parent = nullptr);
24 
25 private slots:
26  void on_pushButtonBrowseInstallDir_clicked();
27 
28  void on_pushButtonBrowseTHREDDS_clicked();
29 
30  void on_buttonBox_accepted();
31 
32 private:
33  void populateUI();
34 
35  Ui::DialogPreferences* m_ui{nullptr};
36  Preferences& m_prefs;
37 };
38 
39 #endif // DIALOGPREFERENCES_H
Contains the loaded and modified settings.
Definition: preferences.h:17
Definition: dialogdatasetview.h:16
Preferences dialog window.
Definition: dialogpreferences.h:18