You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-style-baghira/deco/config/aquariusbutton.h

38 lines
637 B

#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