9 #ifndef UI_DIRECTSHOWVIDEOWIDGET_H 10 #define UI_DIRECTSHOWVIDEOWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QComboBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 26 class Ui_DirectShowVideoWidget
29 QVBoxLayout *verticalLayout;
31 QGridLayout *gridLayout;
32 QSpacerItem *horizontalSpacer;
33 QComboBox *videoCombo;
36 QComboBox *audioCombo;
37 QSpacerItem *verticalSpacer;
39 void setupUi(QWidget *DirectShowVideoWidget)
41 if (DirectShowVideoWidget->objectName().isEmpty())
42 DirectShowVideoWidget->setObjectName(QStringLiteral(
"DirectShowVideoWidget"));
43 DirectShowVideoWidget->resize(384, 284);
44 verticalLayout =
new QVBoxLayout(DirectShowVideoWidget);
45 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
46 label =
new QLabel(DirectShowVideoWidget);
47 label->setObjectName(QStringLiteral(
"label"));
52 label->setAlignment(Qt::AlignCenter);
54 verticalLayout->addWidget(label);
56 gridLayout =
new QGridLayout();
57 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
58 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
60 gridLayout->addItem(horizontalSpacer, 0, 3, 3, 1);
62 videoCombo =
new QComboBox(DirectShowVideoWidget);
63 videoCombo->addItem(QString());
64 videoCombo->setObjectName(QStringLiteral(
"videoCombo"));
66 gridLayout->addWidget(videoCombo, 1, 2, 1, 1);
68 label_3 =
new QLabel(DirectShowVideoWidget);
69 label_3->setObjectName(QStringLiteral(
"label_3"));
70 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
72 gridLayout->addWidget(label_3, 1, 0, 1, 1);
74 label_2 =
new QLabel(DirectShowVideoWidget);
75 label_2->setObjectName(QStringLiteral(
"label_2"));
76 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
78 gridLayout->addWidget(label_2, 2, 0, 1, 1);
80 audioCombo =
new QComboBox(DirectShowVideoWidget);
81 audioCombo->addItem(QString());
82 audioCombo->setObjectName(QStringLiteral(
"audioCombo"));
84 gridLayout->addWidget(audioCombo, 2, 2, 1, 1);
87 verticalLayout->addLayout(gridLayout);
89 verticalSpacer =
new QSpacerItem(20, 260, QSizePolicy::Minimum, QSizePolicy::Expanding);
91 verticalLayout->addItem(verticalSpacer);
94 retranslateUi(DirectShowVideoWidget);
96 QMetaObject::connectSlotsByName(DirectShowVideoWidget);
99 void retranslateUi(QWidget *DirectShowVideoWidget)
101 DirectShowVideoWidget->setWindowTitle(QApplication::translate(
"DirectShowVideoWidget",
"Form",
nullptr));
102 label->setText(QApplication::translate(
"DirectShowVideoWidget",
"DirectShow",
nullptr));
103 videoCombo->setItemText(0, QApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
105 label_3->setText(QApplication::translate(
"DirectShowVideoWidget",
"Video Input",
nullptr));
106 label_2->setText(QApplication::translate(
"DirectShowVideoWidget",
"Audio Input",
nullptr));
107 audioCombo->setItemText(0, QApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
114 class DirectShowVideoWidget:
public Ui_DirectShowVideoWidget {};
119 #endif // UI_DIRECTSHOWVIDEOWIDGET_H Definition: addencodepresetdialog.h:24