CuteLogger
Fast and simple logging solution for Qt based applications
ui_systemsyncdialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'systemsyncdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.14.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_SYSTEMSYNCDIALOG_H
10 #define UI_SYSTEMSYNCDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QDialogButtonBox>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QSlider>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QSpinBox>
23 #include <QtWidgets/QVBoxLayout>
24 
25 QT_BEGIN_NAMESPACE
26 
27 class Ui_SystemSyncDialog
28 {
29 public:
30  QVBoxLayout *verticalLayout;
31  QLabel *label;
32  QGridLayout *gridLayout;
33  QSlider *syncSlider;
34  QPushButton *undoButton;
35  QLabel *syncLabel;
36  QPushButton *applyButton;
37  QSpinBox *syncSpinBox;
38  QSpacerItem *verticalSpacer;
39  QDialogButtonBox *buttonBox;
40 
41  void setupUi(QDialog *SystemSyncDialog)
42  {
43  if (SystemSyncDialog->objectName().isEmpty())
44  SystemSyncDialog->setObjectName(QString::fromUtf8("SystemSyncDialog"));
45  SystemSyncDialog->resize(546, 205);
46  verticalLayout = new QVBoxLayout(SystemSyncDialog);
47  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
48  label = new QLabel(SystemSyncDialog);
49  label->setObjectName(QString::fromUtf8("label"));
50  label->setAlignment(Qt::AlignCenter);
51  label->setWordWrap(true);
52 
53  verticalLayout->addWidget(label);
54 
55  gridLayout = new QGridLayout();
56  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57  syncSlider = new QSlider(SystemSyncDialog);
58  syncSlider->setObjectName(QString::fromUtf8("syncSlider"));
59  syncSlider->setMinimum(-250);
60  syncSlider->setMaximum(250);
61  syncSlider->setOrientation(Qt::Horizontal);
62 
63  gridLayout->addWidget(syncSlider, 0, 1, 1, 1);
64 
65  undoButton = new QPushButton(SystemSyncDialog);
66  undoButton->setObjectName(QString::fromUtf8("undoButton"));
67  undoButton->setText(QString::fromUtf8(""));
68  QIcon icon;
69  QString iconThemeName = QString::fromUtf8("edit-undo");
70  if (QIcon::hasThemeIcon(iconThemeName)) {
71  icon = QIcon::fromTheme(iconThemeName);
72  } else {
73  icon.addFile(QString::fromUtf8(":/icons/oxygen/32x32/actions/edit-undo.png"), QSize(), QIcon::Normal, QIcon::Off);
74  }
75  undoButton->setIcon(icon);
76  undoButton->setAutoDefault(false);
77 
78  gridLayout->addWidget(undoButton, 0, 3, 1, 1);
79 
80  syncLabel = new QLabel(SystemSyncDialog);
81  syncLabel->setObjectName(QString::fromUtf8("syncLabel"));
82  syncLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
83 
84  gridLayout->addWidget(syncLabel, 0, 0, 1, 1);
85 
86  applyButton = new QPushButton(SystemSyncDialog);
87  applyButton->setObjectName(QString::fromUtf8("applyButton"));
88 
89  gridLayout->addWidget(applyButton, 1, 2, 1, 1);
90 
91  syncSpinBox = new QSpinBox(SystemSyncDialog);
92  syncSpinBox->setObjectName(QString::fromUtf8("syncSpinBox"));
93  syncSpinBox->setMinimum(-250);
94  syncSpinBox->setMaximum(250);
95 
96  gridLayout->addWidget(syncSpinBox, 0, 2, 1, 1);
97 
98 
99  verticalLayout->addLayout(gridLayout);
100 
101  verticalSpacer = new QSpacerItem(20, 130, QSizePolicy::Minimum, QSizePolicy::Expanding);
102 
103  verticalLayout->addItem(verticalSpacer);
104 
105  buttonBox = new QDialogButtonBox(SystemSyncDialog);
106  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
107  buttonBox->setOrientation(Qt::Horizontal);
108  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
109 
110  verticalLayout->addWidget(buttonBox);
111 
112 
113  retranslateUi(SystemSyncDialog);
114  QObject::connect(buttonBox, SIGNAL(accepted()), SystemSyncDialog, SLOT(accept()));
115  QObject::connect(buttonBox, SIGNAL(rejected()), SystemSyncDialog, SLOT(reject()));
116  QObject::connect(syncSlider, SIGNAL(valueChanged(int)), syncSpinBox, SLOT(setValue(int)));
117 
118  QMetaObject::connectSlotsByName(SystemSyncDialog);
119  } // setupUi
120 
121  void retranslateUi(QDialog *SystemSyncDialog)
122  {
123  SystemSyncDialog->setWindowTitle(QCoreApplication::translate("SystemSyncDialog", "Player Synchronization", nullptr));
124  label->setText(QCoreApplication::translate("SystemSyncDialog", "Adjust your playback audio/video synchronization", nullptr));
125 #if QT_CONFIG(tooltip)
126  undoButton->setToolTip(QCoreApplication::translate("SystemSyncDialog", "Reset to default value 0", nullptr));
127 #endif // QT_CONFIG(tooltip)
128  syncLabel->setText(QCoreApplication::translate("SystemSyncDialog", "Video offset", nullptr));
129  applyButton->setText(QCoreApplication::translate("SystemSyncDialog", "Apply", nullptr));
130  syncSpinBox->setSuffix(QCoreApplication::translate("SystemSyncDialog", " ms", nullptr));
131  } // retranslateUi
132 
133 };
134 
135 namespace Ui {
136  class SystemSyncDialog: public Ui_SystemSyncDialog {};
137 } // namespace Ui
138 
139 QT_END_NAMESPACE
140 
141 #endif // UI_SYSTEMSYNCDIALOG_H