Diffstat (limited to 'noncore/styles/liquid/liquidset.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquidset.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/styles/liquid/liquidset.h b/noncore/styles/liquid/liquidset.h new file mode 100644 index 0000000..7843513 --- a/dev/null +++ b/noncore/styles/liquid/liquidset.h | |||
@@ -0,0 +1,41 @@ | |||
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 LiquidSettings : public QWidget { | ||
12 | Q_OBJECT | ||
13 | |||
14 | public: | ||
15 | LiquidSettings ( 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 | void changeDeco ( bool b ); | ||
23 | |||
24 | virtual bool writeConfig ( ); | ||
25 | |||
26 | private: | ||
27 | QColor m_menucol; | ||
28 | QColor m_textcol; | ||
29 | int m_type; | ||
30 | bool m_shadow; | ||
31 | bool m_deco; | ||
32 | |||
33 | QSlider * m_opacsld; | ||
34 | QSlider * m_contsld; | ||
35 | QLabel * m_menulbl; | ||
36 | QLabel * m_textlbl; | ||
37 | QLabel * m_opaclbl; | ||
38 | QToolButton *m_menubtn; | ||
39 | QToolButton *m_textbtn; | ||
40 | }; | ||
41 | #endif | ||