summaryrefslogtreecommitdiff
path: root/metawatch/metawatchsimulatorform.h
diff options
context:
space:
mode:
Diffstat (limited to 'metawatch/metawatchsimulatorform.h')
-rw-r--r--metawatch/metawatchsimulatorform.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/metawatch/metawatchsimulatorform.h b/metawatch/metawatchsimulatorform.h
new file mode 100644
index 0000000..0b45746
--- /dev/null
+++ b/metawatch/metawatchsimulatorform.h
@@ -0,0 +1,46 @@
+#ifndef METAWATCHSIMULATORFORM_H
+#define METAWATCHSIMULATORFORM_H
+
+#include <QWidget>
+
+namespace Ui {
+ class MetaWatchSimulatorForm;
+}
+
+namespace sowatch {
+
+class MetaWatchSimulatorForm : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit MetaWatchSimulatorForm(QWidget *parent = 0);
+ ~MetaWatchSimulatorForm();
+
+ void refreshScreen(const QPixmap& screen);
+
+signals:
+ void buttonPressed(int button);
+ void buttonReleased(int button);
+
+protected slots:
+ void btnAPressed();
+ void btnAReleased();
+ void btnBPressed();
+ void btnBReleased();
+ void btnCPressed();
+ void btnCReleased();
+ void btnDPressed();
+ void btnDReleased();
+ void btnEPressed();
+ void btnEReleased();
+ void btnFPressed();
+ void btnFReleased();
+
+private:
+ Ui::MetaWatchSimulatorForm *ui;
+};
+
+}
+
+#endif // METAWATCHSIMULATORFORM_H