Diffstat (limited to 'core/settings/launcher/tabdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/tabdialog.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/core/settings/launcher/tabdialog.h b/core/settings/launcher/tabdialog.h new file mode 100644 index 0000000..d602573 --- a/dev/null +++ b/core/settings/launcher/tabdialog.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef __TABDIALOG_H__ | ||
2 | #define __TABDIALOG_H__ | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include "tabconfig.h" | ||
6 | |||
7 | class QButtonGroup; | ||
8 | class OFontSelector; | ||
9 | class SampleView; | ||
10 | class OColorButton; | ||
11 | |||
12 | class TabDialog : public QDialog { | ||
13 | Q_OBJECT | ||
14 | public: | ||
15 | TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags = 0 ); | ||
16 | virtual ~TabDialog ( ); | ||
17 | |||
18 | protected slots: | ||
19 | void iconSizeClicked ( int ); | ||
20 | void fontClicked ( const QFont & ); | ||
21 | void bgTypeClicked ( int ); | ||
22 | void colorClicked ( const QColor & ); | ||
23 | |||
24 | private: | ||
25 | QWidget *createBgTab ( QWidget *parent ); | ||
26 | QWidget *createFontTab ( QWidget *parent ); | ||
27 | QWidget *createIconTab ( QWidget *parent ); | ||
28 | |||
29 | |||
30 | private: | ||
31 | SampleView *m_sample; | ||
32 | QButtonGroup *m_iconsize; | ||
33 | OFontSelector *m_fontselect; | ||
34 | OColorButton *m_solidcolor; | ||
35 | |||
36 | QButtonGroup *m_bgtype; | ||
37 | }; | ||
38 | |||
39 | |||
40 | #endif \ No newline at end of file | ||