ui_pqRecordEventsDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqRecordEventsDialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQRECORDEVENTSDIALOG_H
10 #define UI_PQRECORDEVENTSDIALOG_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/QFrame>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QLCDNumber>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QPushButton>
23 #include <QtWidgets/QSpacerItem>
24 #include <QtWidgets/QTabWidget>
25 #include <QtWidgets/QTextEdit>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QVBoxLayout *verticalLayout_3;
35  QTabWidget *tabWidget;
36  QWidget *lastEvent;
37  QVBoxLayout *verticalLayout;
38  QHBoxLayout *horizontalLayout;
40  QLineEdit *eventWidgetEdit;
41  QHBoxLayout *horizontalLayout_2;
43  QLineEdit *eventArgumentEdit;
44  QHBoxLayout *horizontalLayout_3;
46  QLineEdit *eventCommandEdit;
47  QWidget *addComment;
48  QHBoxLayout *horizontalLayout_5;
49  QVBoxLayout *verticalLayout_4;
50  QLabel *commentLabel;
51  QTextEdit *commentTextEdit;
52  QHBoxLayout *horizontalLayout_4;
53  QCheckBox *blockingCheckBox;
54  QSpacerItem *horizontalSpacer;
55  QPushButton *commentAddButton;
56  QFrame *line;
57  QHBoxLayout *hboxLayout;
58  QCheckBox *continuousFlush;
59  QCheckBox *dashboardMode;
61  QHBoxLayout *hboxLayout1;
62  QLCDNumber *nbEvents;
63  QLabel *nbEventsLabel;
64  QSpacerItem *spacerItem;
65  QPushButton *checkButton;
66  QPushButton *recordPauseButton;
67  QPushButton *stopButton;
68 
69  void setupUi(QDialog *pqRecordEventsDialog)
70  {
71  if (pqRecordEventsDialog->objectName().isEmpty())
72  pqRecordEventsDialog->setObjectName(QString::fromUtf8("pqRecordEventsDialog"));
73  pqRecordEventsDialog->resize(393, 256);
74  verticalLayout_3 = new QVBoxLayout(pqRecordEventsDialog);
75  verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
76  tabWidget = new QTabWidget(pqRecordEventsDialog);
77  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
78  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum);
79  sizePolicy.setHorizontalStretch(0);
80  sizePolicy.setVerticalStretch(0);
81  sizePolicy.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth());
82  tabWidget->setSizePolicy(sizePolicy);
83  tabWidget->setTabShape(QTabWidget::Rounded);
84  tabWidget->setElideMode(Qt::ElideNone);
85  tabWidget->setUsesScrollButtons(false);
86  tabWidget->setDocumentMode(true);
87  lastEvent = new QWidget();
88  lastEvent->setObjectName(QString::fromUtf8("lastEvent"));
89  verticalLayout = new QVBoxLayout(lastEvent);
90  verticalLayout->setSpacing(2);
91  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
92  verticalLayout->setContentsMargins(-1, -1, -1, 2);
93  horizontalLayout = new QHBoxLayout();
94  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
95  eventWidgetLabel = new QLabel(lastEvent);
96  eventWidgetLabel->setObjectName(QString::fromUtf8("eventWidgetLabel"));
97 
98  horizontalLayout->addWidget(eventWidgetLabel);
99 
100  eventWidgetEdit = new QLineEdit(lastEvent);
101  eventWidgetEdit->setObjectName(QString::fromUtf8("eventWidgetEdit"));
102  eventWidgetEdit->setEnabled(true);
103  eventWidgetEdit->setFrame(false);
104  eventWidgetEdit->setReadOnly(true);
105 
106  horizontalLayout->addWidget(eventWidgetEdit);
107 
108 
109  verticalLayout->addLayout(horizontalLayout);
110 
111  horizontalLayout_2 = new QHBoxLayout();
112  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
113  eventArgumentLabel = new QLabel(lastEvent);
114  eventArgumentLabel->setObjectName(QString::fromUtf8("eventArgumentLabel"));
115  eventArgumentLabel->setEnabled(true);
116  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
117  sizePolicy1.setHorizontalStretch(0);
118  sizePolicy1.setVerticalStretch(0);
119  sizePolicy1.setHeightForWidth(eventArgumentLabel->sizePolicy().hasHeightForWidth());
120  eventArgumentLabel->setSizePolicy(sizePolicy1);
121 
122  horizontalLayout_2->addWidget(eventArgumentLabel);
123 
124  eventArgumentEdit = new QLineEdit(lastEvent);
125  eventArgumentEdit->setObjectName(QString::fromUtf8("eventArgumentEdit"));
126  eventArgumentEdit->setEnabled(true);
127  eventArgumentEdit->setFrame(false);
128  eventArgumentEdit->setReadOnly(true);
129 
130  horizontalLayout_2->addWidget(eventArgumentEdit);
131 
132 
133  verticalLayout->addLayout(horizontalLayout_2);
134 
135  horizontalLayout_3 = new QHBoxLayout();
136  horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
137  eventCommandLabel = new QLabel(lastEvent);
138  eventCommandLabel->setObjectName(QString::fromUtf8("eventCommandLabel"));
139 
140  horizontalLayout_3->addWidget(eventCommandLabel);
141 
142  eventCommandEdit = new QLineEdit(lastEvent);
143  eventCommandEdit->setObjectName(QString::fromUtf8("eventCommandEdit"));
144  eventCommandEdit->setEnabled(true);
145  eventCommandEdit->setFrame(false);
146  eventCommandEdit->setReadOnly(true);
147 
148  horizontalLayout_3->addWidget(eventCommandEdit);
149 
150 
151  verticalLayout->addLayout(horizontalLayout_3);
152 
153  QIcon icon;
154  icon.addFile(QString::fromUtf8(":/Icons/info.png"), QSize(), QIcon::Normal, QIcon::Off);
155  tabWidget->addTab(lastEvent, icon, QString());
156  addComment = new QWidget();
157  addComment->setObjectName(QString::fromUtf8("addComment"));
158  horizontalLayout_5 = new QHBoxLayout(addComment);
159  horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
160  verticalLayout_4 = new QVBoxLayout();
161  verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
162  commentLabel = new QLabel(addComment);
163  commentLabel->setObjectName(QString::fromUtf8("commentLabel"));
164 
165  verticalLayout_4->addWidget(commentLabel);
166 
167  commentTextEdit = new QTextEdit(addComment);
168  commentTextEdit->setObjectName(QString::fromUtf8("commentTextEdit"));
169  sizePolicy1.setHeightForWidth(commentTextEdit->sizePolicy().hasHeightForWidth());
170  commentTextEdit->setSizePolicy(sizePolicy1);
171  commentTextEdit->setMaximumSize(QSize(16777215, 80));
172 
173  verticalLayout_4->addWidget(commentTextEdit);
174 
175  horizontalLayout_4 = new QHBoxLayout();
176  horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
177  blockingCheckBox = new QCheckBox(addComment);
178  blockingCheckBox->setObjectName(QString::fromUtf8("blockingCheckBox"));
179 
180  horizontalLayout_4->addWidget(blockingCheckBox);
181 
182  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
183 
184  horizontalLayout_4->addItem(horizontalSpacer);
185 
186  commentAddButton = new QPushButton(addComment);
187  commentAddButton->setObjectName(QString::fromUtf8("commentAddButton"));
188  sizePolicy1.setHeightForWidth(commentAddButton->sizePolicy().hasHeightForWidth());
189  commentAddButton->setSizePolicy(sizePolicy1);
190  QIcon icon1;
191  icon1.addFile(QString::fromUtf8(":/Icons/plus.png"), QSize(), QIcon::Normal, QIcon::Off);
192  commentAddButton->setIcon(icon1);
193 
194  horizontalLayout_4->addWidget(commentAddButton);
195 
196 
197  verticalLayout_4->addLayout(horizontalLayout_4);
198 
199 
200  horizontalLayout_5->addLayout(verticalLayout_4);
201 
202  tabWidget->addTab(addComment, icon1, QString());
203 
204  verticalLayout_3->addWidget(tabWidget);
205 
206  line = new QFrame(pqRecordEventsDialog);
207  line->setObjectName(QString::fromUtf8("line"));
208  line->setFrameShape(QFrame::HLine);
209  line->setFrameShadow(QFrame::Sunken);
210 
211  verticalLayout_3->addWidget(line);
212 
213  hboxLayout = new QHBoxLayout();
214 #ifndef Q_OS_MAC
215  hboxLayout->setSpacing(6);
216 #endif
217  hboxLayout->setContentsMargins(0, 0, 0, 0);
218  hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
219  hboxLayout->setSizeConstraint(QLayout::SetMinimumSize);
220  continuousFlush = new QCheckBox(pqRecordEventsDialog);
221  continuousFlush->setObjectName(QString::fromUtf8("continuousFlush"));
222 
223  hboxLayout->addWidget(continuousFlush);
224 
225  dashboardMode = new QCheckBox(pqRecordEventsDialog);
226  dashboardMode->setObjectName(QString::fromUtf8("dashboardMode"));
227  dashboardMode->setChecked(true);
228 
229  hboxLayout->addWidget(dashboardMode);
230 
231  recordInteractionTimings = new QCheckBox(pqRecordEventsDialog);
232  recordInteractionTimings->setObjectName(QString::fromUtf8("recordInteractionTimings"));
233 
234  hboxLayout->addWidget(recordInteractionTimings);
235 
236 
237  verticalLayout_3->addLayout(hboxLayout);
238 
239  hboxLayout1 = new QHBoxLayout();
240 #ifndef Q_OS_MAC
241  hboxLayout1->setSpacing(6);
242 #endif
243  hboxLayout1->setContentsMargins(0, 0, 0, 0);
244  hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
245  hboxLayout1->setSizeConstraint(QLayout::SetMinimumSize);
246  nbEvents = new QLCDNumber(pqRecordEventsDialog);
247  nbEvents->setObjectName(QString::fromUtf8("nbEvents"));
248  nbEvents->setSmallDecimalPoint(false);
249  nbEvents->setDigitCount(5);
250 
251  hboxLayout1->addWidget(nbEvents);
252 
253  nbEventsLabel = new QLabel(pqRecordEventsDialog);
254  nbEventsLabel->setObjectName(QString::fromUtf8("nbEventsLabel"));
255 
256  hboxLayout1->addWidget(nbEventsLabel);
257 
258  spacerItem = new QSpacerItem(133, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
259 
260  hboxLayout1->addItem(spacerItem);
261 
262  checkButton = new QPushButton(pqRecordEventsDialog);
263  checkButton->setObjectName(QString::fromUtf8("checkButton"));
264  QIcon icon2;
265  icon2.addFile(QString::fromUtf8(":/Icons/check.png"), QSize(), QIcon::Normal, QIcon::Off);
266  checkButton->setIcon(icon2);
267  checkButton->setCheckable(true);
268 
269  hboxLayout1->addWidget(checkButton);
270 
271  recordPauseButton = new QPushButton(pqRecordEventsDialog);
272  recordPauseButton->setObjectName(QString::fromUtf8("recordPauseButton"));
273  QIcon icon3;
274  icon3.addFile(QString::fromUtf8(":/Icons/record.png"), QSize(), QIcon::Normal, QIcon::Off);
275  icon3.addFile(QString::fromUtf8(":/Icons/pause.png"), QSize(), QIcon::Normal, QIcon::On);
276  recordPauseButton->setIcon(icon3);
277  recordPauseButton->setCheckable(true);
278 
279  hboxLayout1->addWidget(recordPauseButton);
280 
281  stopButton = new QPushButton(pqRecordEventsDialog);
282  stopButton->setObjectName(QString::fromUtf8("stopButton"));
283  sizePolicy1.setHeightForWidth(stopButton->sizePolicy().hasHeightForWidth());
284  stopButton->setSizePolicy(sizePolicy1);
285  QIcon icon4;
286  icon4.addFile(QString::fromUtf8(":/Icons/playback-stop.png"), QSize(), QIcon::Normal, QIcon::Off);
287  stopButton->setIcon(icon4);
288 
289  hboxLayout1->addWidget(stopButton);
290 
291 
292  verticalLayout_3->addLayout(hboxLayout1);
293 
294 
295  retranslateUi(pqRecordEventsDialog);
296  QObject::connect(stopButton, SIGNAL(clicked()), pqRecordEventsDialog, SLOT(accept()));
297 
298  tabWidget->setCurrentIndex(0);
299 
300 
301  QMetaObject::connectSlotsByName(pqRecordEventsDialog);
302  } // setupUi
303 
304  void retranslateUi(QDialog *pqRecordEventsDialog)
305  {
306  pqRecordEventsDialog->setWindowTitle(QCoreApplication::translate("pqRecordEventsDialog", "Dialog", nullptr));
307 #if QT_CONFIG(tooltip)
308  eventWidgetLabel->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Last widget recorded", nullptr));
309 #endif // QT_CONFIG(tooltip)
310  eventWidgetLabel->setText(QCoreApplication::translate("pqRecordEventsDialog", "Widget :", nullptr));
311 #if QT_CONFIG(tooltip)
312  eventArgumentLabel->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Last argument recorded", nullptr));
313 #endif // QT_CONFIG(tooltip)
314  eventArgumentLabel->setText(QCoreApplication::translate("pqRecordEventsDialog", "Argument :", nullptr));
315 #if QT_CONFIG(tooltip)
316  eventCommandLabel->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Last command recorded / property checked", nullptr));
317 #endif // QT_CONFIG(tooltip)
318  eventCommandLabel->setText(QCoreApplication::translate("pqRecordEventsDialog", "Command/Property :", nullptr));
319  tabWidget->setTabText(tabWidget->indexOf(lastEvent), QCoreApplication::translate("pqRecordEventsDialog", "Last event", nullptr));
320  commentLabel->setText(QCoreApplication::translate("pqRecordEventsDialog", "Add your custom comment :", nullptr));
321 #if QT_CONFIG(tooltip)
322  commentTextEdit->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Write the comment that you want to add", nullptr));
323 #endif // QT_CONFIG(tooltip)
324 #if QT_CONFIG(tooltip)
325  blockingCheckBox->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Add option block to you comment", nullptr));
326 #endif // QT_CONFIG(tooltip)
327  blockingCheckBox->setText(QCoreApplication::translate("pqRecordEventsDialog", "Blocking", nullptr));
328 #if QT_CONFIG(tooltip)
329  commentAddButton->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Add your comment", nullptr));
330 #endif // QT_CONFIG(tooltip)
331  commentAddButton->setText(QCoreApplication::translate("pqRecordEventsDialog", "Add to macro", nullptr));
332  tabWidget->setTabText(tabWidget->indexOf(addComment), QCoreApplication::translate("pqRecordEventsDialog", "Add comment", nullptr));
333  continuousFlush->setText(QCoreApplication::translate("pqRecordEventsDialog", "Continuous Flush", nullptr));
334 #if QT_CONFIG(tooltip)
335  continuousFlush->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Write events to file as soon as they are recorded", nullptr));
336 #endif // QT_CONFIG(tooltip)
337  dashboardMode->setText(QCoreApplication::translate("pqRecordEventsDialog", "Dashboard mode", nullptr));
338 #if QT_CONFIG(tooltip)
339  dashboardMode->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "When checked/unchecked, will trigger dashboard mode accordingly and record corresponding event", nullptr));
340 #endif // QT_CONFIG(tooltip)
341  recordInteractionTimings->setText(QCoreApplication::translate("pqRecordEventsDialog", "Record Interaction Timings", nullptr));
342 #if QT_CONFIG(tooltip)
343  recordInteractionTimings->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "When activated, each pause between interactions will be recorded as a pause event, with the correct timing", nullptr));
344 #endif // QT_CONFIG(tooltip)
345 #if QT_CONFIG(tooltip)
346  nbEvents->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "numbers of events recorded", nullptr));
347 #endif // QT_CONFIG(tooltip)
348  nbEventsLabel->setText(QCoreApplication::translate("pqRecordEventsDialog", "Events recorded", nullptr));
349 #if QT_CONFIG(tooltip)
350  checkButton->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Check default property of a widget instead of recording event", nullptr));
351 #endif // QT_CONFIG(tooltip)
352  checkButton->setText(QString());
353 #if QT_CONFIG(tooltip)
354  recordPauseButton->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Start/Pause record", nullptr));
355 #endif // QT_CONFIG(tooltip)
356  recordPauseButton->setText(QString());
357 #if QT_CONFIG(tooltip)
358  stopButton->setToolTip(QCoreApplication::translate("pqRecordEventsDialog", "Stop record", nullptr));
359 #endif // QT_CONFIG(tooltip)
360  stopButton->setText(QCoreApplication::translate("pqRecordEventsDialog", "Stop Recording", nullptr));
361  } // retranslateUi
362 
363 };
364 
365 namespace Ui {
367 } // namespace Ui
368 
369 QT_END_NAMESPACE
370 
371 #endif // UI_PQRECORDEVENTSDIALOG_H
void setupUi(QDialog *pqRecordEventsDialog)
void retranslateUi(QDialog *pqRecordEventsDialog)