aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/customPushButton.h
blob: 196a2cfa383ad18bfde4c23633fde6de84e92c7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef CUSTOMPUSHBUTTON_H
#define CUSTOMPUSHBUTTON_H

#include <QPushButton>
#include <QPainter>

class customPushButton : public QPushButton
{
    Q_OBJECT

public:
    customPushButton(QWidget* parent = 0);
    void paintEvent(QPaintEvent* event);
    QSize sizeHint() const;
};

#endif // CUSTOMPUSHBUTTON_H