9 #ifndef UI_TRANSCODEDIALOG_H 10 #define UI_TRANSCODEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QSlider> 23 #include <QtWidgets/QVBoxLayout> 27 class Ui_TranscodeDialog
30 QVBoxLayout *verticalLayout;
32 QHBoxLayout *horizontalLayout;
36 QSlider *horizontalSlider;
37 QHBoxLayout *horizontalLayout_2;
43 QDialogButtonBox *buttonBox;
45 void setupUi(QDialog *TranscodeDialog)
47 if (TranscodeDialog->objectName().isEmpty())
48 TranscodeDialog->setObjectName(QStringLiteral(
"TranscodeDialog"));
49 TranscodeDialog->resize(467, 217);
50 verticalLayout =
new QVBoxLayout(TranscodeDialog);
51 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
52 messageLabel =
new QLabel(TranscodeDialog);
53 messageLabel->setObjectName(QStringLiteral(
"messageLabel"));
54 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
55 sizePolicy.setHorizontalStretch(0);
56 sizePolicy.setVerticalStretch(0);
57 sizePolicy.setHeightForWidth(messageLabel->sizePolicy().hasHeightForWidth());
58 messageLabel->setSizePolicy(sizePolicy);
59 messageLabel->setText(QStringLiteral(
"messageLabel"));
60 messageLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
61 messageLabel->setWordWrap(
true);
63 verticalLayout->addWidget(messageLabel);
65 horizontalLayout =
new QHBoxLayout();
66 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
67 label =
new QLabel(TranscodeDialog);
68 label->setObjectName(QStringLiteral(
"label"));
69 label->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
71 horizontalLayout->addWidget(label);
73 label_2 =
new QLabel(TranscodeDialog);
74 label_2->setObjectName(QStringLiteral(
"label_2"));
75 label_2->setAlignment(Qt::AlignCenter);
77 horizontalLayout->addWidget(label_2);
79 label_3 =
new QLabel(TranscodeDialog);
80 label_3->setObjectName(QStringLiteral(
"label_3"));
81 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
83 horizontalLayout->addWidget(label_3);
86 verticalLayout->addLayout(horizontalLayout);
88 horizontalSlider =
new QSlider(TranscodeDialog);
89 horizontalSlider->setObjectName(QStringLiteral(
"horizontalSlider"));
90 horizontalSlider->setMaximum(2);
91 horizontalSlider->setPageStep(1);
92 horizontalSlider->setValue(1);
93 horizontalSlider->setOrientation(Qt::Horizontal);
94 horizontalSlider->setTickPosition(QSlider::TicksBothSides);
96 verticalLayout->addWidget(horizontalSlider);
98 horizontalLayout_2 =
new QHBoxLayout();
99 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
100 label_4 =
new QLabel(TranscodeDialog);
101 label_4->setObjectName(QStringLiteral(
"label_4"));
102 label_4->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
104 horizontalLayout_2->addWidget(label_4);
106 label_5 =
new QLabel(TranscodeDialog);
107 label_5->setObjectName(QStringLiteral(
"label_5"));
108 label_5->setAlignment(Qt::AlignCenter);
110 horizontalLayout_2->addWidget(label_5);
112 label_6 =
new QLabel(TranscodeDialog);
113 label_6->setObjectName(QStringLiteral(
"label_6"));
114 label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
116 horizontalLayout_2->addWidget(label_6);
119 verticalLayout->addLayout(horizontalLayout_2);
121 formatLabel =
new QLabel(TranscodeDialog);
122 formatLabel->setObjectName(QStringLiteral(
"formatLabel"));
123 formatLabel->setText(QStringLiteral(
"formatLabel"));
124 formatLabel->setAlignment(Qt::AlignCenter);
126 verticalLayout->addWidget(formatLabel);
128 checkBox =
new QCheckBox(TranscodeDialog);
129 checkBox->setObjectName(QStringLiteral(
"checkBox"));
131 verticalLayout->addWidget(checkBox);
133 buttonBox =
new QDialogButtonBox(TranscodeDialog);
134 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
135 buttonBox->setOrientation(Qt::Horizontal);
136 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
138 verticalLayout->addWidget(buttonBox);
141 retranslateUi(TranscodeDialog);
142 QObject::connect(buttonBox, SIGNAL(accepted()), TranscodeDialog, SLOT(accept()));
143 QObject::connect(buttonBox, SIGNAL(rejected()), TranscodeDialog, SLOT(reject()));
145 QMetaObject::connectSlotsByName(TranscodeDialog);
148 void retranslateUi(QDialog *TranscodeDialog)
150 TranscodeDialog->setWindowTitle(QApplication::translate(
"TranscodeDialog",
"Dialog",
nullptr));
151 label->setText(QApplication::translate(
"TranscodeDialog",
"good",
nullptr));
152 label_2->setText(QApplication::translate(
"TranscodeDialog",
"better",
nullptr));
153 label_3->setText(QApplication::translate(
"TranscodeDialog",
"best",
nullptr));
154 label_4->setText(QApplication::translate(
"TranscodeDialog",
"medium",
nullptr));
155 label_5->setText(QApplication::translate(
"TranscodeDialog",
"large",
nullptr));
156 label_6->setText(QApplication::translate(
"TranscodeDialog",
"biggest",
nullptr));
157 checkBox->setText(QApplication::translate(
"TranscodeDialog",
"Do not show this anymore.",
"Convert to edit-friendly format dialog"));
163 class TranscodeDialog:
public Ui_TranscodeDialog {};
168 #endif // UI_TRANSCODEDIALOG_H Definition: addencodepresetdialog.h:24