1/********************************************************************************
2** Form generated from reading UI file 'embeddeddialog.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_EMBEDDEDDIALOG_H
10#define UI_EMBEDDEDDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QFontComboBox>
17#include <QtWidgets/QFormLayout>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QSlider>
20
21QT_BEGIN_NAMESPACE
22
23class Ui_EmbeddedDialog
24{
25public:
26 QFormLayout *formLayout;
27 QLabel *label;
28 QComboBox *layoutDirection;
29 QLabel *label_2;
30 QFontComboBox *fontComboBox;
31 QLabel *label_3;
32 QComboBox *style;
33 QLabel *label_4;
34 QSlider *spacing;
35
36 void setupUi(QDialog *EmbeddedDialog)
37 {
38 if (EmbeddedDialog->objectName().isEmpty())
39 EmbeddedDialog->setObjectName(QString::fromUtf8(str: "EmbeddedDialog"));
40 EmbeddedDialog->resize(w: 407, h: 134);
41 formLayout = new QFormLayout(EmbeddedDialog);
42 formLayout->setObjectName(QString::fromUtf8(str: "formLayout"));
43 label = new QLabel(EmbeddedDialog);
44 label->setObjectName(QString::fromUtf8(str: "label"));
45
46 formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: label);
47
48 layoutDirection = new QComboBox(EmbeddedDialog);
49 layoutDirection->addItem(atext: QString());
50 layoutDirection->addItem(atext: QString());
51 layoutDirection->setObjectName(QString::fromUtf8(str: "layoutDirection"));
52
53 formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: layoutDirection);
54
55 label_2 = new QLabel(EmbeddedDialog);
56 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
57
58 formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: label_2);
59
60 fontComboBox = new QFontComboBox(EmbeddedDialog);
61 fontComboBox->setObjectName(QString::fromUtf8(str: "fontComboBox"));
62
63 formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: fontComboBox);
64
65 label_3 = new QLabel(EmbeddedDialog);
66 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
67
68 formLayout->setWidget(row: 2, role: QFormLayout::LabelRole, widget: label_3);
69
70 style = new QComboBox(EmbeddedDialog);
71 style->setObjectName(QString::fromUtf8(str: "style"));
72
73 formLayout->setWidget(row: 2, role: QFormLayout::FieldRole, widget: style);
74
75 label_4 = new QLabel(EmbeddedDialog);
76 label_4->setObjectName(QString::fromUtf8(str: "label_4"));
77
78 formLayout->setWidget(row: 3, role: QFormLayout::LabelRole, widget: label_4);
79
80 spacing = new QSlider(EmbeddedDialog);
81 spacing->setObjectName(QString::fromUtf8(str: "spacing"));
82 spacing->setOrientation(Qt::Horizontal);
83
84 formLayout->setWidget(row: 3, role: QFormLayout::FieldRole, widget: spacing);
85
86#if QT_CONFIG(shortcut)
87 label->setBuddy(layoutDirection);
88 label_2->setBuddy(fontComboBox);
89 label_3->setBuddy(style);
90 label_4->setBuddy(spacing);
91#endif // QT_CONFIG(shortcut)
92
93 retranslateUi(EmbeddedDialog);
94
95 QMetaObject::connectSlotsByName(o: EmbeddedDialog);
96 } // setupUi
97
98 void retranslateUi(QDialog *EmbeddedDialog)
99 {
100 EmbeddedDialog->setWindowTitle(QCoreApplication::translate(context: "EmbeddedDialog", key: "Embedded Dialog", disambiguation: nullptr));
101 label->setText(QCoreApplication::translate(context: "EmbeddedDialog", key: "Layout Direction:", disambiguation: nullptr));
102 layoutDirection->setItemText(index: 0, text: QCoreApplication::translate(context: "EmbeddedDialog", key: "Left to Right", disambiguation: nullptr));
103 layoutDirection->setItemText(index: 1, text: QCoreApplication::translate(context: "EmbeddedDialog", key: "Right to Left", disambiguation: nullptr));
104
105 label_2->setText(QCoreApplication::translate(context: "EmbeddedDialog", key: "Select Font:", disambiguation: nullptr));
106 label_3->setText(QCoreApplication::translate(context: "EmbeddedDialog", key: "Style:", disambiguation: nullptr));
107 label_4->setText(QCoreApplication::translate(context: "EmbeddedDialog", key: "Layout spacing:", disambiguation: nullptr));
108 } // retranslateUi
109
110};
111
112namespace Ui {
113 class EmbeddedDialog: public Ui_EmbeddedDialog {};
114} // namespace Ui
115
116QT_END_NAMESPACE
117
118#endif // UI_EMBEDDEDDIALOG_H
119

source code of qtbase/examples/widgets/graphicsview/embeddeddialogs/.uic/ui_embeddeddialog.h