blob: bb1846cf49dadc8f6dd6f2be529395c4ca1a3e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#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 );
void changeFlat ( bool b );
virtual bool writeConfig ( );
private:
QColor m_menucol;
QColor m_textcol;
int m_type;
bool m_shadow;
bool m_deco;
bool m_flat;
QSlider * m_opacsld;
QSlider * m_contsld;
QLabel * m_menulbl;
QLabel * m_textlbl;
QLabel * m_opaclbl;
QToolButton *m_menubtn;
QToolButton *m_textbtn;
};
#endif
|