Diffstat (limited to 'noncore/settings/mediummount/mediumwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumwidget.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.h b/noncore/settings/mediummount/mediumwidget.h new file mode 100644 index 0000000..7a801eb --- a/dev/null +++ b/noncore/settings/mediummount/mediumwidget.h | |||
@@ -0,0 +1,77 @@ | |||
1 | |||
2 | #ifndef MediumMountWidget_H | ||
3 | #define MediumMountWidget_H | ||
4 | |||
5 | //#include <qpixmap.h> | ||
6 | #include <qwidget.h> | ||
7 | |||
8 | |||
9 | class QLabel; | ||
10 | class QPixmap; | ||
11 | class Config; | ||
12 | class QGridLayout; | ||
13 | class QCheckBox; | ||
14 | class QPushButton; | ||
15 | class QVBoxLayout; | ||
16 | class QHBoxLayout; | ||
17 | class QGroupBox; | ||
18 | class QVBox; | ||
19 | class QHBox; | ||
20 | class QLineEdit; | ||
21 | |||
22 | namespace MediumMountSetting { | ||
23 | |||
24 | class MediumMountWidget : public QWidget { | ||
25 | Q_OBJECT | ||
26 | public: | ||
27 | MediumMountWidget(const QString&, const QPixmap &, QWidget *parent, const char *name = 0 ); | ||
28 | ~MediumMountWidget(); | ||
29 | |||
30 | private slots: | ||
31 | void slotAdd(); | ||
32 | void slotStateChanged(); | ||
33 | |||
34 | private: | ||
35 | void readConfig(); | ||
36 | void initGUI(); | ||
37 | void writeConfig(); | ||
38 | |||
39 | bool m_dirty : 1; | ||
40 | |||
41 | class MediumMountWidgetPrivate; | ||
42 | MediumMountWidgetPrivate *d; | ||
43 | |||
44 | QString m_path; | ||
45 | |||
46 | Config *m_config; | ||
47 | |||
48 | QHBox *m_infoBox; | ||
49 | QLabel *m_label; | ||
50 | QLabel *m_desc; | ||
51 | |||
52 | QLineEdit *m_edit; | ||
53 | QPushButton *m_add; | ||
54 | |||
55 | QVBoxLayout *m_box; | ||
56 | QGridLayout *m_checks; | ||
57 | |||
58 | QGroupBox *m_group; | ||
59 | QCheckBox *m_all; | ||
60 | QCheckBox *m_audio; | ||
61 | QCheckBox *m_image; | ||
62 | QCheckBox *m_text; | ||
63 | QCheckBox *m_video; | ||
64 | |||
65 | QCheckBox *m_always; | ||
66 | //QCheckBox *m_yesNo; | ||
67 | |||
68 | QHBox *m_hboxAdd; | ||
69 | |||
70 | QLabel *m_lblPath; | ||
71 | //////////////// | ||
72 | |||
73 | |||
74 | |||
75 | }; | ||
76 | }; | ||
77 | #endif | ||