1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'PomodoroConfigDlg.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.7 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_POMODOROCONFIGDLG_H |
10 | #define UI_POMODOROCONFIGDLG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtGui/QIcon> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QCheckBox> |
16 | #include <QtWidgets/QDialog> |
17 | #include <QtWidgets/QGridLayout> |
18 | #include <QtWidgets/QHBoxLayout> |
19 | #include <QtWidgets/QLabel> |
20 | #include <QtWidgets/QPushButton> |
21 | #include <QtWidgets/QSlider> |
22 | #include <QtWidgets/QSpacerItem> |
23 | #include <QtWidgets/QSpinBox> |
24 | #include <QtWidgets/QVBoxLayout> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | class Ui_PomodoroConfigDlg |
29 | { |
30 | public: |
31 | QVBoxLayout *verticalLayout; |
32 | QHBoxLayout *horizontalLayout_5; |
33 | QLabel *label_8; |
34 | QSpacerItem *horizontalSpacer_2; |
35 | QLabel *pomodoroDurLabel; |
36 | QLabel *label_14; |
37 | QSlider *pomodoroDur; |
38 | QHBoxLayout *horizontalLayout_6; |
39 | QLabel *label_9; |
40 | QSpacerItem *horizontalSpacer_3; |
41 | QLabel *pomodoroBreakDurLabel; |
42 | QLabel *label_15; |
43 | QSlider *breakDur; |
44 | QHBoxLayout *horizontalLayout_7; |
45 | QLabel *label_10; |
46 | QSpacerItem *horizontalSpacer_4; |
47 | QLabel *pomodoroLongBreakLabel; |
48 | QLabel *label_16; |
49 | QSlider *longBreakDur; |
50 | QHBoxLayout *horizontalLayout_2; |
51 | QLabel *label_11; |
52 | QSpinBox *sbLongBreakCount; |
53 | QGridLayout *gridLayout; |
54 | QLabel *label_12; |
55 | QCheckBox *cbAlarmSound; |
56 | QLabel *label; |
57 | QCheckBox *cbStopResets; |
58 | QHBoxLayout *horizontalLayout; |
59 | QPushButton *pushButton_2; |
60 | QSpacerItem *horizontalSpacer; |
61 | QPushButton *pushButton; |
62 | |
63 | void setupUi(QDialog *PomodoroConfigDlg) |
64 | { |
65 | if (PomodoroConfigDlg->objectName().isEmpty()) |
66 | PomodoroConfigDlg->setObjectName(QString::fromUtf8("PomodoroConfigDlg" )); |
67 | PomodoroConfigDlg->resize(615, 327); |
68 | QIcon icon; |
69 | icon.addFile(QString::fromUtf8(":/icons/pomodoro" ), QSize(), QIcon::Normal, QIcon::Off); |
70 | PomodoroConfigDlg->setWindowIcon(icon); |
71 | verticalLayout = new QVBoxLayout(PomodoroConfigDlg); |
72 | verticalLayout->setSpacing(10); |
73 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
74 | verticalLayout->setContentsMargins(10, 10, 10, 10); |
75 | horizontalLayout_5 = new QHBoxLayout(); |
76 | horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5" )); |
77 | label_8 = new QLabel(PomodoroConfigDlg); |
78 | label_8->setObjectName(QString::fromUtf8("label_8" )); |
79 | |
80 | horizontalLayout_5->addWidget(label_8); |
81 | |
82 | horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
83 | |
84 | horizontalLayout_5->addItem(horizontalSpacer_2); |
85 | |
86 | pomodoroDurLabel = new QLabel(PomodoroConfigDlg); |
87 | pomodoroDurLabel->setObjectName(QString::fromUtf8("pomodoroDurLabel" )); |
88 | |
89 | horizontalLayout_5->addWidget(pomodoroDurLabel); |
90 | |
91 | label_14 = new QLabel(PomodoroConfigDlg); |
92 | label_14->setObjectName(QString::fromUtf8("label_14" )); |
93 | |
94 | horizontalLayout_5->addWidget(label_14); |
95 | |
96 | |
97 | verticalLayout->addLayout(horizontalLayout_5); |
98 | |
99 | pomodoroDur = new QSlider(PomodoroConfigDlg); |
100 | pomodoroDur->setObjectName(QString::fromUtf8("pomodoroDur" )); |
101 | pomodoroDur->setMinimum(1); |
102 | pomodoroDur->setMaximum(60); |
103 | pomodoroDur->setPageStep(5); |
104 | pomodoroDur->setValue(25); |
105 | pomodoroDur->setOrientation(Qt::Horizontal); |
106 | |
107 | verticalLayout->addWidget(pomodoroDur); |
108 | |
109 | horizontalLayout_6 = new QHBoxLayout(); |
110 | horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6" )); |
111 | label_9 = new QLabel(PomodoroConfigDlg); |
112 | label_9->setObjectName(QString::fromUtf8("label_9" )); |
113 | |
114 | horizontalLayout_6->addWidget(label_9); |
115 | |
116 | horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
117 | |
118 | horizontalLayout_6->addItem(horizontalSpacer_3); |
119 | |
120 | pomodoroBreakDurLabel = new QLabel(PomodoroConfigDlg); |
121 | pomodoroBreakDurLabel->setObjectName(QString::fromUtf8("pomodoroBreakDurLabel" )); |
122 | |
123 | horizontalLayout_6->addWidget(pomodoroBreakDurLabel); |
124 | |
125 | label_15 = new QLabel(PomodoroConfigDlg); |
126 | label_15->setObjectName(QString::fromUtf8("label_15" )); |
127 | |
128 | horizontalLayout_6->addWidget(label_15); |
129 | |
130 | |
131 | verticalLayout->addLayout(horizontalLayout_6); |
132 | |
133 | breakDur = new QSlider(PomodoroConfigDlg); |
134 | breakDur->setObjectName(QString::fromUtf8("breakDur" )); |
135 | breakDur->setMinimum(1); |
136 | breakDur->setMaximum(30); |
137 | breakDur->setValue(5); |
138 | breakDur->setOrientation(Qt::Horizontal); |
139 | |
140 | verticalLayout->addWidget(breakDur); |
141 | |
142 | horizontalLayout_7 = new QHBoxLayout(); |
143 | horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7" )); |
144 | label_10 = new QLabel(PomodoroConfigDlg); |
145 | label_10->setObjectName(QString::fromUtf8("label_10" )); |
146 | |
147 | horizontalLayout_7->addWidget(label_10); |
148 | |
149 | horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
150 | |
151 | horizontalLayout_7->addItem(horizontalSpacer_4); |
152 | |
153 | pomodoroLongBreakLabel = new QLabel(PomodoroConfigDlg); |
154 | pomodoroLongBreakLabel->setObjectName(QString::fromUtf8("pomodoroLongBreakLabel" )); |
155 | |
156 | horizontalLayout_7->addWidget(pomodoroLongBreakLabel); |
157 | |
158 | label_16 = new QLabel(PomodoroConfigDlg); |
159 | label_16->setObjectName(QString::fromUtf8("label_16" )); |
160 | |
161 | horizontalLayout_7->addWidget(label_16); |
162 | |
163 | |
164 | verticalLayout->addLayout(horizontalLayout_7); |
165 | |
166 | longBreakDur = new QSlider(PomodoroConfigDlg); |
167 | longBreakDur->setObjectName(QString::fromUtf8("longBreakDur" )); |
168 | longBreakDur->setMinimum(1); |
169 | longBreakDur->setMaximum(60); |
170 | longBreakDur->setValue(15); |
171 | longBreakDur->setOrientation(Qt::Horizontal); |
172 | |
173 | verticalLayout->addWidget(longBreakDur); |
174 | |
175 | horizontalLayout_2 = new QHBoxLayout(); |
176 | horizontalLayout_2->setSpacing(0); |
177 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
178 | label_11 = new QLabel(PomodoroConfigDlg); |
179 | label_11->setObjectName(QString::fromUtf8("label_11" )); |
180 | |
181 | horizontalLayout_2->addWidget(label_11); |
182 | |
183 | sbLongBreakCount = new QSpinBox(PomodoroConfigDlg); |
184 | sbLongBreakCount->setObjectName(QString::fromUtf8("sbLongBreakCount" )); |
185 | sbLongBreakCount->setMaximum(10); |
186 | sbLongBreakCount->setValue(4); |
187 | |
188 | horizontalLayout_2->addWidget(sbLongBreakCount); |
189 | |
190 | |
191 | verticalLayout->addLayout(horizontalLayout_2); |
192 | |
193 | gridLayout = new QGridLayout(); |
194 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
195 | gridLayout->setHorizontalSpacing(0); |
196 | gridLayout->setVerticalSpacing(10); |
197 | label_12 = new QLabel(PomodoroConfigDlg); |
198 | label_12->setObjectName(QString::fromUtf8("label_12" )); |
199 | |
200 | gridLayout->addWidget(label_12, 0, 0, 1, 1); |
201 | |
202 | cbAlarmSound = new QCheckBox(PomodoroConfigDlg); |
203 | cbAlarmSound->setObjectName(QString::fromUtf8("cbAlarmSound" )); |
204 | |
205 | gridLayout->addWidget(cbAlarmSound, 0, 1, 1, 1); |
206 | |
207 | label = new QLabel(PomodoroConfigDlg); |
208 | label->setObjectName(QString::fromUtf8("label" )); |
209 | |
210 | gridLayout->addWidget(label, 1, 0, 1, 1); |
211 | |
212 | cbStopResets = new QCheckBox(PomodoroConfigDlg); |
213 | cbStopResets->setObjectName(QString::fromUtf8("cbStopResets" )); |
214 | cbStopResets->setChecked(true); |
215 | |
216 | gridLayout->addWidget(cbStopResets, 1, 1, 1, 1); |
217 | |
218 | |
219 | verticalLayout->addLayout(gridLayout); |
220 | |
221 | horizontalLayout = new QHBoxLayout(); |
222 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
223 | pushButton_2 = new QPushButton(PomodoroConfigDlg); |
224 | pushButton_2->setObjectName(QString::fromUtf8("pushButton_2" )); |
225 | |
226 | horizontalLayout->addWidget(pushButton_2); |
227 | |
228 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
229 | |
230 | horizontalLayout->addItem(horizontalSpacer); |
231 | |
232 | pushButton = new QPushButton(PomodoroConfigDlg); |
233 | pushButton->setObjectName(QString::fromUtf8("pushButton" )); |
234 | |
235 | horizontalLayout->addWidget(pushButton); |
236 | |
237 | |
238 | verticalLayout->addLayout(horizontalLayout); |
239 | |
240 | QWidget::setTabOrder(pomodoroDur, breakDur); |
241 | QWidget::setTabOrder(breakDur, longBreakDur); |
242 | QWidget::setTabOrder(longBreakDur, sbLongBreakCount); |
243 | QWidget::setTabOrder(sbLongBreakCount, cbAlarmSound); |
244 | QWidget::setTabOrder(cbAlarmSound, cbStopResets); |
245 | |
246 | retranslateUi(PomodoroConfigDlg); |
247 | QObject::connect(pushButton_2, SIGNAL(clicked()), PomodoroConfigDlg, SLOT(reject())); |
248 | QObject::connect(pushButton, SIGNAL(clicked()), PomodoroConfigDlg, SLOT(accept())); |
249 | |
250 | QMetaObject::connectSlotsByName(PomodoroConfigDlg); |
251 | } // setupUi |
252 | |
253 | void retranslateUi(QDialog *PomodoroConfigDlg) |
254 | { |
255 | PomodoroConfigDlg->setWindowTitle(QCoreApplication::translate("PomodoroConfigDlg" , "Pomodoro configuration" , nullptr)); |
256 | label_8->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Pomodoro duration" , nullptr)); |
257 | pomodoroDurLabel->setText(QCoreApplication::translate("PomodoroConfigDlg" , "25" , nullptr)); |
258 | label_14->setText(QCoreApplication::translate("PomodoroConfigDlg" , "minutes" , nullptr)); |
259 | label_9->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Break duration" , nullptr)); |
260 | pomodoroBreakDurLabel->setText(QCoreApplication::translate("PomodoroConfigDlg" , "5" , nullptr)); |
261 | label_15->setText(QCoreApplication::translate("PomodoroConfigDlg" , "minutes" , nullptr)); |
262 | label_10->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Long break duration" , nullptr)); |
263 | pomodoroLongBreakLabel->setText(QCoreApplication::translate("PomodoroConfigDlg" , "15" , nullptr)); |
264 | label_16->setText(QCoreApplication::translate("PomodoroConfigDlg" , "minutes" , nullptr)); |
265 | label_11->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Long break after:" , nullptr)); |
266 | sbLongBreakCount->setSuffix(QCoreApplication::translate("PomodoroConfigDlg" , " pomodoros" , nullptr)); |
267 | label_12->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Enable alarm sound:" , nullptr)); |
268 | cbAlarmSound->setText(QString()); |
269 | label->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Reset counter when stop:" , nullptr)); |
270 | cbStopResets->setText(QString()); |
271 | pushButton_2->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Cancel" , nullptr)); |
272 | pushButton->setText(QCoreApplication::translate("PomodoroConfigDlg" , "Save" , nullptr)); |
273 | } // retranslateUi |
274 | |
275 | }; |
276 | |
277 | namespace Ui { |
278 | class PomodoroConfigDlg: public Ui_PomodoroConfigDlg {}; |
279 | } // namespace Ui |
280 | |
281 | QT_END_NAMESPACE |
282 | |
283 | #endif // UI_POMODOROCONFIGDLG_H |
284 | |