summaryrefslogtreecommitdiff
path: root/metawatch/metawatchdigitalsimulatorform.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-13 21:31:52 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-13 21:31:52 +0200
commitabdf3b1eaba8151f1b8e862750c38cb7a5411d2a (patch)
tree69e314d80a332295dd5475fc91f45c2078eaead5 /metawatch/metawatchdigitalsimulatorform.h
parent51701e30d710ad016ddf2d306cdd7be122ddf25b (diff)
downloadsowatch-abdf3b1eaba8151f1b8e862750c38cb7a5411d2a.tar.gz
sowatch-abdf3b1eaba8151f1b8e862750c38cb7a5411d2a.zip
make watchsimulator work again
Diffstat (limited to 'metawatch/metawatchdigitalsimulatorform.h')
-rw-r--r--metawatch/metawatchdigitalsimulatorform.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/metawatch/metawatchdigitalsimulatorform.h b/metawatch/metawatchdigitalsimulatorform.h
new file mode 100644
index 0000000..054a1a8
--- /dev/null
+++ b/metawatch/metawatchdigitalsimulatorform.h
@@ -0,0 +1,46 @@
+#ifndef METAWATCHSIMULATORFORM_H
+#define METAWATCHSIMULATORFORM_H
+
+#include <QWidget>
+
+namespace Ui {
+ class MetaWatchDigitalSimulatorForm;
+}
+
+namespace sowatch {
+
+class MetaWatchDigitalSimulatorForm : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit MetaWatchDigitalSimulatorForm(QWidget *parent = 0);
+ ~MetaWatchDigitalSimulatorForm();
+
+ 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::MetaWatchDigitalSimulatorForm *ui;
+};
+
+}
+
+#endif // METAWATCHSIMULATORFORM_H