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/customPushButton.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/GuiClient/customPushButton.h (limited to 'examples/GuiClient/customPushButton.h') 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 +#include + +class customPushButton : public QPushButton +{ + Q_OBJECT + +public: + customPushButton(QWidget* parent = 0); + void paintEvent(QPaintEvent* event); + QSize sizeHint() const; +}; + +#endif // CUSTOMPUSHBUTTON_H -- cgit v1.2.3