1/********************************************************************************
2** Form generated from reading UI file 'imagesettings.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.9
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_IMAGESETTINGS_H
10#define UI_IMAGESETTINGS_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QDialogButtonBox>
17#include <QtWidgets/QGridLayout>
18#include <QtWidgets/QGroupBox>
19#include <QtWidgets/QLabel>
20#include <QtWidgets/QSlider>
21#include <QtWidgets/QSpacerItem>
22
23QT_BEGIN_NAMESPACE
24
25class Ui_ImageSettingsUi
26{
27public:
28 QGridLayout *gridLayout;
29 QGroupBox *groupBox_2;
30 QGridLayout *gridLayout_2;
31 QLabel *label_8;
32 QComboBox *imageResolutionBox;
33 QLabel *label_6;
34 QComboBox *imageCodecBox;
35 QLabel *label_7;
36 QSlider *imageQualitySlider;
37 QSpacerItem *verticalSpacer;
38 QDialogButtonBox *buttonBox;
39
40 void setupUi(QDialog *ImageSettingsUi)
41 {
42 if (ImageSettingsUi->objectName().isEmpty())
43 ImageSettingsUi->setObjectName(QString::fromUtf8(str: "ImageSettingsUi"));
44 ImageSettingsUi->resize(w: 332, h: 270);
45 gridLayout = new QGridLayout(ImageSettingsUi);
46 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
47 groupBox_2 = new QGroupBox(ImageSettingsUi);
48 groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2"));
49 gridLayout_2 = new QGridLayout(groupBox_2);
50 gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2"));
51 label_8 = new QLabel(groupBox_2);
52 label_8->setObjectName(QString::fromUtf8(str: "label_8"));
53
54 gridLayout_2->addWidget(label_8, row: 0, column: 0, rowSpan: 1, columnSpan: 2);
55
56 imageResolutionBox = new QComboBox(groupBox_2);
57 imageResolutionBox->setObjectName(QString::fromUtf8(str: "imageResolutionBox"));
58
59 gridLayout_2->addWidget(imageResolutionBox, row: 1, column: 0, rowSpan: 1, columnSpan: 2);
60
61 label_6 = new QLabel(groupBox_2);
62 label_6->setObjectName(QString::fromUtf8(str: "label_6"));
63
64 gridLayout_2->addWidget(label_6, row: 2, column: 0, rowSpan: 1, columnSpan: 2);
65
66 imageCodecBox = new QComboBox(groupBox_2);
67 imageCodecBox->setObjectName(QString::fromUtf8(str: "imageCodecBox"));
68
69 gridLayout_2->addWidget(imageCodecBox, row: 3, column: 0, rowSpan: 1, columnSpan: 2);
70
71 label_7 = new QLabel(groupBox_2);
72 label_7->setObjectName(QString::fromUtf8(str: "label_7"));
73
74 gridLayout_2->addWidget(label_7, row: 4, column: 0, rowSpan: 1, columnSpan: 1);
75
76 imageQualitySlider = new QSlider(groupBox_2);
77 imageQualitySlider->setObjectName(QString::fromUtf8(str: "imageQualitySlider"));
78 imageQualitySlider->setMaximum(4);
79 imageQualitySlider->setOrientation(Qt::Horizontal);
80
81 gridLayout_2->addWidget(imageQualitySlider, row: 4, column: 1, rowSpan: 1, columnSpan: 1);
82
83
84 gridLayout->addWidget(groupBox_2, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
85
86 verticalSpacer = new QSpacerItem(20, 14, QSizePolicy::Minimum, QSizePolicy::Expanding);
87
88 gridLayout->addItem(item: verticalSpacer, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
89
90 buttonBox = new QDialogButtonBox(ImageSettingsUi);
91 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
92 buttonBox->setOrientation(Qt::Horizontal);
93 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
94
95 gridLayout->addWidget(buttonBox, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
96
97
98 retranslateUi(ImageSettingsUi);
99 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: ImageSettingsUi, SLOT(accept()));
100 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: ImageSettingsUi, SLOT(reject()));
101
102 QMetaObject::connectSlotsByName(o: ImageSettingsUi);
103 } // setupUi
104
105 void retranslateUi(QDialog *ImageSettingsUi)
106 {
107 ImageSettingsUi->setWindowTitle(QCoreApplication::translate(context: "ImageSettingsUi", key: "Image Settings", disambiguation: nullptr));
108 groupBox_2->setTitle(QCoreApplication::translate(context: "ImageSettingsUi", key: "Image", disambiguation: nullptr));
109 label_8->setText(QCoreApplication::translate(context: "ImageSettingsUi", key: "Resolution:", disambiguation: nullptr));
110 label_6->setText(QCoreApplication::translate(context: "ImageSettingsUi", key: "Image Format:", disambiguation: nullptr));
111 label_7->setText(QCoreApplication::translate(context: "ImageSettingsUi", key: "Quality:", disambiguation: nullptr));
112 } // retranslateUi
113
114};
115
116namespace Ui {
117 class ImageSettingsUi: public Ui_ImageSettingsUi {};
118} // namespace Ui
119
120QT_END_NAMESPACE
121
122#endif // UI_IMAGESETTINGS_H
123

source code of qtmultimedia/examples/multimediawidgets/camera/.uic/ui_imagesettings.h