00001 #ifndef __OPIE_LIQUID_SET_H__ 00002 #define __OPIE_LIQUID_SET_H__ 00003 00004 #include <qdialog.h> 00005 #include <qcolor.h> 00006 00007 class QLabel; 00008 namespace Opie {class OColorButton;} 00009 class QSlider; 00010 00011 class LiquidSettings : public QWidget { 00012 Q_OBJECT 00013 00014 public: 00015 LiquidSettings ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); 00016 00017 public slots: 00018 void changeType ( int t ); 00019 void changeShadow ( bool b ); 00020 void changeFlat ( bool b ); 00021 00022 virtual bool writeConfig ( ); 00023 00024 private: 00025 int m_type; 00026 bool m_shadow; 00027 bool m_flat; 00028 00029 QSlider * m_opacsld; 00030 QSlider * m_contsld; 00031 QLabel * m_menulbl; 00032 QLabel * m_textlbl; 00033 QLabel * m_opaclbl; 00034 Opie::OColorButton *m_menubtn; 00035 Opie::OColorButton *m_textbtn; 00036 }; 00037 #endif
1.4.2