diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-08 09:23:18 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-08 09:23:18 +0000 |
| commit | da88f5f0bb5e73bc69bf7ed3962691622b1ae4f9 (patch) | |
| tree | c3686f7649785a2bfcc2c637a1588acdb8a721e8 /examples/GuiClient/customPushButton.h | |
| parent | 3431f5a37174b7eb8490672686db68df2b48e35f (diff) | |
| download | qxmpp-da88f5f0bb5e73bc69bf7ed3962691622b1ae4f9.tar.gz | |
add Gui Client example
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
|
