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 @@ +#ifndef __OPIE_LIQUID_SET_H__ +#define __OPIE_LIQUID_SET_H__ + +#include <qdialog.h> +#include <qcolor.h> + +class QLabel; +class QToolButton; +class QSlider; + +class LiquidSettings : public QWidget { + Q_OBJECT + +public: + LiquidSettings ( 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 ); + void changeDeco ( bool b ); + + virtual bool writeConfig ( ); + +private: + QColor m_menucol; + QColor m_textcol; + int m_type; + bool m_shadow; + bool m_deco; + + QSlider * m_opacsld; + QSlider * m_contsld; + QLabel * m_menulbl; + QLabel * m_textlbl; + QLabel * m_opaclbl; + QToolButton *m_menubtn; + QToolButton *m_textbtn; +}; +#endif |