blob: 6a0c494524092fc1b912b48c6992e40a4e1e5634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __KDUALCOLORTEST_H
#define __KDUALCOLORTEST_H
#include <qlabel.h>
#include <kdualcolorbutton.h>
class KDualColorWidget : public QWidget
{
Q_OBJECT
public:
KDualColorWidget(QWidget *parent=0, const char *name=0);
protected slots:
void slotFgChanged(const QColor &c);
void slotBgChanged(const QColor &c);
void slotCurrentChanged(KDualColorButton::DualColor current);
protected:
QLabel *lbl;
};
#endif
|