2014-01-19 18:24:20 +01:00
|
|
|
#ifndef CLOSEBUTTON_H
|
|
|
|
#define CLOSEBUTTON_H
|
|
|
|
|
|
|
|
#include <QToolButton>
|
|
|
|
|
|
|
|
|
2014-01-19 21:35:13 +01:00
|
|
|
class PlainToolButton : public QToolButton {
|
2014-01-19 18:24:20 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Contructors and destructors.
|
2014-01-19 21:35:13 +01:00
|
|
|
explicit PlainToolButton(QWidget *parent = 0);
|
|
|
|
virtual ~PlainToolButton();
|
2014-01-19 18:24:20 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
// Custom look.
|
|
|
|
void paintEvent(QPaintEvent *e);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLOSEBUTTON_H
|