umbrello 2.35.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ui_diagrampropertiespage.h
Go to the documentation of this file.
1#include <klocalizedstring.h>
2
3/********************************************************************************
4** Form generated from reading UI file 'diagrampropertiespage.ui'
5**
6** Created by: Qt User Interface Compiler version 5.15.6
7**
8** WARNING! All changes made in this file will be lost when recompiling UI file!
9********************************************************************************/
10
11#ifndef UI_DIAGRAMPROPERTIESPAGE_H
12#define UI_DIAGRAMPROPERTIESPAGE_H
13
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"
29
30QT_BEGIN_NAMESPACE
31
32 class Ui_DiagramPropertiesPage
33{
34 public:
35 QVBoxLayout *vboxLayout;
36 QGroupBox *ui_groupBoxDiagramProperties;
37 QVBoxLayout *vboxLayout1;
38 QHBoxLayout *hboxLayout;
39 QLabel *ui_labelDiagramName;
40 KLineEdit *ui_diagramName;
41 QHBoxLayout *hboxLayout1;
42 QHBoxLayout *hboxLayout2;
43 QLabel *ui_labelZoom;
44 QSpinBox *ui_zoom;
45 QLabel *ui_labelZoomUnit;
46 QSpacerItem *horizontalSpacer_2;
47 QLabel *ui_labelWidth;
48 QDoubleSpinBox *ui_width;
49 QSpacerItem *horizontalSpacer_3;
50 QLabel *ui_labelHeight;
51 QDoubleSpinBox *ui_height;
52 QFrame *ui_line;
53 QHBoxLayout *hboxLayout3;
54 QCheckBox *ui_checkBoxShowGrid;
55 QCheckBox *ui_snapToGrid;
56 QCheckBox *ui_snapComponentSizeToGrid;
57 QHBoxLayout *hboxLayout4;
58 QLabel *ui_labelGridSpacing;
59 QSpacerItem *horizontalSpacer;
60 QLabel *ui_labelX;
61 QSpinBox *ui_gridSpaceX;
62 QSpacerItem *spacerItem;
63 QLabel *ui_labelY;
64 QSpinBox *ui_gridSpaceY;
65 QFrame *line;
66 QCheckBox *ui_autoIncrementSequence;
67 QGroupBox *ui_groupBoxDocumentation;
68 QGridLayout *gridLayout;
69 KTextEdit *ui_documentation;
70
71 void setupUi(QWidget *DiagramPropertiesPage)
72 {
73 if (DiagramPropertiesPage->objectName().isEmpty())
74 DiagramPropertiesPage->setObjectName(QString::fromUtf8("DiagramPropertiesPage"));
75 DiagramPropertiesPage->resize(449, 515);
76 vboxLayout = new QVBoxLayout(DiagramPropertiesPage);
77 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
78 ui_groupBoxDiagramProperties = new QGroupBox(DiagramPropertiesPage);
79 ui_groupBoxDiagramProperties->setObjectName(QString::fromUtf8("ui_groupBoxDiagramProperties"));
80 vboxLayout1 = new QVBoxLayout(ui_groupBoxDiagramProperties);
81 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
82 hboxLayout = new QHBoxLayout();
83#ifndef UI_Q_OS_MAC
84 hboxLayout->setSpacing(6);
85#endif
86#ifndef UI_Q_OS_MAC
87 hboxLayout->setContentsMargins(0, 0, 0, 0);
88#endif
89 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
90 ui_labelDiagramName = new QLabel(ui_groupBoxDiagramProperties);
91 ui_labelDiagramName->setObjectName(QString::fromUtf8("ui_labelDiagramName"));
92 ui_labelDiagramName->setWordWrap(false);
93
94 hboxLayout->addWidget(ui_labelDiagramName);
95
96 ui_diagramName = new KLineEdit(ui_groupBoxDiagramProperties);
97 ui_diagramName->setObjectName(QString::fromUtf8("ui_diagramName"));
98
99 hboxLayout->addWidget(ui_diagramName);
100
101
102 vboxLayout1->addLayout(hboxLayout);
103
104 hboxLayout1 = new QHBoxLayout();
105 hboxLayout1->setContentsMargins(0, 0, 0, 0);
106 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
107 hboxLayout2 = new QHBoxLayout();
108#ifndef UI_Q_OS_MAC
109 hboxLayout2->setContentsMargins(0, 0, 0, 0);
110#endif
111 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
112 ui_labelZoom = new QLabel(ui_groupBoxDiagramProperties);
113 ui_labelZoom->setObjectName(QString::fromUtf8("ui_labelZoom"));
114 ui_labelZoom->setWordWrap(false);
115
116 hboxLayout2->addWidget(ui_labelZoom);
117
118 ui_zoom = new QSpinBox(ui_groupBoxDiagramProperties);
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);
125 ui_zoom->setMinimum(10);
126 ui_zoom->setMaximum(500);
127
128 hboxLayout2->addWidget(ui_zoom);
129
130 ui_labelZoomUnit = new QLabel(ui_groupBoxDiagramProperties);
131 ui_labelZoomUnit->setObjectName(QString::fromUtf8("ui_labelZoomUnit"));
132 ui_labelZoomUnit->setWordWrap(false);
133
134 hboxLayout2->addWidget(ui_labelZoomUnit);
135
136 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
137
138 hboxLayout2->addItem(horizontalSpacer_2);
139
140 ui_labelWidth = new QLabel(ui_groupBoxDiagramProperties);
141 ui_labelWidth->setObjectName(QString::fromUtf8("ui_labelWidth"));
142
143 hboxLayout2->addWidget(ui_labelWidth);
144
145 ui_width = new QDoubleSpinBox(ui_groupBoxDiagramProperties);
146 ui_width->setObjectName(QString::fromUtf8("ui_width"));
147 ui_width->setDecimals(1);
148 ui_width->setMinimum(640.000000000000000);
149 ui_width->setMaximum(11000.000000000000000);
150 ui_width->setSingleStep(20.000000000000000);
151 ui_width->setValue(1100.000000000000000);
152
153 hboxLayout2->addWidget(ui_width);
154
155 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
156
157 hboxLayout2->addItem(horizontalSpacer_3);
158
159 ui_labelHeight = new QLabel(ui_groupBoxDiagramProperties);
160 ui_labelHeight->setObjectName(QString::fromUtf8("ui_labelHeight"));
161
162 hboxLayout2->addWidget(ui_labelHeight);
163
164 ui_height = new QDoubleSpinBox(ui_groupBoxDiagramProperties);
165 ui_height->setObjectName(QString::fromUtf8("ui_height"));
166 ui_height->setDecimals(1);
167 ui_height->setMinimum(400.000000000000000);
168 ui_height->setMaximum(8000.000000000000000);
169 ui_height->setSingleStep(20.000000000000000);
170 ui_height->setValue(800.000000000000000);
171
172 hboxLayout2->addWidget(ui_height);
173
174
175 hboxLayout1->addLayout(hboxLayout2);
176
177
178 vboxLayout1->addLayout(hboxLayout1);
179
180 ui_line = new QFrame(ui_groupBoxDiagramProperties);
181 ui_line->setObjectName(QString::fromUtf8("ui_line"));
182 ui_line->setFrameShape(QFrame::HLine);
183 ui_line->setFrameShadow(QFrame::Sunken);
184
185 vboxLayout1->addWidget(ui_line);
186
187 hboxLayout3 = new QHBoxLayout();
188 hboxLayout3->setContentsMargins(0, 0, 0, 0);
189 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
190 ui_checkBoxShowGrid = new QCheckBox(ui_groupBoxDiagramProperties);
191 ui_checkBoxShowGrid->setObjectName(QString::fromUtf8("ui_checkBoxShowGrid"));
192
193 hboxLayout3->addWidget(ui_checkBoxShowGrid);
194
195 ui_snapToGrid = new QCheckBox(ui_groupBoxDiagramProperties);
196 ui_snapToGrid->setObjectName(QString::fromUtf8("ui_snapToGrid"));
197
198 hboxLayout3->addWidget(ui_snapToGrid);
199
200 ui_snapComponentSizeToGrid = new QCheckBox(ui_groupBoxDiagramProperties);
201 ui_snapComponentSizeToGrid->setObjectName(QString::fromUtf8("ui_snapComponentSizeToGrid"));
202
203 hboxLayout3->addWidget(ui_snapComponentSizeToGrid);
204
205
206 vboxLayout1->addLayout(hboxLayout3);
207
208 hboxLayout4 = new QHBoxLayout();
209#ifndef UI_Q_OS_MAC
210 hboxLayout4->setSpacing(6);
211#endif
212 hboxLayout4->setContentsMargins(0, 0, 0, 0);
213 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
214 ui_labelGridSpacing = new QLabel(ui_groupBoxDiagramProperties);
215 ui_labelGridSpacing->setObjectName(QString::fromUtf8("ui_labelGridSpacing"));
216 ui_labelGridSpacing->setWordWrap(false);
217
218 hboxLayout4->addWidget(ui_labelGridSpacing);
219
220 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
221
222 hboxLayout4->addItem(horizontalSpacer);
223
224 ui_labelX = new QLabel(ui_groupBoxDiagramProperties);
225 ui_labelX->setObjectName(QString::fromUtf8("ui_labelX"));
226 ui_labelX->setWordWrap(false);
227
228 hboxLayout4->addWidget(ui_labelX);
229
230 ui_gridSpaceX = new QSpinBox(ui_groupBoxDiagramProperties);
231 ui_gridSpaceX->setObjectName(QString::fromUtf8("ui_gridSpaceX"));
232 ui_gridSpaceX->setMinimum(5);
233 ui_gridSpaceX->setMaximum(100);
234
235 hboxLayout4->addWidget(ui_gridSpaceX);
236
237 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
238
239 hboxLayout4->addItem(spacerItem);
240
241 ui_labelY = new QLabel(ui_groupBoxDiagramProperties);
242 ui_labelY->setObjectName(QString::fromUtf8("ui_labelY"));
243 ui_labelY->setWordWrap(false);
244
245 hboxLayout4->addWidget(ui_labelY);
246
247 ui_gridSpaceY = new QSpinBox(ui_groupBoxDiagramProperties);
248 ui_gridSpaceY->setObjectName(QString::fromUtf8("ui_gridSpaceY"));
249 ui_gridSpaceY->setMinimum(5);
250 ui_gridSpaceY->setMaximum(100);
251
252 hboxLayout4->addWidget(ui_gridSpaceY);
253
254
255 vboxLayout1->addLayout(hboxLayout4);
256
257 line = new QFrame(ui_groupBoxDiagramProperties);
258 line->setObjectName(QString::fromUtf8("line"));
259 line->setFrameShape(QFrame::HLine);
260 line->setFrameShadow(QFrame::Sunken);
261
262 vboxLayout1->addWidget(line);
263
264 ui_autoIncrementSequence = new QCheckBox(ui_groupBoxDiagramProperties);
265 ui_autoIncrementSequence->setObjectName(QString::fromUtf8("ui_autoIncrementSequence"));
266
267 vboxLayout1->addWidget(ui_autoIncrementSequence);
268
269
270 vboxLayout->addWidget(ui_groupBoxDiagramProperties);
271
272 ui_groupBoxDocumentation = new QGroupBox(DiagramPropertiesPage);
273 ui_groupBoxDocumentation->setObjectName(QString::fromUtf8("ui_groupBoxDocumentation"));
274 gridLayout = new QGridLayout(ui_groupBoxDocumentation);
275#ifndef UI_Q_OS_MAC
276 gridLayout->setSpacing(6);
277#endif
278 gridLayout->setContentsMargins(11, 11, 11, 11);
279 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
280 ui_documentation = new KTextEdit(ui_groupBoxDocumentation);
281 ui_documentation->setObjectName(QString::fromUtf8("ui_documentation"));
282
283 gridLayout->addWidget(ui_documentation, 0, 0, 1, 1);
284
285
286 vboxLayout->addWidget(ui_groupBoxDocumentation);
287
288
289 retranslateUi(DiagramPropertiesPage);
290
291 QMetaObject::connectSlotsByName(DiagramPropertiesPage);
292 } // setupUi
293
294 void retranslateUi(QWidget *DiagramPropertiesPage)
295 {
296 ui_groupBoxDiagramProperties->setTitle(tr2i18n("Diagram Properties", nullptr));
297 ui_labelDiagramName->setText(tr2i18n("Name:", nullptr));
298 ui_labelZoom->setText(tr2i18n("Zoom:", nullptr));
299 ui_labelZoomUnit->setText(tr2i18n("%", nullptr));
300 ui_labelWidth->setText(tr2i18n("Width:", nullptr));
301 ui_labelHeight->setText(tr2i18n("Height:", nullptr));
302 ui_checkBoxShowGrid->setText(tr2i18n("Show &grid", nullptr));
303 ui_snapToGrid->setText(tr2i18n("Snap &to grid", nullptr));
304#if QT_CONFIG(whatsthis)
305 ui_snapComponentSizeToGrid->setWhatsThis(tr2i18n("Snap the size of the components to be a multiple of the grid spacing.\n"
306"If 'Snap to Grid' is enabled a component will always be aligned with the grid on all 4 sides.", nullptr));
307#endif // QT_CONFIG(whatsthis)
308 ui_snapComponentSizeToGrid->setText(tr2i18n("Snap component size", nullptr));
309 ui_labelGridSpacing->setText(tr2i18n("Grid spacing: ", nullptr));
310 ui_labelX->setText(tr2i18n("X", nullptr));
311 ui_labelY->setText(tr2i18n("Y", nullptr));
312 ui_autoIncrementSequence->setText(tr2i18n("Autoincrement Sequence ", nullptr));
313 ui_groupBoxDocumentation->setTitle(tr2i18n("Documentation", nullptr));
314 (void)DiagramPropertiesPage;
315 } // retranslateUi
316
317};
318
319 namespace Ui {
320 class DiagramPropertiesPage: public Ui_DiagramPropertiesPage {};
321} // namespace Ui
322
323QT_END_NAMESPACE
324
325#endif // DIAGRAMPROPERTIESPAGE_H
326
DiagramPropertiesPage
Definition: diagrampropertiespage.h:18
Ui::DiagramPropertiesPage
Definition: ui_diagrampropertiespage.h:320
Ui_DiagramPropertiesPage
Definition: ui_diagrampropertiespage.h:33
Ui_DiagramPropertiesPage::ui_gridSpaceY
QSpinBox * ui_gridSpaceY
Definition: ui_diagrampropertiespage.h:64
Ui_DiagramPropertiesPage::hboxLayout
QHBoxLayout * hboxLayout
Definition: ui_diagrampropertiespage.h:38
Ui_DiagramPropertiesPage::ui_labelZoom
QLabel * ui_labelZoom
Definition: ui_diagrampropertiespage.h:43
Ui_DiagramPropertiesPage::vboxLayout1
QVBoxLayout * vboxLayout1
Definition: ui_diagrampropertiespage.h:37
Ui_DiagramPropertiesPage::vboxLayout
QVBoxLayout * vboxLayout
Definition: ui_diagrampropertiespage.h:35
Ui_DiagramPropertiesPage::hboxLayout2
QHBoxLayout * hboxLayout2
Definition: ui_diagrampropertiespage.h:42
Ui_DiagramPropertiesPage::ui_snapComponentSizeToGrid
QCheckBox * ui_snapComponentSizeToGrid
Definition: ui_diagrampropertiespage.h:56
Ui_DiagramPropertiesPage::ui_groupBoxDocumentation
QGroupBox * ui_groupBoxDocumentation
Definition: ui_diagrampropertiespage.h:67
Ui_DiagramPropertiesPage::ui_labelX
QLabel * ui_labelX
Definition: ui_diagrampropertiespage.h:60
Ui_DiagramPropertiesPage::ui_height
QDoubleSpinBox * ui_height
Definition: ui_diagrampropertiespage.h:51
Ui_DiagramPropertiesPage::ui_zoom
QSpinBox * ui_zoom
Definition: ui_diagrampropertiespage.h:44
Ui_DiagramPropertiesPage::spacerItem
QSpacerItem * spacerItem
Definition: ui_diagrampropertiespage.h:62
Ui_DiagramPropertiesPage::hboxLayout1
QHBoxLayout * hboxLayout1
Definition: ui_diagrampropertiespage.h:41
Ui_DiagramPropertiesPage::ui_labelHeight
QLabel * ui_labelHeight
Definition: ui_diagrampropertiespage.h:50
Ui_DiagramPropertiesPage::ui_gridSpaceX
QSpinBox * ui_gridSpaceX
Definition: ui_diagrampropertiespage.h:61
Ui_DiagramPropertiesPage::hboxLayout3
QHBoxLayout * hboxLayout3
Definition: ui_diagrampropertiespage.h:53
Ui_DiagramPropertiesPage::line
QFrame * line
Definition: ui_diagrampropertiespage.h:65
Ui_DiagramPropertiesPage::ui_labelY
QLabel * ui_labelY
Definition: ui_diagrampropertiespage.h:63
Ui_DiagramPropertiesPage::ui_labelDiagramName
QLabel * ui_labelDiagramName
Definition: ui_diagrampropertiespage.h:39
Ui_DiagramPropertiesPage::hboxLayout4
QHBoxLayout * hboxLayout4
Definition: ui_diagrampropertiespage.h:57
Ui_DiagramPropertiesPage::ui_labelZoomUnit
QLabel * ui_labelZoomUnit
Definition: ui_diagrampropertiespage.h:45
Ui_DiagramPropertiesPage::retranslateUi
void retranslateUi(QWidget *DiagramPropertiesPage)
Definition: ui_diagrampropertiespage.h:294
Ui_DiagramPropertiesPage::ui_width
QDoubleSpinBox * ui_width
Definition: ui_diagrampropertiespage.h:48
Ui_DiagramPropertiesPage::horizontalSpacer_2
QSpacerItem * horizontalSpacer_2
Definition: ui_diagrampropertiespage.h:46
Ui_DiagramPropertiesPage::gridLayout
QGridLayout * gridLayout
Definition: ui_diagrampropertiespage.h:68
Ui_DiagramPropertiesPage::horizontalSpacer
QSpacerItem * horizontalSpacer
Definition: ui_diagrampropertiespage.h:59
Ui_DiagramPropertiesPage::ui_line
QFrame * ui_line
Definition: ui_diagrampropertiespage.h:52
Ui_DiagramPropertiesPage::ui_snapToGrid
QCheckBox * ui_snapToGrid
Definition: ui_diagrampropertiespage.h:55
Ui_DiagramPropertiesPage::ui_labelGridSpacing
QLabel * ui_labelGridSpacing
Definition: ui_diagrampropertiespage.h:58
Ui_DiagramPropertiesPage::ui_diagramName
KLineEdit * ui_diagramName
Definition: ui_diagrampropertiespage.h:40
Ui_DiagramPropertiesPage::ui_documentation
KTextEdit * ui_documentation
Definition: ui_diagrampropertiespage.h:69
Ui_DiagramPropertiesPage::ui_autoIncrementSequence
QCheckBox * ui_autoIncrementSequence
Definition: ui_diagrampropertiespage.h:66
Ui_DiagramPropertiesPage::ui_groupBoxDiagramProperties
QGroupBox * ui_groupBoxDiagramProperties
Definition: ui_diagrampropertiespage.h:36
Ui_DiagramPropertiesPage::setupUi
void setupUi(QWidget *DiagramPropertiesPage)
Definition: ui_diagrampropertiespage.h:71
Ui_DiagramPropertiesPage::ui_labelWidth
QLabel * ui_labelWidth
Definition: ui_diagrampropertiespage.h:47
Ui_DiagramPropertiesPage::ui_checkBoxShowGrid
QCheckBox * ui_checkBoxShowGrid
Definition: ui_diagrampropertiespage.h:54
Ui_DiagramPropertiesPage::horizontalSpacer_3
QSpacerItem * horizontalSpacer_3
Definition: ui_diagrampropertiespage.h:49
Ui
Definition: ui_autolayoutoptionpage.h:125