Field: Support for "unmarked mines number" added - "remaining mines" number evolves...
[mines3d.git] / ui / qt / ui_SettingsForm.h
blobc37091552e97b8e2e3d31233cfc675c32280daa9
1 /********************************************************************************
2 ** Form generated from reading ui file 'SettingsForm.ui'
3 **
4 ** Created: Fri Jan 15 22:22:02 2010
5 ** by: Qt User Interface Compiler version 4.5.3
6 **
7 ** WARNING! All changes made in this file will be lost when recompiling ui file!
8 ********************************************************************************/
10 #ifndef UI_SETTINGSFORM_H
11 #define UI_SETTINGSFORM_H
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QDialog>
18 #include <QtGui/QDialogButtonBox>
19 #include <QtGui/QGridLayout>
20 #include <QtGui/QGroupBox>
21 #include <QtGui/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QRadioButton>
24 #include <QtGui/QSpinBox>
26 QT_BEGIN_NAMESPACE
28 class Ui_SettingsForm
30 public:
31 QGridLayout *gridLayout;
32 QGroupBox *customGpb;
33 QGridLayout *gridLayout_2;
34 QLabel *layersLbl;
35 QSpinBox *layersSpinBox;
36 QLabel *rowsLbl;
37 QSpinBox *rowsSpinBox;
38 QLabel *columnsLbl;
39 QSpinBox *columnsSpinBox;
40 QLabel *minesLbl;
41 QSpinBox *minesSpinBox;
42 QDialogButtonBox *buttonBox;
43 QGroupBox *groupBox;
44 QGridLayout *gridLayout_3;
45 QRadioButton *rookieRadio;
46 QRadioButton *advancedRadio;
47 QRadioButton *suicideRadio;
48 QRadioButton *customRadio;
50 void setupUi(QDialog *SettingsForm)
52 if (SettingsForm->objectName().isEmpty())
53 SettingsForm->setObjectName(QString::fromUtf8("SettingsForm"));
54 SettingsForm->resize(360, 216);
55 gridLayout = new QGridLayout(SettingsForm);
56 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57 customGpb = new QGroupBox(SettingsForm);
58 customGpb->setObjectName(QString::fromUtf8("customGpb"));
59 gridLayout_2 = new QGridLayout(customGpb);
60 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
61 layersLbl = new QLabel(customGpb);
62 layersLbl->setObjectName(QString::fromUtf8("layersLbl"));
64 gridLayout_2->addWidget(layersLbl, 0, 0, 1, 1);
66 layersSpinBox = new QSpinBox(customGpb);
67 layersSpinBox->setObjectName(QString::fromUtf8("layersSpinBox"));
68 layersSpinBox->setMinimum(1);
69 layersSpinBox->setMaximum(20);
71 gridLayout_2->addWidget(layersSpinBox, 0, 1, 1, 1);
73 rowsLbl = new QLabel(customGpb);
74 rowsLbl->setObjectName(QString::fromUtf8("rowsLbl"));
76 gridLayout_2->addWidget(rowsLbl, 1, 0, 1, 1);
78 rowsSpinBox = new QSpinBox(customGpb);
79 rowsSpinBox->setObjectName(QString::fromUtf8("rowsSpinBox"));
80 rowsSpinBox->setMinimum(1);
82 gridLayout_2->addWidget(rowsSpinBox, 1, 1, 1, 1);
84 columnsLbl = new QLabel(customGpb);
85 columnsLbl->setObjectName(QString::fromUtf8("columnsLbl"));
87 gridLayout_2->addWidget(columnsLbl, 2, 0, 1, 1);
89 columnsSpinBox = new QSpinBox(customGpb);
90 columnsSpinBox->setObjectName(QString::fromUtf8("columnsSpinBox"));
91 columnsSpinBox->setMinimum(1);
93 gridLayout_2->addWidget(columnsSpinBox, 2, 1, 1, 1);
95 minesLbl = new QLabel(customGpb);
96 minesLbl->setObjectName(QString::fromUtf8("minesLbl"));
98 gridLayout_2->addWidget(minesLbl, 3, 0, 1, 1);
100 minesSpinBox = new QSpinBox(customGpb);
101 minesSpinBox->setObjectName(QString::fromUtf8("minesSpinBox"));
102 minesSpinBox->setMinimum(1);
103 minesSpinBox->setMaximum(300);
105 gridLayout_2->addWidget(minesSpinBox, 3, 1, 1, 1);
108 gridLayout->addWidget(customGpb, 0, 2, 1, 1);
110 buttonBox = new QDialogButtonBox(SettingsForm);
111 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
112 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
113 sizePolicy.setHorizontalStretch(0);
114 sizePolicy.setVerticalStretch(0);
115 sizePolicy.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth());
116 buttonBox->setSizePolicy(sizePolicy);
117 buttonBox->setOrientation(Qt::Horizontal);
118 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
120 gridLayout->addWidget(buttonBox, 1, 1, 1, 2);
122 groupBox = new QGroupBox(SettingsForm);
123 groupBox->setObjectName(QString::fromUtf8("groupBox"));
124 gridLayout_3 = new QGridLayout(groupBox);
125 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
126 rookieRadio = new QRadioButton(groupBox);
127 rookieRadio->setObjectName(QString::fromUtf8("rookieRadio"));
129 gridLayout_3->addWidget(rookieRadio, 0, 0, 1, 1);
131 advancedRadio = new QRadioButton(groupBox);
132 advancedRadio->setObjectName(QString::fromUtf8("advancedRadio"));
134 gridLayout_3->addWidget(advancedRadio, 1, 0, 1, 1);
136 suicideRadio = new QRadioButton(groupBox);
137 suicideRadio->setObjectName(QString::fromUtf8("suicideRadio"));
139 gridLayout_3->addWidget(suicideRadio, 2, 0, 1, 1);
141 customRadio = new QRadioButton(groupBox);
142 customRadio->setObjectName(QString::fromUtf8("customRadio"));
144 gridLayout_3->addWidget(customRadio, 3, 0, 1, 1);
147 gridLayout->addWidget(groupBox, 0, 1, 1, 1);
150 retranslateUi(SettingsForm);
151 QObject::connect(buttonBox, SIGNAL(accepted()), SettingsForm, SLOT(accept()));
152 QObject::connect(buttonBox, SIGNAL(rejected()), SettingsForm, SLOT(reject()));
154 QMetaObject::connectSlotsByName(SettingsForm);
155 } // setupUi
157 void retranslateUi(QDialog *SettingsForm)
159 SettingsForm->setWindowTitle(QApplication::translate("SettingsForm", "Settings", 0, QApplication::UnicodeUTF8));
160 customGpb->setTitle(QApplication::translate("SettingsForm", "Custom", 0, QApplication::UnicodeUTF8));
161 layersLbl->setText(QApplication::translate("SettingsForm", "Layers:", 0, QApplication::UnicodeUTF8));
162 rowsLbl->setText(QApplication::translate("SettingsForm", "Rows:", 0, QApplication::UnicodeUTF8));
163 columnsLbl->setText(QApplication::translate("SettingsForm", "Columns:", 0, QApplication::UnicodeUTF8));
164 minesLbl->setText(QApplication::translate("SettingsForm", "Mines:", 0, QApplication::UnicodeUTF8));
165 groupBox->setTitle(QApplication::translate("SettingsForm", "Difficultness", 0, QApplication::UnicodeUTF8));
166 rookieRadio->setText(QApplication::translate("SettingsForm", "Rookie", 0, QApplication::UnicodeUTF8));
167 advancedRadio->setText(QApplication::translate("SettingsForm", "Advanced", 0, QApplication::UnicodeUTF8));
168 suicideRadio->setText(QApplication::translate("SettingsForm", "Suicide", 0, QApplication::UnicodeUTF8));
169 customRadio->setText(QApplication::translate("SettingsForm", "Custom", 0, QApplication::UnicodeUTF8));
170 Q_UNUSED(SettingsForm);
171 } // retranslateUi
175 namespace Ui {
176 class SettingsForm: public Ui_SettingsForm {};
177 } // namespace Ui
179 QT_END_NAMESPACE
181 #endif // UI_SETTINGSFORM_H