summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/settings/liquidset.h
authorsandman <sandman>2002-06-27 20:23:25 (UTC)
committer sandman <sandman>2002-06-27 20:23:25 (UTC)
commitc9871ef295afed6bc4f4cc5451f46bf3b6e8d462 (patch) (side-by-side diff)
tree2fa3264c0a847100d1368df6e1eae2dd5b7a47ac /noncore/styles/liquid/settings/liquidset.h
parent9cd1aef30015628e06e8f24b9b7e91acb631b52b (diff)
downloadopie-c9871ef295afed6bc4f4cc5451f46bf3b6e8d462.zip
opie-c9871ef295afed6bc4f4cc5451f46bf3b6e8d462.tar.gz
opie-c9871ef295afed6bc4f4cc5451f46bf3b6e8d462.tar.bz2
Enhanced liquid style:
1) All WType_Popup's now get a transparent background (volume-applet) 2) Settings/Liquid Settings - a new app that acts like the KDE Control Panel page for Liquid
Diffstat (limited to 'noncore/styles/liquid/settings/liquidset.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/settings/liquidset.h39
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 @@
+#ifndef __OPIE_LIQUID_SET_H__
+#define __OPIE_LIQUID_SET_H__
+
+#include <qdialog.h>
+#include <qcolor.h>
+
+class QLabel;
+class QToolButton;
+class QSlider;
+
+class LiquidSet : public QDialog {
+ Q_OBJECT
+
+public:
+ LiquidSet ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 );
+
+public slots:
+ void changeType ( int t );
+ void changeMenuColor ( const QColor &col );
+ void changeTextColor ( const QColor &col );
+ void changeShadow ( bool b );
+
+protected:
+ virtual void accept ( );
+
+private:
+ QColor m_menucol;
+ QColor m_textcol;
+ int m_type;
+ bool m_shadow;
+
+ QSlider * m_opacsld;
+ QLabel * m_menulbl;
+ QLabel * m_textlbl;
+ QLabel * m_opaclbl;
+ QToolButton *m_menubtn;
+ QToolButton *m_textbtn;
+};
+#endif