From da88f5f0bb5e73bc69bf7ed3962691622b1ae4f9 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Wed, 8 Sep 2010 09:23:18 +0000 Subject: add Gui Client example --- examples/GuiClient/customToolButton.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/GuiClient/customToolButton.h (limited to 'examples/GuiClient/customToolButton.h') 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 + +class customToolButton : public QToolButton +{ +public: + customToolButton(QWidget* parent = 0); + void paintEvent(QPaintEvent* event); + QSize sizeHint() const; +}; + +#endif // CUSTOMTOOLBUTTON_H -- cgit v1.2.3