From c9871ef295afed6bc4f4cc5451f46bf3b6e8d462 Mon Sep 17 00:00:00 2001 From: sandman Date: Thu, 27 Jun 2002 20:23:25 +0000 Subject: 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 --- (limited to 'noncore/styles/liquid/settings/liquidset.h') 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 +#include + +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 -- cgit v0.9.0.2