9 #ifndef UI_DIRECTSHOWVIDEOWIDGET_H 10 #define UI_DIRECTSHOWVIDEOWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QComboBox> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QSpacerItem> 18 #include <QtWidgets/QVBoxLayout> 19 #include <QtWidgets/QWidget> 23 class Ui_DirectShowVideoWidget
26 QVBoxLayout *verticalLayout;
28 QGridLayout *gridLayout;
29 QSpacerItem *horizontalSpacer;
30 QComboBox *videoCombo;
33 QComboBox *audioCombo;
34 QSpacerItem *verticalSpacer;
36 void setupUi(QWidget *DirectShowVideoWidget)
38 if (DirectShowVideoWidget->objectName().isEmpty())
39 DirectShowVideoWidget->setObjectName(QString::fromUtf8(
"DirectShowVideoWidget"));
40 DirectShowVideoWidget->resize(384, 284);
41 verticalLayout =
new QVBoxLayout(DirectShowVideoWidget);
42 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
43 label =
new QLabel(DirectShowVideoWidget);
44 label->setObjectName(QString::fromUtf8(
"label"));
49 label->setAlignment(Qt::AlignCenter);
51 verticalLayout->addWidget(label);
53 gridLayout =
new QGridLayout();
54 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
55 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
57 gridLayout->addItem(horizontalSpacer, 0, 3, 3, 1);
59 videoCombo =
new QComboBox(DirectShowVideoWidget);
60 videoCombo->addItem(QString());
61 videoCombo->setObjectName(QString::fromUtf8(
"videoCombo"));
63 gridLayout->addWidget(videoCombo, 1, 2, 1, 1);
65 label_3 =
new QLabel(DirectShowVideoWidget);
66 label_3->setObjectName(QString::fromUtf8(
"label_3"));
67 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
69 gridLayout->addWidget(label_3, 1, 0, 1, 1);
71 label_2 =
new QLabel(DirectShowVideoWidget);
72 label_2->setObjectName(QString::fromUtf8(
"label_2"));
73 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
75 gridLayout->addWidget(label_2, 2, 0, 1, 1);
77 audioCombo =
new QComboBox(DirectShowVideoWidget);
78 audioCombo->addItem(QString());
79 audioCombo->setObjectName(QString::fromUtf8(
"audioCombo"));
81 gridLayout->addWidget(audioCombo, 2, 2, 1, 1);
84 verticalLayout->addLayout(gridLayout);
86 verticalSpacer =
new QSpacerItem(20, 260, QSizePolicy::Minimum, QSizePolicy::Expanding);
88 verticalLayout->addItem(verticalSpacer);
91 retranslateUi(DirectShowVideoWidget);
93 QMetaObject::connectSlotsByName(DirectShowVideoWidget);
96 void retranslateUi(QWidget *DirectShowVideoWidget)
98 DirectShowVideoWidget->setWindowTitle(QCoreApplication::translate(
"DirectShowVideoWidget",
"Form",
nullptr));
99 label->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Audio/Video Device",
nullptr));
100 videoCombo->setItemText(0, QCoreApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
102 label_3->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Video Input",
nullptr));
103 label_2->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Audio Input",
nullptr));
104 audioCombo->setItemText(0, QCoreApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
111 class DirectShowVideoWidget:
public Ui_DirectShowVideoWidget {};
116 #endif // UI_DIRECTSHOWVIDEOWIDGET_H