diff options
Diffstat (limited to 'examples/GuiClient/customToolButton.h')
| -rw-r--r-- | examples/GuiClient/customToolButton.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/GuiClient/customToolButton.h b/examples/GuiClient/customToolButton.h new file mode 100644 index 00000000..c9e7048b --- /dev/null +++ b/examples/GuiClient/customToolButton.h @@ -0,0 +1,14 @@ +#ifndef CUSTOMTOOLBUTTON_H
+#define CUSTOMTOOLBUTTON_H
+
+#include <QToolButton>
+
+class customToolButton : public QToolButton
+{
+public:
+ customToolButton(QWidget* parent = 0);
+ void paintEvent(QPaintEvent* event);
+ QSize sizeHint() const;
+};
+
+#endif // CUSTOMTOOLBUTTON_H
|
