blob: 3632408f263d5459e4245e92106dc87d9e79be85 (
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 AQUARIUSBUTTON_H
#define AQUARIUSBUTTON_H
//#include <tqvariant.h>
#include <tqwidget.h>
#include <tqimage.h>
class TQPixmap;
class TQColor;
class AquariusButton : public TQWidget
{
Q_OBJECT
public:
AquariusButton( TQPixmap &pixmap, TQWidget* parent = 0, const char* name = 0);
~AquariusButton();
TQColor Color();
public slots:
void setColor(TQColor c);
protected:
TQPixmap pixmap;
TQImage image;
TQColor color;
void tint(TQColor &c);
void mousePressEvent( TQMouseEvent *e );
void paintEvent( TQPaintEvent *e);
signals:
void clicked();
};
#endif // AQUARIUSBUTTON_H
|