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>
23class 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(
"DirectShowVideoWidget");
40 DirectShowVideoWidget->resize(384, 284);
41#if QT_CONFIG(whatsthis)
42 DirectShowVideoWidget->setWhatsThis(QString::fromUtf8(
"https://forum.shotcut.org/t/open-other-audio-video-device/12935/1"));
44 verticalLayout =
new QVBoxLayout(DirectShowVideoWidget);
45 verticalLayout->setObjectName(
"verticalLayout");
46 label =
new QLabel(DirectShowVideoWidget);
47 label->setObjectName(
"label");
51 label->setAlignment(Qt::AlignmentFlag::AlignCenter);
53 verticalLayout->addWidget(label);
55 gridLayout =
new QGridLayout();
56 gridLayout->setObjectName(
"gridLayout");
57 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
59 gridLayout->addItem(horizontalSpacer, 0, 3, 3, 1);
61 videoCombo =
new QComboBox(DirectShowVideoWidget);
62 videoCombo->addItem(QString());
63 videoCombo->setObjectName(
"videoCombo");
65 gridLayout->addWidget(videoCombo, 1, 2, 1, 1);
67 label_3 =
new QLabel(DirectShowVideoWidget);
68 label_3->setObjectName(
"label_3");
69 label_3->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
71 gridLayout->addWidget(label_3, 1, 0, 1, 1);
73 label_2 =
new QLabel(DirectShowVideoWidget);
74 label_2->setObjectName(
"label_2");
75 label_2->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);
77 gridLayout->addWidget(label_2, 2, 0, 1, 1);
79 audioCombo =
new QComboBox(DirectShowVideoWidget);
80 audioCombo->addItem(QString());
81 audioCombo->setObjectName(
"audioCombo");
83 gridLayout->addWidget(audioCombo, 2, 2, 1, 1);
86 verticalLayout->addLayout(gridLayout);
88 verticalSpacer =
new QSpacerItem(20, 260, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
90 verticalLayout->addItem(verticalSpacer);
93 retranslateUi(DirectShowVideoWidget);
95 QMetaObject::connectSlotsByName(DirectShowVideoWidget);
98 void retranslateUi(QWidget *DirectShowVideoWidget)
100 DirectShowVideoWidget->setWindowTitle(QCoreApplication::translate(
"DirectShowVideoWidget",
"Form",
nullptr));
101 label->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Audio/Video Device",
nullptr));
102 videoCombo->setItemText(0, QCoreApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
104 label_3->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Video Input",
nullptr));
105 label_2->setText(QCoreApplication::translate(
"DirectShowVideoWidget",
"Audio Input",
nullptr));
106 audioCombo->setItemText(0, QCoreApplication::translate(
"DirectShowVideoWidget",
"None",
nullptr));
113 class DirectShowVideoWidget:
public Ui_DirectShowVideoWidget {};