-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdvancedOptions.h
43 lines (39 loc) · 949 Bytes
/
AdvancedOptions.h
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
/*
* File: AdvancedOptions.h
* Author: brandon
*
* Created on July 17, 2011, 6:30 PM
*/
#ifndef ADVANCEDOPTIONS_H
#define ADVANCEDOPTIONS_H
#include <QtGui/QDialog>
#include <QtGui/QSpinBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QCheckBox>
#include <QtGui/QLabel>
#include <QtGui/QFormLayout>
class AdvancedOptions : public QDialog {
public:
AdvancedOptions();
virtual ~AdvancedOptions();
void apply();
std::string serialize();
private:
QFormLayout* layout;
QLabel* radiusLabel;
QSpinBox* boardRadius;
QLabel* separationLabel;
QDoubleSpinBox* tileSeparation;
QLabel* borderLabel;
QCheckBox* waterBorder;
QLabel* islandLabel;
QCheckBox* islands;
QLabel* bridgesLabel;
QCheckBox* bridges;
QLabel* boatsLabel;
QCheckBox* boats;
QLabel* startingResourcesLabel;
QCheckBox* startingResources;
QPushButton* closeButton;
};
#endif /* ADVANCEDOPTIONS_H */