summaryrefslogtreecommitdiff
path: root/libsowatch/metawatchsimulatorform.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/metawatchsimulatorform.h')
-rw-r--r--libsowatch/metawatchsimulatorform.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/libsowatch/metawatchsimulatorform.h b/libsowatch/metawatchsimulatorform.h
new file mode 100644
index 0000000..0b45746
--- /dev/null
+++ b/libsowatch/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