Debian Codegraph @

tests/auto/tools/uic/baseline/imagedialog.ui.h

raw
1 /********************************************************************************
2 ** Form generated from reading UI file 'imagedialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.12.0
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8
9 #ifndef IMAGEDIALOG_H
10 #define IMAGEDIALOG_H
11
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QComboBox>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QLineEdit>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QSpinBox>
23 #include <QtWidgets/QVBoxLayout>
24
25 QT_BEGIN_NAMESPACE
26
27 class Ui_ImageDialog
28 {
29 public:
30 QVBoxLayout *vboxLayout;
31 QGridLayout *gridLayout;
32 QLabel *widthLabel;
33 QLabel *heightLabel;
34 QComboBox *colorDepthCombo;
35 QLineEdit *nameLineEdit;
36 QSpinBox *spinBox;
37 QSpinBox *spinBox_2;
38 QLabel *nameLabel;
39 QLabel *colorDepthLabel;
40 QSpacerItem *spacerItem;
41 QHBoxLayout *hboxLayout;
42 QSpacerItem *spacerItem1;
43 QPushButton *okButton;
44 QPushButton *cancelButton;
45
46 void setupUi(QDialog *dialog)
47 {
48 if (dialog->objectName().isEmpty())
49 dialog->setObjectName(QString::fromUtf8("dialog"));
50 dialog->setObjectName(QString::fromUtf8("ImageDialog"));
51 dialog->resize(320, 180);
52 vboxLayout = new QVBoxLayout(dialog);
53 #ifndef Q_OS_MAC
54 vboxLayout->setSpacing(6);
55 #endif
56 #ifndef Q_OS_MAC
57 vboxLayout->setContentsMargins(9, 9, 9, 9);
58 #endif
59 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
60 vboxLayout->setObjectName(QString::fromUtf8(""));
61 gridLayout = new QGridLayout();
62 #ifndef Q_OS_MAC
63 gridLayout->setSpacing(6);
64 #endif
65 gridLayout->setContentsMargins(1, 1, 1, 1);
66 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
67 gridLayout->setObjectName(QString::fromUtf8(""));
68 widthLabel = new QLabel(dialog);
69 widthLabel->setObjectName(QString::fromUtf8("widthLabel"));
70 widthLabel->setGeometry(QRect(1, 27, 67, 22));
71 widthLabel->setFrameShape(QFrame::NoFrame);
72 widthLabel->setFrameShadow(QFrame::Plain);
73 widthLabel->setTextFormat(Qt::AutoText);
74
75 gridLayout->addWidget(widthLabel, 1, 0, 1, 1);
76
77 heightLabel = new QLabel(dialog);
78 heightLabel->setObjectName(QString::fromUtf8("heightLabel"));
79 heightLabel->setGeometry(QRect(1, 55, 67, 22));
80 heightLabel->setFrameShape(QFrame::NoFrame);
81 heightLabel->setFrameShadow(QFrame::Plain);
82 heightLabel->setTextFormat(Qt::AutoText);
83
84 gridLayout->addWidget(heightLabel, 2, 0, 1, 1);
85
86 colorDepthCombo = new QComboBox(dialog);
87 colorDepthCombo->setObjectName(QString::fromUtf8("colorDepthCombo"));
88 colorDepthCombo->setGeometry(QRect(74, 83, 227, 22));
89 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
90 sizePolicy.setHorizontalStretch(0);
91 sizePolicy.setVerticalStretch(0);
92 sizePolicy.setHeightForWidth(colorDepthCombo->sizePolicy().hasHeightForWidth());
93 colorDepthCombo->setSizePolicy(sizePolicy);
94 colorDepthCombo->setInsertPolicy(QComboBox::InsertAtBottom);
95
96 gridLayout->addWidget(colorDepthCombo, 3, 1, 1, 1);
97
98 nameLineEdit = new QLineEdit(dialog);
99 nameLineEdit->setObjectName(QString::fromUtf8("nameLineEdit"));
100 nameLineEdit->setGeometry(QRect(74, 83, 227, 22));
101 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
102 sizePolicy1.setHorizontalStretch(1);
103 sizePolicy1.setVerticalStretch(0);
104 sizePolicy1.setHeightForWidth(nameLineEdit->sizePolicy().hasHeightForWidth());
105 nameLineEdit->setSizePolicy(sizePolicy1);
106 nameLineEdit->setEchoMode(QLineEdit::Normal);
107
108 gridLayout->addWidget(nameLineEdit, 0, 1, 1, 1);
109
110 spinBox = new QSpinBox(dialog);
111 spinBox->setObjectName(QString::fromUtf8("spinBox"));
112 spinBox->setGeometry(QRect(74, 1, 227, 20));
113 sizePolicy.setHeightForWidth(spinBox->sizePolicy().hasHeightForWidth());
114 spinBox->setSizePolicy(sizePolicy);
115 spinBox->setButtonSymbols(QAbstractSpinBox::UpDownArrows);
116 spinBox->setValue(32);
117 spinBox->setMaximum(1024);
118 spinBox->setMinimum(1);
119
120 gridLayout->addWidget(spinBox, 1, 1, 1, 1);
121
122 spinBox_2 = new QSpinBox(dialog);
123 spinBox_2->setObjectName(QString::fromUtf8("spinBox_2"));
124 spinBox_2->setGeometry(QRect(74, 27, 227, 22));
125 sizePolicy.setHeightForWidth(spinBox_2->sizePolicy().hasHeightForWidth());
126 spinBox_2->setSizePolicy(sizePolicy);
127 spinBox_2->setButtonSymbols(QAbstractSpinBox::UpDownArrows);
128 spinBox_2->setValue(32);
129 spinBox_2->setMaximum(1024);
130 spinBox_2->setMinimum(1);
131
132 gridLayout->addWidget(spinBox_2, 2, 1, 1, 1);
133
134 nameLabel = new QLabel(dialog);
135 nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
136 nameLabel->setGeometry(QRect(1, 1, 67, 20));
137 nameLabel->setFrameShape(QFrame::NoFrame);
138 nameLabel->setFrameShadow(QFrame::Plain);
139 nameLabel->setTextFormat(Qt::AutoText);
140
141 gridLayout->addWidget(nameLabel, 0, 0, 1, 1);
142
143 colorDepthLabel = new QLabel(dialog);
144 colorDepthLabel->setObjectName(QString::fromUtf8("colorDepthLabel"));
145 colorDepthLabel->setGeometry(QRect(1, 83, 67, 22));
146 colorDepthLabel->setFrameShape(QFrame::NoFrame);
147 colorDepthLabel->setFrameShadow(QFrame::Plain);
148 colorDepthLabel->setTextFormat(Qt::AutoText);
149
150 gridLayout->addWidget(colorDepthLabel, 3, 0, 1, 1);
151
152
153 vboxLayout->addLayout(gridLayout);
154
155 spacerItem = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
156
157 vboxLayout->addItem(spacerItem);
158
159 hboxLayout = new QHBoxLayout();
160 #ifndef Q_OS_MAC
161 hboxLayout->setSpacing(6);
162 #endif
163 hboxLayout->setContentsMargins(1, 1, 1, 1);
164 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
165 hboxLayout->setObjectName(QString::fromUtf8(""));
166 spacerItem1 = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
167
168 hboxLayout->addItem(spacerItem1);
169
170 okButton = new QPushButton(dialog);
171 okButton->setObjectName(QString::fromUtf8("okButton"));
172 okButton->setGeometry(QRect(135, 1, 80, 24));
173
174 hboxLayout->addWidget(okButton);
175
176 cancelButton = new QPushButton(dialog);
177 cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
178 cancelButton->setGeometry(QRect(221, 1, 80, 24));
179
180 hboxLayout->addWidget(cancelButton);
181
182
183 vboxLayout->addLayout(hboxLayout);
184
185 QWidget::setTabOrder(nameLineEdit, spinBox);
186 QWidget::setTabOrder(spinBox, spinBox_2);
187 QWidget::setTabOrder(spinBox_2, colorDepthCombo);
188 QWidget::setTabOrder(colorDepthCombo, okButton);
189 QWidget::setTabOrder(okButton, cancelButton);
190
191 retranslateUi(dialog);
192 QObject::connect(nameLineEdit, SIGNAL(returnPressed()), okButton, SLOT(animateClick()));
193
194 QMetaObject::connectSlotsByName(dialog);
195 } // setupUi
196
197 void retranslateUi(QDialog *dialog)
198 {
199 dialog->setWindowTitle(QCoreApplication::translate("ImageDialog", "Create Image", nullptr));
200 widthLabel->setText(QCoreApplication::translate("ImageDialog", "Width:", nullptr));
201 heightLabel->setText(QCoreApplication::translate("ImageDialog", "Height:", nullptr));
202 nameLineEdit->setText(QCoreApplication::translate("ImageDialog", "Untitled image", nullptr));
203 nameLabel->setText(QCoreApplication::translate("ImageDialog", "Name:", nullptr));
204 colorDepthLabel->setText(QCoreApplication::translate("ImageDialog", "Color depth:", nullptr));
205 okButton->setText(QCoreApplication::translate("ImageDialog", "OK", nullptr));
206 cancelButton->setText(QCoreApplication::translate("ImageDialog", "Cancel", nullptr));
207 } // retranslateUi
208
209 };
210
211 namespace Ui {
212 class ImageDialog: public Ui_ImageDialog {};
213 } // namespace Ui
214
215 QT_END_NAMESPACE
216
217 #endif // IMAGEDIALOG_H