12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QDoubleSpinBox>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QGroupBox>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QSpinBox>
26 #include <QtWidgets/QTextBrowser>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
35 QVBoxLayout *verticalLayout_2;
36 QGridLayout *m_qGridLayout_main;
37 QGroupBox *m_qGroupBox_Channels;
38 QGridLayout *m_qGridLayout_Channels;
39 QCheckBox *m_qCheckBox_Channel_Visible_1;
40 QComboBox *m_qComboBox_Channel_1;
41 QLabel *m_qLabel_Channel_2;
42 QCheckBox *m_qCheckBox_Channel_Enable_2;
43 QCheckBox *m_qCheckBox_Channel_Visible_2;
44 QComboBox *m_qComboBox_Channel_2;
45 QLabel *m_qLabel_Channel_3;
46 QCheckBox *m_qCheckBox_Channel_Enable_3;
47 QComboBox *m_qComboBox_Channel_3;
48 QCheckBox *m_qCheckBox_Channel_Enable_1;
49 QCheckBox *m_qCheckBox_Channel_Visible_3;
50 QLabel *m_qLabel_Channel_1;
51 QSpacerItem *m_qVerticalSpacer_LeftRow;
52 QGroupBox *m_qGroupBox_Properties;
53 QGridLayout *m_qGridLayout_Properties;
54 QLabel *m_qLabel_SamplingRate;
55 QDoubleSpinBox *m_qDoubleSpinBox_SamplingRate;
56 QLabel *m_qLabel_Downsampling;
57 QSpinBox *m_qSpinBox_Downsampling;
58 QLabel *m_qLabelECGSimulatorImage;
59 QSpacerItem *m_qHorizontalSpacer_About;
60 QPushButton *m_qPushButton_About;
61 QGroupBox *m_qGroupBox_Information;
62 QGridLayout *m_qGridLayout_Information;
63 QTextBrowser *m_qTextBrowser_Information;
64 QSpacerItem *m_qHorizontalSpacerTitle;
65 QSpacerItem *m_qVerticalSpacer_Headline;
67 void setupUi(QWidget *ECGSetupClass)
69 if (ECGSetupClass->objectName().isEmpty())
70 ECGSetupClass->setObjectName(QStringLiteral(
"ECGSetupClass"));
71 ECGSetupClass->resize(1017, 649);
72 verticalLayout_2 =
new QVBoxLayout(ECGSetupClass);
73 verticalLayout_2->setSpacing(6);
74 verticalLayout_2->setContentsMargins(11, 11, 11, 11);
75 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
76 m_qGridLayout_main =
new QGridLayout();
77 m_qGridLayout_main->setSpacing(6);
78 m_qGridLayout_main->setObjectName(QStringLiteral(
"m_qGridLayout_main"));
79 m_qGroupBox_Channels =
new QGroupBox(ECGSetupClass);
80 m_qGroupBox_Channels->setObjectName(QStringLiteral(
"m_qGroupBox_Channels"));
81 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
82 sizePolicy.setHorizontalStretch(0);
83 sizePolicy.setVerticalStretch(0);
84 sizePolicy.setHeightForWidth(m_qGroupBox_Channels->sizePolicy().hasHeightForWidth());
85 m_qGroupBox_Channels->setSizePolicy(sizePolicy);
86 m_qGroupBox_Channels->setMinimumSize(QSize(0, 200));
87 m_qGridLayout_Channels =
new QGridLayout(m_qGroupBox_Channels);
88 m_qGridLayout_Channels->setSpacing(6);
89 m_qGridLayout_Channels->setContentsMargins(11, 11, 11, 11);
90 m_qGridLayout_Channels->setObjectName(QStringLiteral(
"m_qGridLayout_Channels"));
91 m_qCheckBox_Channel_Visible_1 =
new QCheckBox(m_qGroupBox_Channels);
92 m_qCheckBox_Channel_Visible_1->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Visible_1"));
93 m_qCheckBox_Channel_Visible_1->setChecked(
true);
95 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Visible_1, 0, 3, 1, 1);
97 m_qComboBox_Channel_1 =
new QComboBox(m_qGroupBox_Channels);
98 m_qComboBox_Channel_1->setObjectName(QStringLiteral(
"m_qComboBox_Channel_1"));
100 m_qGridLayout_Channels->addWidget(m_qComboBox_Channel_1, 1, 2, 1, 2);
102 m_qLabel_Channel_2 =
new QLabel(m_qGroupBox_Channels);
103 m_qLabel_Channel_2->setObjectName(QStringLiteral(
"m_qLabel_Channel_2"));
105 font.setPointSize(10);
106 font.setUnderline(
true);
107 m_qLabel_Channel_2->setFont(font);
108 m_qLabel_Channel_2->setAlignment(Qt::AlignCenter);
110 m_qGridLayout_Channels->addWidget(m_qLabel_Channel_2, 2, 0, 1, 2);
112 m_qCheckBox_Channel_Enable_2 =
new QCheckBox(m_qGroupBox_Channels);
113 m_qCheckBox_Channel_Enable_2->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Enable_2"));
114 m_qCheckBox_Channel_Enable_2->setChecked(
true);
116 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Enable_2, 2, 2, 1, 1);
118 m_qCheckBox_Channel_Visible_2 =
new QCheckBox(m_qGroupBox_Channels);
119 m_qCheckBox_Channel_Visible_2->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Visible_2"));
120 m_qCheckBox_Channel_Visible_2->setChecked(
true);
122 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Visible_2, 2, 3, 1, 2);
124 m_qComboBox_Channel_2 =
new QComboBox(m_qGroupBox_Channels);
125 m_qComboBox_Channel_2->setObjectName(QStringLiteral(
"m_qComboBox_Channel_2"));
127 m_qGridLayout_Channels->addWidget(m_qComboBox_Channel_2, 3, 2, 1, 2);
129 m_qLabel_Channel_3 =
new QLabel(m_qGroupBox_Channels);
130 m_qLabel_Channel_3->setObjectName(QStringLiteral(
"m_qLabel_Channel_3"));
131 m_qLabel_Channel_3->setFont(font);
132 m_qLabel_Channel_3->setAlignment(Qt::AlignCenter);
134 m_qGridLayout_Channels->addWidget(m_qLabel_Channel_3, 4, 0, 1, 2);
136 m_qCheckBox_Channel_Enable_3 =
new QCheckBox(m_qGroupBox_Channels);
137 m_qCheckBox_Channel_Enable_3->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Enable_3"));
138 m_qCheckBox_Channel_Enable_3->setChecked(
true);
140 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Enable_3, 4, 2, 1, 1);
142 m_qComboBox_Channel_3 =
new QComboBox(m_qGroupBox_Channels);
143 m_qComboBox_Channel_3->setObjectName(QStringLiteral(
"m_qComboBox_Channel_3"));
145 m_qGridLayout_Channels->addWidget(m_qComboBox_Channel_3, 5, 2, 1, 2);
147 m_qCheckBox_Channel_Enable_1 =
new QCheckBox(m_qGroupBox_Channels);
148 m_qCheckBox_Channel_Enable_1->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Enable_1"));
149 m_qCheckBox_Channel_Enable_1->setLayoutDirection(Qt::LeftToRight);
150 m_qCheckBox_Channel_Enable_1->setChecked(
true);
152 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Enable_1, 0, 2, 1, 1);
154 m_qCheckBox_Channel_Visible_3 =
new QCheckBox(m_qGroupBox_Channels);
155 m_qCheckBox_Channel_Visible_3->setObjectName(QStringLiteral(
"m_qCheckBox_Channel_Visible_3"));
156 m_qCheckBox_Channel_Visible_3->setChecked(
true);
158 m_qGridLayout_Channels->addWidget(m_qCheckBox_Channel_Visible_3, 4, 3, 1, 1);
160 m_qLabel_Channel_1 =
new QLabel(m_qGroupBox_Channels);
161 m_qLabel_Channel_1->setObjectName(QStringLiteral(
"m_qLabel_Channel_1"));
162 m_qLabel_Channel_1->setEnabled(
true);
163 m_qLabel_Channel_1->setFont(font);
164 m_qLabel_Channel_1->setAlignment(Qt::AlignCenter);
166 m_qGridLayout_Channels->addWidget(m_qLabel_Channel_1, 0, 0, 1, 2);
169 m_qGridLayout_main->addWidget(m_qGroupBox_Channels, 2, 0, 1, 1);
171 m_qVerticalSpacer_LeftRow =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
173 m_qGridLayout_main->addItem(m_qVerticalSpacer_LeftRow, 3, 0, 1, 1);
175 m_qGroupBox_Properties =
new QGroupBox(ECGSetupClass);
176 m_qGroupBox_Properties->setObjectName(QStringLiteral(
"m_qGroupBox_Properties"));
177 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
178 sizePolicy1.setHorizontalStretch(0);
179 sizePolicy1.setVerticalStretch(0);
180 sizePolicy1.setHeightForWidth(m_qGroupBox_Properties->sizePolicy().hasHeightForWidth());
181 m_qGroupBox_Properties->setSizePolicy(sizePolicy1);
182 m_qGroupBox_Properties->setMinimumSize(QSize(0, 100));
183 m_qGroupBox_Properties->setFlat(
false);
184 m_qGridLayout_Properties =
new QGridLayout(m_qGroupBox_Properties);
185 m_qGridLayout_Properties->setSpacing(6);
186 m_qGridLayout_Properties->setContentsMargins(11, 11, 11, 11);
187 m_qGridLayout_Properties->setObjectName(QStringLiteral(
"m_qGridLayout_Properties"));
188 m_qLabel_SamplingRate =
new QLabel(m_qGroupBox_Properties);
189 m_qLabel_SamplingRate->setObjectName(QStringLiteral(
"m_qLabel_SamplingRate"));
190 m_qLabel_SamplingRate->setLayoutDirection(Qt::LeftToRight);
192 m_qGridLayout_Properties->addWidget(m_qLabel_SamplingRate, 0, 0, 1, 1);
194 m_qDoubleSpinBox_SamplingRate =
new QDoubleSpinBox(m_qGroupBox_Properties);
195 m_qDoubleSpinBox_SamplingRate->setObjectName(QStringLiteral(
"m_qDoubleSpinBox_SamplingRate"));
196 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
197 sizePolicy2.setHorizontalStretch(0);
198 sizePolicy2.setVerticalStretch(0);
199 sizePolicy2.setHeightForWidth(m_qDoubleSpinBox_SamplingRate->sizePolicy().hasHeightForWidth());
200 m_qDoubleSpinBox_SamplingRate->setSizePolicy(sizePolicy2);
201 m_qDoubleSpinBox_SamplingRate->setMinimumSize(QSize(100, 0));
202 m_qDoubleSpinBox_SamplingRate->setMinimum(1);
203 m_qDoubleSpinBox_SamplingRate->setMaximum(2048);
204 m_qDoubleSpinBox_SamplingRate->setValue(256);
206 m_qGridLayout_Properties->addWidget(m_qDoubleSpinBox_SamplingRate, 0, 1, 1, 1);
208 m_qLabel_Downsampling =
new QLabel(m_qGroupBox_Properties);
209 m_qLabel_Downsampling->setObjectName(QStringLiteral(
"m_qLabel_Downsampling"));
211 m_qGridLayout_Properties->addWidget(m_qLabel_Downsampling, 1, 0, 1, 1);
213 m_qSpinBox_Downsampling =
new QSpinBox(m_qGroupBox_Properties);
214 m_qSpinBox_Downsampling->setObjectName(QStringLiteral(
"m_qSpinBox_Downsampling"));
215 sizePolicy2.setHeightForWidth(m_qSpinBox_Downsampling->sizePolicy().hasHeightForWidth());
216 m_qSpinBox_Downsampling->setSizePolicy(sizePolicy2);
217 m_qSpinBox_Downsampling->setMinimum(1);
218 m_qSpinBox_Downsampling->setMaximum(10);
220 m_qGridLayout_Properties->addWidget(m_qSpinBox_Downsampling, 1, 1, 1, 1);
223 m_qGridLayout_main->addWidget(m_qGroupBox_Properties, 1, 0, 1, 1);
225 m_qLabelECGSimulatorImage =
new QLabel(ECGSetupClass);
226 m_qLabelECGSimulatorImage->setObjectName(QStringLiteral(
"m_qLabelECGSimulatorImage"));
227 m_qLabelECGSimulatorImage->setPixmap(QPixmap(QString::fromUtf8(
":/images/ecgsimulator.png")));
229 m_qGridLayout_main->addWidget(m_qLabelECGSimulatorImage, 0, 2, 1, 2);
231 m_qHorizontalSpacer_About =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
233 m_qGridLayout_main->addItem(m_qHorizontalSpacer_About, 4, 1, 1, 2);
235 m_qPushButton_About =
new QPushButton(ECGSetupClass);
236 m_qPushButton_About->setObjectName(QStringLiteral(
"m_qPushButton_About"));
238 m_qGridLayout_main->addWidget(m_qPushButton_About, 4, 3, 1, 1);
240 m_qGroupBox_Information =
new QGroupBox(ECGSetupClass);
241 m_qGroupBox_Information->setObjectName(QStringLiteral(
"m_qGroupBox_Information"));
242 m_qGridLayout_Information =
new QGridLayout(m_qGroupBox_Information);
243 m_qGridLayout_Information->setSpacing(6);
244 m_qGridLayout_Information->setContentsMargins(11, 11, 11, 11);
245 m_qGridLayout_Information->setObjectName(QStringLiteral(
"m_qGridLayout_Information"));
246 m_qTextBrowser_Information =
new QTextBrowser(m_qGroupBox_Information);
247 m_qTextBrowser_Information->setObjectName(QStringLiteral(
"m_qTextBrowser_Information"));
249 m_qGridLayout_Information->addWidget(m_qTextBrowser_Information, 0, 0, 1, 2);
252 m_qGridLayout_main->addWidget(m_qGroupBox_Information, 1, 1, 3, 3);
254 m_qHorizontalSpacerTitle =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
256 m_qGridLayout_main->addItem(m_qHorizontalSpacerTitle, 0, 1, 1, 1);
259 verticalLayout_2->addLayout(m_qGridLayout_main);
261 m_qVerticalSpacer_Headline =
new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
263 verticalLayout_2->addItem(m_qVerticalSpacer_Headline);
266 retranslateUi(ECGSetupClass);
268 QMetaObject::connectSlotsByName(ECGSetupClass);
271 void retranslateUi(QWidget *ECGSetupClass)
273 ECGSetupClass->setWindowTitle(QApplication::translate(
"ECGSetupClass",
"ECGSetup", 0));
274 m_qGroupBox_Channels->setTitle(QApplication::translate(
"ECGSetupClass",
"Channels", 0));
275 m_qCheckBox_Channel_Visible_1->setText(QApplication::translate(
"ECGSetupClass",
"Visible", 0));
276 m_qLabel_Channel_2->setText(QApplication::translate(
"ECGSetupClass",
"ECG II", 0));
277 m_qCheckBox_Channel_Enable_2->setText(QApplication::translate(
"ECGSetupClass",
"Enable", 0));
278 m_qCheckBox_Channel_Visible_2->setText(QApplication::translate(
"ECGSetupClass",
"Visible", 0));
279 m_qLabel_Channel_3->setText(QApplication::translate(
"ECGSetupClass",
"ECG III", 0));
280 m_qCheckBox_Channel_Enable_3->setText(QApplication::translate(
"ECGSetupClass",
"Enable", 0));
281 m_qCheckBox_Channel_Enable_1->setText(QApplication::translate(
"ECGSetupClass",
"Enable", 0));
282 m_qCheckBox_Channel_Visible_3->setText(QApplication::translate(
"ECGSetupClass",
"Visible", 0));
283 m_qLabel_Channel_1->setText(QApplication::translate(
"ECGSetupClass",
"ECG I", 0));
284 m_qGroupBox_Properties->setTitle(QApplication::translate(
"ECGSetupClass",
"Properties", 0));
285 m_qLabel_SamplingRate->setText(QApplication::translate(
"ECGSetupClass",
"Sampling Rate:", 0));
286 m_qDoubleSpinBox_SamplingRate->setSuffix(QApplication::translate(
"ECGSetupClass",
"sps", 0));
287 m_qLabel_Downsampling->setText(QApplication::translate(
"ECGSetupClass",
"Downsampling: ", 0));
288 m_qSpinBox_Downsampling->setSuffix(QApplication::translate(
"ECGSetupClass",
"x", 0));
289 m_qLabelECGSimulatorImage->setText(QString());
290 m_qPushButton_About->setText(QApplication::translate(
"ECGSetupClass",
"About", 0));
291 m_qGroupBox_Information->setTitle(QApplication::translate(
"ECGSetupClass",
"Information", 0));
302 #endif // UI_ECGSETUP_H