1/********************************************************************************
2** Form generated from reading UI file 'window.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_WINDOW_H
10#define UI_WINDOW_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QComboBox>
15#include <QtWidgets/QGridLayout>
16#include <QtWidgets/QHBoxLayout>
17#include <QtWidgets/QLabel>
18#include <QtWidgets/QSpacerItem>
19#include <QtWidgets/QToolButton>
20#include <QtWidgets/QWidget>
21#include "displaywidget.h"
22
23QT_BEGIN_NAMESPACE
24
25class Ui_Window
26{
27public:
28 QGridLayout *gridLayout_2;
29 QSpacerItem *horizontalSpacer_2;
30 DisplayWidget *displayWidget;
31 QSpacerItem *horizontalSpacer_3;
32 QGridLayout *gridLayout;
33 QLabel *label;
34 QComboBox *shapeComboBox;
35 QLabel *label_2;
36 QToolButton *colorButton;
37 QLabel *label_3;
38 QComboBox *shapeComboBox_2;
39 QHBoxLayout *horizontalLayout;
40 QSpacerItem *horizontalSpacer;
41 QToolButton *toolButton_2;
42
43 void setupUi(QWidget *Window)
44 {
45 if (Window->objectName().isEmpty())
46 Window->setObjectName(QString::fromUtf8(str: "Window"));
47 Window->resize(w: 339, h: 353);
48 gridLayout_2 = new QGridLayout(Window);
49 gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2"));
50 gridLayout_2->setSizeConstraint(QLayout::SetFixedSize);
51 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
52
53 gridLayout_2->addItem(item: horizontalSpacer_2, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
54
55 displayWidget = new DisplayWidget(Window);
56 displayWidget->setObjectName(QString::fromUtf8(str: "displayWidget"));
57 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
58 sizePolicy.setHorizontalStretch(200);
59 sizePolicy.setVerticalStretch(200);
60 sizePolicy.setHeightForWidth(displayWidget->sizePolicy().hasHeightForWidth());
61 displayWidget->setSizePolicy(sizePolicy);
62 displayWidget->setMinimumSize(QSize(200, 200));
63 displayWidget->setMaximumSize(QSize(200, 200));
64
65 gridLayout_2->addWidget(displayWidget, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
66
67 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
68
69 gridLayout_2->addItem(item: horizontalSpacer_3, row: 0, column: 2, rowSpan: 1, columnSpan: 1);
70
71 gridLayout = new QGridLayout();
72 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
73 label = new QLabel(Window);
74 label->setObjectName(QString::fromUtf8(str: "label"));
75
76 gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
77
78 shapeComboBox = new QComboBox(Window);
79 shapeComboBox->addItem(atext: QString());
80 shapeComboBox->addItem(atext: QString());
81 shapeComboBox->setObjectName(QString::fromUtf8(str: "shapeComboBox"));
82
83 gridLayout->addWidget(shapeComboBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
84
85 label_2 = new QLabel(Window);
86 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
87
88 gridLayout->addWidget(label_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
89
90 colorButton = new QToolButton(Window);
91 colorButton->setObjectName(QString::fromUtf8(str: "colorButton"));
92
93 gridLayout->addWidget(colorButton, row: 1, column: 1, rowSpan: 1, columnSpan: 1);
94
95 label_3 = new QLabel(Window);
96 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
97
98 gridLayout->addWidget(label_3, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
99
100 shapeComboBox_2 = new QComboBox(Window);
101 shapeComboBox_2->addItem(atext: QString());
102 shapeComboBox_2->addItem(atext: QString());
103 shapeComboBox_2->addItem(atext: QString());
104 shapeComboBox_2->setObjectName(QString::fromUtf8(str: "shapeComboBox_2"));
105
106 gridLayout->addWidget(shapeComboBox_2, row: 2, column: 1, rowSpan: 1, columnSpan: 1);
107
108
109 gridLayout_2->addLayout(gridLayout, row: 1, column: 0, rowSpan: 1, columnSpan: 3);
110
111 horizontalLayout = new QHBoxLayout();
112 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
113 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
114
115 horizontalLayout->addItem(horizontalSpacer);
116
117 toolButton_2 = new QToolButton(Window);
118 toolButton_2->setObjectName(QString::fromUtf8(str: "toolButton_2"));
119
120 horizontalLayout->addWidget(toolButton_2);
121
122
123 gridLayout_2->addLayout(horizontalLayout, row: 2, column: 0, rowSpan: 1, columnSpan: 3);
124
125#if QT_CONFIG(shortcut)
126 label->setBuddy(shapeComboBox);
127 label_2->setBuddy(colorButton);
128 label_3->setBuddy(shapeComboBox_2);
129#endif // QT_CONFIG(shortcut)
130
131 retranslateUi(Window);
132
133 QMetaObject::connectSlotsByName(o: Window);
134 } // setupUi
135
136 void retranslateUi(QWidget *Window)
137 {
138 Window->setWindowTitle(QCoreApplication::translate(context: "Window", key: "SVG Generator", disambiguation: nullptr));
139 label->setText(QCoreApplication::translate(context: "Window", key: "&Shape:", disambiguation: nullptr));
140 shapeComboBox->setItemText(index: 0, text: QCoreApplication::translate(context: "Window", key: "House", disambiguation: nullptr));
141 shapeComboBox->setItemText(index: 1, text: QCoreApplication::translate(context: "Window", key: "Car", disambiguation: nullptr));
142
143 label_2->setText(QCoreApplication::translate(context: "Window", key: "&Color:", disambiguation: nullptr));
144 colorButton->setText(QCoreApplication::translate(context: "Window", key: "Choose Color...", disambiguation: nullptr));
145 label_3->setText(QCoreApplication::translate(context: "Window", key: "&Background:", disambiguation: nullptr));
146 shapeComboBox_2->setItemText(index: 0, text: QCoreApplication::translate(context: "Window", key: "Sky", disambiguation: nullptr));
147 shapeComboBox_2->setItemText(index: 1, text: QCoreApplication::translate(context: "Window", key: "Trees", disambiguation: nullptr));
148 shapeComboBox_2->setItemText(index: 2, text: QCoreApplication::translate(context: "Window", key: "Road", disambiguation: nullptr));
149
150 toolButton_2->setText(QCoreApplication::translate(context: "Window", key: "Save &As...", disambiguation: nullptr));
151 } // retranslateUi
152
153};
154
155namespace Ui {
156 class Window: public Ui_Window {};
157} // namespace Ui
158
159QT_END_NAMESPACE
160
161#endif // UI_WINDOW_H
162

source code of qtsvg/examples/svg/svggenerator/.uic/ui_window.h