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/QFrame>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QGroupBox>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QSpinBox>
24 #include <QtWidgets/QVBoxLayout>
25 #include <QtWidgets/QWidget>
26 #include "klineedit.h"
27 #include "ktextedit.h"
71 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
75 vboxLayout1->setObjectName(QString::fromUtf8(
"vboxLayout1"));
83 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
91 ui_diagramName->setObjectName(QString::fromUtf8(
"ui_diagramName"));
100 hboxLayout1->setObjectName(QString::fromUtf8(
"hboxLayout1"));
105 hboxLayout2->setObjectName(QString::fromUtf8(
"hboxLayout2"));
107 ui_labelZoom->setObjectName(QString::fromUtf8(
"ui_labelZoom"));
113 ui_zoom->setObjectName(QString::fromUtf8(
"ui_zoom"));
114 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
115 sizePolicy.setHorizontalStretch(0);
116 sizePolicy.setVerticalStretch(0);
117 sizePolicy.setHeightForWidth(
ui_zoom->sizePolicy().hasHeightForWidth());
118 ui_zoom->setSizePolicy(sizePolicy);
130 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
141 ui_line->setObjectName(QString::fromUtf8(
"ui_line"));
142 ui_line->setFrameShape(QFrame::HLine);
143 ui_line->setFrameShadow(QFrame::Sunken);
149 hboxLayout3->setObjectName(QString::fromUtf8(
"hboxLayout3"));
156 ui_snapToGrid->setObjectName(QString::fromUtf8(
"ui_snapToGrid"));
173 hboxLayout4->setObjectName(QString::fromUtf8(
"hboxLayout4"));
180 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
185 ui_labelX->setObjectName(QString::fromUtf8(
"ui_labelX"));
191 ui_gridSpaceX->setObjectName(QString::fromUtf8(
"ui_gridSpaceX"));
197 spacerItem =
new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
202 ui_labelY->setObjectName(QString::fromUtf8(
"ui_labelY"));
208 ui_gridSpaceY->setObjectName(QString::fromUtf8(
"ui_gridSpaceY"));
218 line->setObjectName(QString::fromUtf8(
"line"));
219 line->setFrameShape(QFrame::HLine);
220 line->setFrameShadow(QFrame::Sunken);
238 gridLayout->setContentsMargins(11, 11, 11, 11);
239 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
262 #if QT_CONFIG(whatsthis)
264 "If 'Snap to Grid' is enabled a component will always be aligned with the grid on all 4 sides.",
nullptr));
265 #endif // QT_CONFIG(whatsthis)
268 ui_labelX->setText(tr2i18n(
"X",
nullptr));
269 ui_labelY->setText(tr2i18n(
"Y",
nullptr));
283 #endif // DIAGRAMPROPERTIESPAGE_H