diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-01-02 09:40:38 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-02 09:40:38 -0600 |
| commit | 4d93f059c01664ad074cf467e79a63b85e86beb0 (patch) | |
| tree | 57b8a9760796937e66e393b3bc00f4bee4337bdf /include/aobutton.h | |
| parent | 6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff) | |
| parent | ec1057b5d7e1d39963275bc2cbd79a53cf6f3f5c (diff) | |
Merge pull request #54 from OmniTroid/master
Restructuring + better cross-platform support
Diffstat (limited to 'include/aobutton.h')
| -rw-r--r-- | include/aobutton.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/aobutton.h b/include/aobutton.h new file mode 100644 index 0000000..4b7209a --- /dev/null +++ b/include/aobutton.h @@ -0,0 +1,22 @@ +#ifndef AOBUTTON_H +#define AOBUTTON_H + +#include "aoapplication.h" + +#include <QPushButton> +#include <QDebug> + +class AOButton : public QPushButton +{ + Q_OBJECT + +public: + AOButton(QWidget *parent, AOApplication *p_ao_app); + ~AOButton(); + + AOApplication *ao_app; + + void set_image(QString p_image); +}; + +#endif // AOBUTTON_H |
