summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquidset.h
Unidiff
Diffstat (limited to 'noncore/styles/liquid/liquidset.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/liquidset.h41
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
7class QLabel;
8class QToolButton;
9class QSlider;
10
11class LiquidSettings : public QWidget {
12 Q_OBJECT
13
14public:
15 LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 );
16
17public 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
26private:
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