-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsurvey.h
More file actions
42 lines (36 loc) · 746 Bytes
/
survey.h
File metadata and controls
42 lines (36 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef DOX_SURVEY_H
#define DOX_SURVEY_H
#include <QWidget>
#include <QString>
#include <QMap>
#include "survey_data.h"
class QLabel;
class QPushButton;
class QTextEdit;
class QProgressBar;
class QNetworkAccessManager;
class SurveyData;
class Survey : public QWidget {
Q_OBJECT
public:
Survey(QWidget *parent=0);
QString loadFile(const QString& filename);
public slots:
void load();
void save();
protected slots:
void run();
void surveyOne();
private:
QString richText() const;
QLabel *overview;
QLabel *stats;
QTextEdit *report;
QPushButton *go;
QProgressBar *progress;
SurveyData data;
QList<SurveyResult> queue;
int queuePoint;
QNetworkAccessManager *manager;
};
#endif