diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-13 10:56:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-13 14:03:51 -0700 |
commit | cdd3b3d9cd5439cd56fb752e56a72045bed55f90 (patch) | |
tree | 76042136d2c7d68b1109ec45649970ad6e4a1dc6 /qt-ui/usersurvey.h | |
parent | 64236388e467dd149d285accdee74897a2a7c5a1 (diff) | |
download | subsurface-cdd3b3d9cd5439cd56fb752e56a72045bed55f90.tar.gz |
Start a user survey dialog
The idea is that a week after the user starts using Subsurface we ask them
if they would like to submit a survey response.
If you are running a development build, don't wait seven days.
This patch doesn't do anything with the user's selections, doesn't submit
anything to our server, etc. It's just a placeholder to tune what we
should ask, etc.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.h')
-rw-r--r-- | qt-ui/usersurvey.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qt-ui/usersurvey.h b/qt-ui/usersurvey.h new file mode 100644 index 000000000..e1663c7e0 --- /dev/null +++ b/qt-ui/usersurvey.h @@ -0,0 +1,25 @@ +#ifndef USERSURVEY_H +#define USERSURVEY_H + +#include <QDialog> + +namespace Ui { + class UserSurvey; +} + +class UserSurvey : public QDialog { + Q_OBJECT + +public: + explicit UserSurvey(QWidget *parent = 0); + ~UserSurvey(); + +private +slots: + void on_buttonBox_accepted(); + void on_buttonBox_rejected(); + +private: + Ui::UserSurvey *ui; +}; +#endif // USERSURVEY_H |