author | sandman <sandman> | 2002-07-15 00:52:50 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-07-15 00:52:50 (UTC) |
commit | ecf2a873be3274bb30be0c659b7db6ef8a43be84 (patch) (unidiff) | |
tree | 5c80fb0863966fffd245f6ed44c6bf524c11842b /noncore/styles/liquid/liquidset.h | |
parent | 4feeec8b5b41cfd3d13274411f515524f687da09 (diff) | |
download | opie-ecf2a873be3274bb30be0c659b7db6ef8a43be84.zip opie-ecf2a873be3274bb30be0c659b7db6ef8a43be84.tar.gz opie-ecf2a873be3274bb30be0c659b7db6ef8a43be84.tar.bz2 |
Added an option to make toolbar buttons flat
Diffstat (limited to 'noncore/styles/liquid/liquidset.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquidset.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/styles/liquid/liquidset.h b/noncore/styles/liquid/liquidset.h index 7843513..bb1846c 100644 --- a/noncore/styles/liquid/liquidset.h +++ b/noncore/styles/liquid/liquidset.h | |||
@@ -1,41 +1,43 @@ | |||
1 | #ifndef __OPIE_LIQUID_SET_H__ | 1 | #ifndef __OPIE_LIQUID_SET_H__ |
2 | #define __OPIE_LIQUID_SET_H__ | 2 | #define __OPIE_LIQUID_SET_H__ |
3 | 3 | ||
4 | #include <qdialog.h> | 4 | #include <qdialog.h> |
5 | #include <qcolor.h> | 5 | #include <qcolor.h> |
6 | 6 | ||
7 | class QLabel; | 7 | class QLabel; |
8 | class QToolButton; | 8 | class QToolButton; |
9 | class QSlider; | 9 | class QSlider; |
10 | 10 | ||
11 | class LiquidSettings : public QWidget { | 11 | class LiquidSettings : public QWidget { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | 13 | ||
14 | public: | 14 | public: |
15 | LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); | 15 | LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); |
16 | 16 | ||
17 | public slots: | 17 | public slots: |
18 | void changeType ( int t ); | 18 | void changeType ( int t ); |
19 | void changeMenuColor ( const QColor &col ); | 19 | void changeMenuColor ( const QColor &col ); |
20 | void changeTextColor ( const QColor &col ); | 20 | void changeTextColor ( const QColor &col ); |
21 | void changeShadow ( bool b ); | 21 | void changeShadow ( bool b ); |
22 | void changeDeco ( bool b ); | 22 | void changeDeco ( bool b ); |
23 | void changeFlat ( bool b ); | ||
23 | 24 | ||
24 | virtual bool writeConfig ( ); | 25 | virtual bool writeConfig ( ); |
25 | 26 | ||
26 | private: | 27 | private: |
27 | QColor m_menucol; | 28 | QColor m_menucol; |
28 | QColor m_textcol; | 29 | QColor m_textcol; |
29 | int m_type; | 30 | int m_type; |
30 | bool m_shadow; | 31 | bool m_shadow; |
31 | bool m_deco; | 32 | bool m_deco; |
33 | bool m_flat; | ||
32 | 34 | ||
33 | QSlider * m_opacsld; | 35 | QSlider * m_opacsld; |
34 | QSlider * m_contsld; | 36 | QSlider * m_contsld; |
35 | QLabel * m_menulbl; | 37 | QLabel * m_menulbl; |
36 | QLabel * m_textlbl; | 38 | QLabel * m_textlbl; |
37 | QLabel * m_opaclbl; | 39 | QLabel * m_opaclbl; |
38 | QToolButton *m_menubtn; | 40 | QToolButton *m_menubtn; |
39 | QToolButton *m_textbtn; | 41 | QToolButton *m_textbtn; |
40 | }; | 42 | }; |
41 | #endif | 43 | #endif |