summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquidset.h
blob: a54cc13b60ce74d62e1911371968e8a91541eed1 (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
#ifndef __OPIE_LIQUID_SET_H__
#define __OPIE_LIQUID_SET_H__

#include <qdialog.h>
#include <qcolor.h>

class QLabel;
namespace Opie {class OColorButton;}
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 changeShadow ( bool b );
	void changeFlat ( bool b );

	virtual bool writeConfig ( );
	
private:
	int    m_type;
	bool   m_shadow;
	bool   m_flat;
	
	QSlider *     m_opacsld;
	QSlider *     m_contsld;
	QLabel *      m_menulbl;
	QLabel *      m_textlbl;
	QLabel *      m_opaclbl;
	Opie::OColorButton *m_menubtn;
	Opie::OColorButton *m_textbtn;
};
#endif