diff options
Diffstat (limited to 'examples/GuiClient/customPushButton.h')
| -rw-r--r-- | examples/GuiClient/customPushButton.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/GuiClient/customPushButton.h b/examples/GuiClient/customPushButton.h new file mode 100644 index 00000000..196a2cfa --- /dev/null +++ b/examples/GuiClient/customPushButton.h @@ -0,0 +1,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
|
