9 #ifndef UI_PQPAUSELIVESOURCEPROPERTYWIDGET_H 10 #define UI_PQPAUSELIVESOURCEPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QGroupBox> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QToolButton> 21 #include <QtWidgets/QWidget> 37 void setupUi(QWidget *PauseLiveSourcePropertyWidget)
39 if (PauseLiveSourcePropertyWidget->objectName().isEmpty())
40 PauseLiveSourcePropertyWidget->setObjectName(QString::fromUtf8(
"PauseLiveSourcePropertyWidget"));
41 PauseLiveSourcePropertyWidget->resize(253, 94);
42 gridLayout =
new QGridLayout(PauseLiveSourcePropertyWidget);
43 gridLayout->setSpacing(4);
44 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
45 gridLayout->setContentsMargins(0, 0, 0, 0);
46 PauseButton =
new QPushButton(PauseLiveSourcePropertyWidget);
47 PauseButton->setObjectName(QString::fromUtf8(
"PauseButton"));
48 PauseButton->setCheckable(
true);
50 gridLayout->addWidget(PauseButton, 0, 0, 1, 2);
52 EmulatedTimeControlsGroupBox =
new QGroupBox(PauseLiveSourcePropertyWidget);
53 EmulatedTimeControlsGroupBox->setObjectName(QString::fromUtf8(
"EmulatedTimeControlsGroupBox"));
54 horizontalLayout =
new QHBoxLayout(EmulatedTimeControlsGroupBox);
55 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
56 horizontalSpacer =
new QSpacerItem(77, 18, QSizePolicy::Expanding, QSizePolicy::Minimum);
58 horizontalLayout->addItem(horizontalSpacer);
60 EmulatedTimePauseButton =
new QToolButton(EmulatedTimeControlsGroupBox);
61 EmulatedTimePauseButton->setObjectName(QString::fromUtf8(
"EmulatedTimePauseButton"));
63 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqVcrPlay.svg"), QSize(), QIcon::Normal, QIcon::Off);
64 EmulatedTimePauseButton->setIcon(icon);
66 horizontalLayout->addWidget(EmulatedTimePauseButton);
68 EmulatedTimeResetButton =
new QToolButton(EmulatedTimeControlsGroupBox);
69 EmulatedTimeResetButton->setObjectName(QString::fromUtf8(
"EmulatedTimeResetButton"));
71 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqResetSession.svg"), QSize(), QIcon::Normal, QIcon::Off);
72 EmulatedTimeResetButton->setIcon(icon1);
74 horizontalLayout->addWidget(EmulatedTimeResetButton);
76 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
78 horizontalLayout->addItem(horizontalSpacer_2);
81 gridLayout->addWidget(EmulatedTimeControlsGroupBox, 1, 0, 1, 1);
86 QMetaObject::connectSlotsByName(PauseLiveSourcePropertyWidget);
91 PauseButton->setText(QCoreApplication::translate(
"PauseLiveSourcePropertyWidget",
"Pause Live Source",
nullptr));
92 EmulatedTimeControlsGroupBox->setTitle(QCoreApplication::translate(
"PauseLiveSourcePropertyWidget",
"Emulated Time Controls",
nullptr));
93 EmulatedTimePauseButton->setText(QCoreApplication::translate(
"PauseLiveSourcePropertyWidget",
"...",
nullptr));
94 #if QT_CONFIG(tooltip) 95 EmulatedTimeResetButton->setToolTip(QCoreApplication::translate(
"PauseLiveSourcePropertyWidget",
"Reset time of all emulated time sources.",
nullptr));
96 #endif // QT_CONFIG(tooltip) 97 EmulatedTimeResetButton->setText(QCoreApplication::translate(
"PauseLiveSourcePropertyWidget",
"...",
nullptr));
98 (void)PauseLiveSourcePropertyWidget;
109 #endif // UI_PQPAUSELIVESOURCEPROPERTYWIDGET_H