9 #ifndef UI_TRANSCODEDIALOG_H 10 #define UI_TRANSCODEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QDialogButtonBox> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QSlider> 20 #include <QtWidgets/QVBoxLayout> 24 class Ui_TranscodeDialog
27 QVBoxLayout *verticalLayout;
29 QHBoxLayout *horizontalLayout;
33 QSlider *horizontalSlider;
34 QHBoxLayout *horizontalLayout_2;
40 QDialogButtonBox *buttonBox;
42 void setupUi(QDialog *TranscodeDialog)
44 if (TranscodeDialog->objectName().isEmpty())
45 TranscodeDialog->setObjectName(QString::fromUtf8(
"TranscodeDialog"));
46 TranscodeDialog->setWindowModality(Qt::WindowModal);
47 TranscodeDialog->resize(467, 224);
48 verticalLayout =
new QVBoxLayout(TranscodeDialog);
49 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
50 messageLabel =
new QLabel(TranscodeDialog);
51 messageLabel->setObjectName(QString::fromUtf8(
"messageLabel"));
52 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
53 sizePolicy.setHorizontalStretch(0);
54 sizePolicy.setVerticalStretch(0);
55 sizePolicy.setHeightForWidth(messageLabel->sizePolicy().hasHeightForWidth());
56 messageLabel->setSizePolicy(sizePolicy);
57 messageLabel->setText(QString::fromUtf8(
"messageLabel"));
58 messageLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
59 messageLabel->setWordWrap(
true);
61 verticalLayout->addWidget(messageLabel);
63 horizontalLayout =
new QHBoxLayout();
64 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
65 label =
new QLabel(TranscodeDialog);
66 label->setObjectName(QString::fromUtf8(
"label"));
67 label->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
69 horizontalLayout->addWidget(label);
71 label_2 =
new QLabel(TranscodeDialog);
72 label_2->setObjectName(QString::fromUtf8(
"label_2"));
73 label_2->setAlignment(Qt::AlignCenter);
75 horizontalLayout->addWidget(label_2);
77 label_3 =
new QLabel(TranscodeDialog);
78 label_3->setObjectName(QString::fromUtf8(
"label_3"));
79 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
81 horizontalLayout->addWidget(label_3);
84 verticalLayout->addLayout(horizontalLayout);
86 horizontalSlider =
new QSlider(TranscodeDialog);
87 horizontalSlider->setObjectName(QString::fromUtf8(
"horizontalSlider"));
88 horizontalSlider->setMaximum(2);
89 horizontalSlider->setPageStep(1);
90 horizontalSlider->setValue(1);
91 horizontalSlider->setOrientation(Qt::Horizontal);
92 horizontalSlider->setTickPosition(QSlider::TicksBothSides);
94 verticalLayout->addWidget(horizontalSlider);
96 horizontalLayout_2 =
new QHBoxLayout();
97 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
98 label_4 =
new QLabel(TranscodeDialog);
99 label_4->setObjectName(QString::fromUtf8(
"label_4"));
100 label_4->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
102 horizontalLayout_2->addWidget(label_4);
104 label_5 =
new QLabel(TranscodeDialog);
105 label_5->setObjectName(QString::fromUtf8(
"label_5"));
106 label_5->setAlignment(Qt::AlignCenter);
108 horizontalLayout_2->addWidget(label_5);
110 label_6 =
new QLabel(TranscodeDialog);
111 label_6->setObjectName(QString::fromUtf8(
"label_6"));
112 label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
114 horizontalLayout_2->addWidget(label_6);
117 verticalLayout->addLayout(horizontalLayout_2);
119 formatLabel =
new QLabel(TranscodeDialog);
120 formatLabel->setObjectName(QString::fromUtf8(
"formatLabel"));
121 formatLabel->setText(QString::fromUtf8(
"formatLabel"));
122 formatLabel->setAlignment(Qt::AlignCenter);
124 verticalLayout->addWidget(formatLabel);
126 checkBox =
new QCheckBox(TranscodeDialog);
127 checkBox->setObjectName(QString::fromUtf8(
"checkBox"));
129 verticalLayout->addWidget(checkBox);
131 buttonBox =
new QDialogButtonBox(TranscodeDialog);
132 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
133 buttonBox->setOrientation(Qt::Horizontal);
134 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
136 verticalLayout->addWidget(buttonBox);
139 retranslateUi(TranscodeDialog);
140 QObject::connect(buttonBox, SIGNAL(accepted()), TranscodeDialog, SLOT(accept()));
141 QObject::connect(buttonBox, SIGNAL(rejected()), TranscodeDialog, SLOT(reject()));
143 QMetaObject::connectSlotsByName(TranscodeDialog);
146 void retranslateUi(QDialog *TranscodeDialog)
148 TranscodeDialog->setWindowTitle(QCoreApplication::translate(
"TranscodeDialog",
"Dialog",
nullptr));
149 label->setText(QCoreApplication::translate(
"TranscodeDialog",
"good",
nullptr));
150 label_2->setText(QCoreApplication::translate(
"TranscodeDialog",
"better",
nullptr));
151 label_3->setText(QCoreApplication::translate(
"TranscodeDialog",
"best",
nullptr));
152 label_4->setText(QCoreApplication::translate(
"TranscodeDialog",
"medium",
nullptr));
153 label_5->setText(QCoreApplication::translate(
"TranscodeDialog",
"large",
nullptr));
154 label_6->setText(QCoreApplication::translate(
"TranscodeDialog",
"biggest",
nullptr));
155 checkBox->setText(QCoreApplication::translate(
"TranscodeDialog",
"Do not show this anymore.",
"Convert to edit-friendly format dialog"));
161 class TranscodeDialog:
public Ui_TranscodeDialog {};
166 #endif // UI_TRANSCODEDIALOG_H