summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabdialog.h
blob: d6025734a1d3d61ddb0b7f67a1c28b897f2a01b2 (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
#ifndef __TABDIALOG_H__
#define __TABDIALOG_H__

#include <qdialog.h>
#include "tabconfig.h"

class QButtonGroup;
class OFontSelector;
class SampleView;
class OColorButton;

class TabDialog : public QDialog {
	Q_OBJECT
public:
	TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags = 0 );
	virtual ~TabDialog ( );	

protected slots:
	void iconSizeClicked ( int );
	void fontClicked ( const QFont & );
	void bgTypeClicked ( int );
	void colorClicked ( const QColor & );

private:
	QWidget *createBgTab ( QWidget *parent );
	QWidget *createFontTab ( QWidget *parent );
	QWidget *createIconTab ( QWidget *parent );
	
	
private:
	SampleView *m_sample;
	QButtonGroup *m_iconsize;
	OFontSelector *m_fontselect;
	OColorButton *m_solidcolor;
	
	QButtonGroup *m_bgtype;
};


#endif