summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquidset.h
authorsandman <sandman>2002-07-06 16:42:29 (UTC)
committer sandman <sandman>2002-07-06 16:42:29 (UTC)
commit3a422983abc7342c9229dccac825d0608fca10f3 (patch) (unidiff)
treefd0d71eab4df0b286b78efe24184525ae4c819a3 /noncore/styles/liquid/liquidset.h
parent8beb5fcdbca8110dc586a7e620bf8eae892087fb (diff)
downloadopie-3a422983abc7342c9229dccac825d0608fca10f3.zip
opie-3a422983abc7342c9229dccac825d0608fca10f3.tar.gz
opie-3a422983abc7342c9229dccac825d0608fca10f3.tar.bz2
Complete renovation of the external style API:
- created two QCom interfaces in "styleinterface.h" - moved the liquid/theme settings apps into the plugins - modified the plugin interface for all three styles - extended appearance to fully support the new API (replaces the settings apps) Additional work: - made a workaround in appearance for a Qt Bug -- now a QDialog again (this should really be fixed in Qt, but Z won't work that way)
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