diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-17 03:58:13 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-17 03:58:13 +0200 |
commit | f225345d4de3b198a557fe3566f9630163e76d51 (patch) | |
tree | cca7ba40e560226c138a1d4fc44b032f8fd6c808 /metawatch/metawatchsimulatorform.h | |
parent | b0771d893865ca249bbf191636fad593901cce03 (diff) | |
download | sowatch-f225345d4de3b198a557fe3566f9630163e76d51.tar.gz sowatch-f225345d4de3b198a557fe3566f9630163e76d51.zip |
Putting MetaWatch stuff in a plugin
Diffstat (limited to 'metawatch/metawatchsimulatorform.h')
-rw-r--r-- | metawatch/metawatchsimulatorform.h | 46 |
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 |