1 #include <klocalizedstring.h>
11 #ifndef UI_DIAGRAMPROPERTIESPAGE_H
12 #define UI_DIAGRAMPROPERTIESPAGE_H
14 #include <QtCore/QVariant>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDoubleSpinBox>
18 #include <QtWidgets/QFrame>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QGroupBox>
21 #include <QtWidgets/QHBoxLayout>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QSpacerItem>
24 #include <QtWidgets/QSpinBox>
25 #include <QtWidgets/QVBoxLayout>
26 #include <QtWidgets/QWidget>
27 #include "klineedit.h"
28 #include "ktextedit.h"
77 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
81 vboxLayout1->setObjectName(QString::fromUtf8(
"vboxLayout1"));
89 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
97 ui_diagramName->setObjectName(QString::fromUtf8(
"ui_diagramName"));
106 hboxLayout1->setObjectName(QString::fromUtf8(
"hboxLayout1"));
111 hboxLayout2->setObjectName(QString::fromUtf8(
"hboxLayout2"));
113 ui_labelZoom->setObjectName(QString::fromUtf8(
"ui_labelZoom"));
119 ui_zoom->setObjectName(QString::fromUtf8(
"ui_zoom"));
120 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
121 sizePolicy.setHorizontalStretch(0);
122 sizePolicy.setVerticalStretch(0);
123 sizePolicy.setHeightForWidth(
ui_zoom->sizePolicy().hasHeightForWidth());
124 ui_zoom->setSizePolicy(sizePolicy);
136 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
141 ui_labelWidth->setObjectName(QString::fromUtf8(
"ui_labelWidth"));
146 ui_width->setObjectName(QString::fromUtf8(
"ui_width"));
148 ui_width->setMinimum(640.000000000000000);
149 ui_width->setMaximum(11000.000000000000000);
150 ui_width->setSingleStep(20.000000000000000);
151 ui_width->setValue(1100.000000000000000);
155 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
160 ui_labelHeight->setObjectName(QString::fromUtf8(
"ui_labelHeight"));
165 ui_height->setObjectName(QString::fromUtf8(
"ui_height"));
167 ui_height->setMinimum(400.000000000000000);
168 ui_height->setMaximum(8000.000000000000000);
169 ui_height->setSingleStep(20.000000000000000);
170 ui_height->setValue(800.000000000000000);
181 ui_line->setObjectName(QString::fromUtf8(
"ui_line"));
182 ui_line->setFrameShape(QFrame::HLine);
183 ui_line->setFrameShadow(QFrame::Sunken);
189 hboxLayout3->setObjectName(QString::fromUtf8(
"hboxLayout3"));
196 ui_snapToGrid->setObjectName(QString::fromUtf8(
"ui_snapToGrid"));
213 hboxLayout4->setObjectName(QString::fromUtf8(
"hboxLayout4"));
220 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
225 ui_labelX->setObjectName(QString::fromUtf8(
"ui_labelX"));
231 ui_gridSpaceX->setObjectName(QString::fromUtf8(
"ui_gridSpaceX"));
237 spacerItem =
new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
242 ui_labelY->setObjectName(QString::fromUtf8(
"ui_labelY"));
248 ui_gridSpaceY->setObjectName(QString::fromUtf8(
"ui_gridSpaceY"));
258 line->setObjectName(QString::fromUtf8(
"line"));
259 line->setFrameShape(QFrame::HLine);
260 line->setFrameShadow(QFrame::Sunken);
278 gridLayout->setContentsMargins(11, 11, 11, 11);
279 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
304 #ifndef UI_QT_NO_WHATSTHIS
306 "If 'Snap to Grid' is enabled a component will always be aligned with the grid on all 4 sides.",
nullptr));
307 #endif // QT_NO_WHATSTHIS
310 ui_labelX->setText(tr2i18n(
"X",
nullptr));
311 ui_labelY->setText(tr2i18n(
"Y",
nullptr));
325 #endif // DIAGRAMPROPERTIESPAGE_H