1/********************************************************************************
2** Form generated from reading UI file 'wateringconfigdialog.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.9
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_WATERINGCONFIGDIALOG_H
10#define UI_WATERINGCONFIGDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QDialog>
17#include <QtWidgets/QDialogButtonBox>
18#include <QtWidgets/QFrame>
19#include <QtWidgets/QGridLayout>
20#include <QtWidgets/QLabel>
21#include <QtWidgets/QSpacerItem>
22#include <QtWidgets/QSpinBox>
23#include <QtWidgets/QTimeEdit>
24#include <QtWidgets/QVBoxLayout>
25#include "helpbrowser.h"
26
27QT_BEGIN_NAMESPACE
28
29class Ui_WateringConfigDialog
30{
31public:
32 QVBoxLayout *vboxLayout;
33 QGridLayout *gridLayout;
34 QLabel *label_3;
35 QComboBox *plantComboBox;
36 QSpacerItem *spacerItem;
37 QLabel *label_2;
38 QCheckBox *temperatureCheckBox;
39 QSpacerItem *spacerItem1;
40 QSpinBox *temperatureSpinBox;
41 QSpacerItem *spacerItem2;
42 QCheckBox *rainCheckBox;
43 QSpacerItem *spacerItem3;
44 QSpinBox *rainSpinBox;
45 QSpacerItem *spacerItem4;
46 QSpacerItem *spacerItem5;
47 QLabel *label;
48 QTimeEdit *startTimeEdit;
49 QLabel *label_4;
50 QSpinBox *amountSpinBox;
51 QLabel *label_5;
52 QComboBox *sourceComboBox;
53 QLabel *label_6;
54 QCheckBox *filterCheckBox;
55 QSpacerItem *spacerItem6;
56 QSpacerItem *spacerItem7;
57 QGridLayout *gridLayout1;
58 QSpacerItem *spacerItem8;
59 HelpBrowser *helpBrowser;
60 QLabel *helpLabel;
61 QFrame *line;
62 QDialogButtonBox *buttonBox;
63
64 void setupUi(QDialog *WateringConfigDialog)
65 {
66 if (WateringConfigDialog->objectName().isEmpty())
67 WateringConfigDialog->setObjectName(QString::fromUtf8(str: "WateringConfigDialog"));
68 WateringConfigDialog->resize(w: 334, h: 550);
69 vboxLayout = new QVBoxLayout(WateringConfigDialog);
70 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
71 gridLayout = new QGridLayout();
72 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
73 label_3 = new QLabel(WateringConfigDialog);
74 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
75
76 gridLayout->addWidget(label_3, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
77
78 plantComboBox = new QComboBox(WateringConfigDialog);
79 plantComboBox->addItem(atext: QString());
80 plantComboBox->addItem(atext: QString());
81 plantComboBox->addItem(atext: QString());
82 plantComboBox->addItem(atext: QString());
83 plantComboBox->addItem(atext: QString());
84 plantComboBox->addItem(atext: QString());
85 plantComboBox->setObjectName(QString::fromUtf8(str: "plantComboBox"));
86 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
87 sizePolicy.setHorizontalStretch(0);
88 sizePolicy.setVerticalStretch(0);
89 sizePolicy.setHeightForWidth(plantComboBox->sizePolicy().hasHeightForWidth());
90 plantComboBox->setSizePolicy(sizePolicy);
91
92 gridLayout->addWidget(plantComboBox, row: 0, column: 1, rowSpan: 1, columnSpan: 3);
93
94 spacerItem = new QSpacerItem(67, 16, QSizePolicy::Minimum, QSizePolicy::Fixed);
95
96 gridLayout->addItem(item: spacerItem, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
97
98 label_2 = new QLabel(WateringConfigDialog);
99 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
100
101 gridLayout->addWidget(label_2, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
102
103 temperatureCheckBox = new QCheckBox(WateringConfigDialog);
104 temperatureCheckBox->setObjectName(QString::fromUtf8(str: "temperatureCheckBox"));
105
106 gridLayout->addWidget(temperatureCheckBox, row: 3, column: 1, rowSpan: 1, columnSpan: 3);
107
108 spacerItem1 = new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
109
110 gridLayout->addItem(item: spacerItem1, row: 4, column: 1, rowSpan: 1, columnSpan: 1);
111
112 temperatureSpinBox = new QSpinBox(WateringConfigDialog);
113 temperatureSpinBox->setObjectName(QString::fromUtf8(str: "temperatureSpinBox"));
114 temperatureSpinBox->setEnabled(false);
115 temperatureSpinBox->setMinimum(10);
116 temperatureSpinBox->setMaximum(60);
117 temperatureSpinBox->setValue(20);
118
119 gridLayout->addWidget(temperatureSpinBox, row: 4, column: 2, rowSpan: 1, columnSpan: 1);
120
121 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
122
123 gridLayout->addItem(item: spacerItem2, row: 4, column: 3, rowSpan: 1, columnSpan: 1);
124
125 rainCheckBox = new QCheckBox(WateringConfigDialog);
126 rainCheckBox->setObjectName(QString::fromUtf8(str: "rainCheckBox"));
127
128 gridLayout->addWidget(rainCheckBox, row: 5, column: 1, rowSpan: 1, columnSpan: 3);
129
130 spacerItem3 = new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
131
132 gridLayout->addItem(item: spacerItem3, row: 6, column: 1, rowSpan: 1, columnSpan: 1);
133
134 rainSpinBox = new QSpinBox(WateringConfigDialog);
135 rainSpinBox->setObjectName(QString::fromUtf8(str: "rainSpinBox"));
136 rainSpinBox->setEnabled(false);
137 rainSpinBox->setMinimum(1);
138
139 gridLayout->addWidget(rainSpinBox, row: 6, column: 2, rowSpan: 1, columnSpan: 1);
140
141 spacerItem4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
142
143 gridLayout->addItem(item: spacerItem4, row: 6, column: 3, rowSpan: 1, columnSpan: 1);
144
145 spacerItem5 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
146
147 gridLayout->addItem(item: spacerItem5, row: 7, column: 2, rowSpan: 1, columnSpan: 1);
148
149 label = new QLabel(WateringConfigDialog);
150 label->setObjectName(QString::fromUtf8(str: "label"));
151
152 gridLayout->addWidget(label, row: 8, column: 0, rowSpan: 1, columnSpan: 1);
153
154 startTimeEdit = new QTimeEdit(WateringConfigDialog);
155 startTimeEdit->setObjectName(QString::fromUtf8(str: "startTimeEdit"));
156
157 gridLayout->addWidget(startTimeEdit, row: 8, column: 1, rowSpan: 1, columnSpan: 3);
158
159 label_4 = new QLabel(WateringConfigDialog);
160 label_4->setObjectName(QString::fromUtf8(str: "label_4"));
161
162 gridLayout->addWidget(label_4, row: 9, column: 0, rowSpan: 1, columnSpan: 1);
163
164 amountSpinBox = new QSpinBox(WateringConfigDialog);
165 amountSpinBox->setObjectName(QString::fromUtf8(str: "amountSpinBox"));
166 amountSpinBox->setMinimum(100);
167 amountSpinBox->setMaximum(10000);
168 amountSpinBox->setSingleStep(100);
169 amountSpinBox->setValue(1000);
170
171 gridLayout->addWidget(amountSpinBox, row: 9, column: 1, rowSpan: 1, columnSpan: 3);
172
173 label_5 = new QLabel(WateringConfigDialog);
174 label_5->setObjectName(QString::fromUtf8(str: "label_5"));
175
176 gridLayout->addWidget(label_5, row: 10, column: 0, rowSpan: 1, columnSpan: 1);
177
178 sourceComboBox = new QComboBox(WateringConfigDialog);
179 sourceComboBox->addItem(atext: QString());
180 sourceComboBox->addItem(atext: QString());
181 sourceComboBox->addItem(atext: QString());
182 sourceComboBox->addItem(atext: QString());
183 sourceComboBox->setObjectName(QString::fromUtf8(str: "sourceComboBox"));
184
185 gridLayout->addWidget(sourceComboBox, row: 10, column: 1, rowSpan: 1, columnSpan: 3);
186
187 label_6 = new QLabel(WateringConfigDialog);
188 label_6->setObjectName(QString::fromUtf8(str: "label_6"));
189
190 gridLayout->addWidget(label_6, row: 11, column: 0, rowSpan: 1, columnSpan: 1);
191
192 filterCheckBox = new QCheckBox(WateringConfigDialog);
193 filterCheckBox->setObjectName(QString::fromUtf8(str: "filterCheckBox"));
194
195 gridLayout->addWidget(filterCheckBox, row: 11, column: 1, rowSpan: 1, columnSpan: 2);
196
197 spacerItem6 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
198
199 gridLayout->addItem(item: spacerItem6, row: 12, column: 0, rowSpan: 1, columnSpan: 1);
200
201 spacerItem7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
202
203 gridLayout->addItem(item: spacerItem7, row: 4, column: 4, rowSpan: 1, columnSpan: 1);
204
205
206 vboxLayout->addLayout(layout: gridLayout);
207
208 gridLayout1 = new QGridLayout();
209 gridLayout1->setObjectName(QString::fromUtf8(str: "gridLayout1"));
210 spacerItem8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
211
212 gridLayout1->addItem(item: spacerItem8, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
213
214 helpBrowser = new HelpBrowser(WateringConfigDialog);
215 helpBrowser->setObjectName(QString::fromUtf8(str: "helpBrowser"));
216
217 gridLayout1->addWidget(helpBrowser, row: 1, column: 0, rowSpan: 1, columnSpan: 2);
218
219 helpLabel = new QLabel(WateringConfigDialog);
220 helpLabel->setObjectName(QString::fromUtf8(str: "helpLabel"));
221
222 gridLayout1->addWidget(helpLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
223
224
225 vboxLayout->addLayout(layout: gridLayout1);
226
227 line = new QFrame(WateringConfigDialog);
228 line->setObjectName(QString::fromUtf8(str: "line"));
229 line->setFrameShape(QFrame::HLine);
230 line->setFrameShadow(QFrame::Sunken);
231
232 vboxLayout->addWidget(line);
233
234 buttonBox = new QDialogButtonBox(WateringConfigDialog);
235 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
236 buttonBox->setOrientation(Qt::Horizontal);
237 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
238
239 vboxLayout->addWidget(buttonBox);
240
241
242 retranslateUi(WateringConfigDialog);
243 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: WateringConfigDialog, SLOT(accept()));
244 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: WateringConfigDialog, SLOT(reject()));
245 QObject::connect(sender: temperatureCheckBox, SIGNAL(toggled(bool)), receiver: temperatureSpinBox, SLOT(setEnabled(bool)));
246 QObject::connect(sender: rainCheckBox, SIGNAL(toggled(bool)), receiver: rainSpinBox, SLOT(setEnabled(bool)));
247
248 QMetaObject::connectSlotsByName(o: WateringConfigDialog);
249 } // setupUi
250
251 void retranslateUi(QDialog *WateringConfigDialog)
252 {
253 WateringConfigDialog->setWindowTitle(QCoreApplication::translate(context: "WateringConfigDialog", key: "Watering Configuration", disambiguation: nullptr));
254 label_3->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Plant:", disambiguation: nullptr));
255 plantComboBox->setItemText(index: 0, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Squash", disambiguation: nullptr));
256 plantComboBox->setItemText(index: 1, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Bean", disambiguation: nullptr));
257 plantComboBox->setItemText(index: 2, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Carrot", disambiguation: nullptr));
258 plantComboBox->setItemText(index: 3, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Strawberry", disambiguation: nullptr));
259 plantComboBox->setItemText(index: 4, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Raspberry", disambiguation: nullptr));
260 plantComboBox->setItemText(index: 5, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Blueberry", disambiguation: nullptr));
261
262 label_2->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Water when:", disambiguation: nullptr));
263 temperatureCheckBox->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Temperature is higher than:", disambiguation: nullptr));
264 temperatureSpinBox->setSpecialValueText(QString());
265 temperatureSpinBox->setSuffix(QCoreApplication::translate(context: "WateringConfigDialog", key: "C", disambiguation: nullptr));
266 rainCheckBox->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Rain less than:", disambiguation: nullptr));
267 rainSpinBox->setSpecialValueText(QString());
268 rainSpinBox->setSuffix(QCoreApplication::translate(context: "WateringConfigDialog", key: "mm", disambiguation: nullptr));
269 label->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Starting Time:", disambiguation: nullptr));
270 label_4->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Amount:", disambiguation: nullptr));
271 amountSpinBox->setSuffix(QCoreApplication::translate(context: "WateringConfigDialog", key: "l", disambiguation: nullptr));
272 label_5->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Source:", disambiguation: nullptr));
273 sourceComboBox->setItemText(index: 0, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Fountain", disambiguation: nullptr));
274 sourceComboBox->setItemText(index: 1, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "River", disambiguation: nullptr));
275 sourceComboBox->setItemText(index: 2, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Lake", disambiguation: nullptr));
276 sourceComboBox->setItemText(index: 3, text: QCoreApplication::translate(context: "WateringConfigDialog", key: "Public Water System", disambiguation: nullptr));
277
278 label_6->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "Filter:", disambiguation: nullptr));
279 filterCheckBox->setText(QString());
280 helpLabel->setText(QCoreApplication::translate(context: "WateringConfigDialog", key: "<a href=\"test\">Show Details</a>", disambiguation: nullptr));
281 } // retranslateUi
282
283};
284
285namespace Ui {
286 class WateringConfigDialog: public Ui_WateringConfigDialog {};
287} // namespace Ui
288
289QT_END_NAMESPACE
290
291#endif // UI_WATERINGCONFIGDIALOG_H
292

source code of qttools/examples/help/contextsensitivehelp/.uic/ui_wateringconfigdialog.h