aboutsummaryrefslogtreecommitdiff
path: root/aocharbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'aocharbutton.h')
-rw-r--r--aocharbutton.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/aocharbutton.h b/aocharbutton.h
new file mode 100644
index 0000000..231fe66
--- /dev/null
+++ b/aocharbutton.h
@@ -0,0 +1,21 @@
+#ifndef AOCHARBUTTON_H
+#define AOCHARBUTTON_H
+
+#include <QPushButton>
+#include <QString>
+#include <QWidget>
+
+class AOCharButton : public QPushButton
+{
+ Q_OBJECT
+
+public:
+ AOCharButton(QWidget *parent);
+
+ void set_image(QString p_character);
+
+private:
+ QWidget *m_parent;
+};
+
+#endif // AOCHARBUTTON_H