Diffstat (limited to 'noncore/styles/liquid/settings/liquidset.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/settings/liquidset.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/styles/liquid/settings/liquidset.h b/noncore/styles/liquid/settings/liquidset.h new file mode 100644 index 0000000..944b1ec --- a/dev/null +++ b/noncore/styles/liquid/settings/liquidset.h | |||
@@ -0,0 +1,39 @@ | |||
1 | #ifndef __OPIE_LIQUID_SET_H__ | ||
2 | #define __OPIE_LIQUID_SET_H__ | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include <qcolor.h> | ||
6 | |||
7 | class QLabel; | ||
8 | class QToolButton; | ||
9 | class QSlider; | ||
10 | |||
11 | class LiquidSet : public QDialog { | ||
12 | Q_OBJECT | ||
13 | |||
14 | public: | ||
15 | LiquidSet ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); | ||
16 | |||
17 | public slots: | ||
18 | void changeType ( int t ); | ||
19 | void changeMenuColor ( const QColor &col ); | ||
20 | void changeTextColor ( const QColor &col ); | ||
21 | void changeShadow ( bool b ); | ||
22 | |||
23 | protected: | ||
24 | virtual void accept ( ); | ||
25 | |||
26 | private: | ||
27 | QColor m_menucol; | ||
28 | QColor m_textcol; | ||
29 | int m_type; | ||
30 | bool m_shadow; | ||
31 | |||
32 | QSlider * m_opacsld; | ||
33 | QLabel * m_menulbl; | ||
34 | QLabel * m_textlbl; | ||
35 | QLabel * m_opaclbl; | ||
36 | QToolButton *m_menubtn; | ||
37 | QToolButton *m_textbtn; | ||
38 | }; | ||
39 | #endif | ||