blob: 88b3774a0a21369026769f4f3441be6663719bf1 (
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
|
#ifndef MICROKDE_KCOLORBUTTON_H
#define MICROKDE_KCOLORBUTTON_H
#include <qpushbutton.h>
#include <qcolor.h>
#include <kglobal.h>
#include <qpixmap.h>
#include <qlabel.h>
class KColorButton : public QPushButton
{
Q_OBJECT
public:
KColorButton( QWidget *p );
void setColor ( const QColor &);
QColor color() const { return mColor ; }
signals:
void changed(const QColor &);
private slots:
void edit();
private:
QColor mColor;
};
#endif
|