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>
This commit is contained in:
Dirk Hohndel 2014-06-13 10:56:46 -07:00
parent 64236388e4
commit cdd3b3d9cd
6 changed files with 320 additions and 5 deletions

View file

@ -79,6 +79,7 @@ public:
bool filesFromCommandLine() const;
void setPlanNotes(const char *notes);
void printPlan();
void checkSurvey(QSettings *s);
private
slots:
/* file menu action */
@ -184,6 +185,7 @@ private:
bool plannerStateClean();
void createFakeDiveForAddAndPlan();
int fakeDiveId;
QDialog *survey;
};
#endif // MAINWINDOW_H