author | sandman <sandman> | 2002-07-06 16:42:29 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-07-06 16:42:29 (UTC) |
commit | 3a422983abc7342c9229dccac825d0608fca10f3 (patch) (side-by-side diff) | |
tree | fd0d71eab4df0b286b78efe24184525ae4c819a3 /noncore/styles/liquid/liquidset.h | |
parent | 8beb5fcdbca8110dc586a7e620bf8eae892087fb (diff) | |
download | opie-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) (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 |