source: src-qt4/pc-mounttray/settingsDialog.h @ e020f6a

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since e020f6a was e020f6a, checked in by Ken Moore <ken@…>, 10 months ago

Fix compilation of pc-mounttray on 10.x

  • Property mode set to 100644
File size: 990 bytes
Line 
1#ifndef _SETTINGS_DIALOG_H
2#define _SETTINGS_DIALOG_H
3
4#include <QDialog>
5#include <QString>
6#include <QStringList>
7#include <QVBoxLayout>
8#include <QHBoxLayout>
9#include <QFormLayout>
10#include <QPushButton>
11#include <QGroupBox>
12#include <QCheckBox>
13#include <QSpinBox>
14#include <QLabel>
15#include <QIcon>
16#include <QDebug>
17
18class SettingsDialog : public QDialog{
19        Q_OBJECT
20       
21public:
22        SettingsDialog();
23        ~SettingsDialog();
24       
25        bool SettingsChanged; //if settings should be applied (I.E. changed)
26        bool useDiskWatcher; //use system disk space monitor
27          bool useDiskAutoTimer; //use devd prompting to check system
28          int diskRefreshMS; //max time between checks (milliseconds)
29         
30         
31        void showDialog();
32       
33private:
34        //Disk Watcher settings
35        QGroupBox *groupDiskWatch;
36        QCheckBox *checkDiskAutoTimer;
37        QSpinBox *spinDiskRefreshMin;
38        //save/close buttons
39        QPushButton *closeButton,  *applyButton;
40       
41private slots:
42        void slotApply();
43        void slotCloseDialog();
44       
45        void slotUpdateUI();
46
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.