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

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.3
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/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"
28
29QT_BEGIN_NAMESPACE
30
31 class Ui_DiagramPropertiesPage
32{
33 public:
34 QVBoxLayout *vboxLayout;
35 QGroupBox *ui_groupBoxDiagramProperties;
36 QVBoxLayout *vboxLayout1;
37 QHBoxLayout *hboxLayout;
38 QLabel *ui_labelDiagramName;
39 KLineEdit *ui_diagramName;
40 QHBoxLayout *hboxLayout1;
41 QHBoxLayout *hboxLayout2;
42 QLabel *ui_labelZoom;
43 QSpinBox *ui_zoom;
44 QLabel *ui_labelZoomUnit;
45 QSpacerItem *horizontalSpacer_2;
46 QFrame *ui_line;
47 QHBoxLayout *hboxLayout3;
48 QCheckBox *ui_checkBoxShowGrid;
49 QCheckBox *ui_snapToGrid;
50 QCheckBox *ui_snapComponentSizeToGrid;
51 QHBoxLayout *hboxLayout4;
52 QLabel *ui_labelGridSpacing;
53 QSpacerItem *horizontalSpacer;
54 QLabel *ui_labelX;
55 QSpinBox *ui_gridSpaceX;
56 QSpacerItem *spacerItem;
57 QLabel *ui_labelY;
58 QSpinBox *ui_gridSpaceY;
59 QFrame *line;
60 QCheckBox *ui_autoIncrementSequence;
61 QGroupBox *ui_groupBoxDocumentation;
62 QGridLayout *gridLayout;
63 KTextEdit *ui_documentation;
64
65 void setupUi(QWidget *DiagramPropertiesPage)
66 {
67 if (DiagramPropertiesPage->objectName().isEmpty())
68 DiagramPropertiesPage->setObjectName(QString::fromUtf8("DiagramPropertiesPage"));
69 DiagramPropertiesPage->resize(449, 515);
70 vboxLayout = new QVBoxLayout(DiagramPropertiesPage);
71 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
72 ui_groupBoxDiagramProperties = new QGroupBox(DiagramPropertiesPage);
73 ui_groupBoxDiagramProperties->setObjectName(QString::fromUtf8("ui_groupBoxDiagramProperties"));
74 vboxLayout1 = new QVBoxLayout(ui_groupBoxDiagramProperties);
75 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
76 hboxLayout = new QHBoxLayout();
77#ifndef UI_Q_OS_MAC
78 hboxLayout->setSpacing(6);
79#endif
80#ifndef UI_Q_OS_MAC
81 hboxLayout->setContentsMargins(0, 0, 0, 0);
82#endif
83 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
84 ui_labelDiagramName = new QLabel(ui_groupBoxDiagramProperties);
85 ui_labelDiagramName->setObjectName(QString::fromUtf8("ui_labelDiagramName"));
86 ui_labelDiagramName->setWordWrap(false);
87
88 hboxLayout->addWidget(ui_labelDiagramName);
89
90 ui_diagramName = new KLineEdit(ui_groupBoxDiagramProperties);
91 ui_diagramName->setObjectName(QString::fromUtf8("ui_diagramName"));
92
93 hboxLayout->addWidget(ui_diagramName);
94
95
96 vboxLayout1->addLayout(hboxLayout);
97
98 hboxLayout1 = new QHBoxLayout();
99 hboxLayout1->setContentsMargins(0, 0, 0, 0);
100 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
101 hboxLayout2 = new QHBoxLayout();
102#ifndef UI_Q_OS_MAC
103 hboxLayout2->setContentsMargins(0, 0, 0, 0);
104#endif
105 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
106 ui_labelZoom = new QLabel(ui_groupBoxDiagramProperties);
107 ui_labelZoom->setObjectName(QString::fromUtf8("ui_labelZoom"));
108 ui_labelZoom->setWordWrap(false);
109
110 hboxLayout2->addWidget(ui_labelZoom);
111
112 ui_zoom = new QSpinBox(ui_groupBoxDiagramProperties);
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);
119 ui_zoom->setMinimum(10);
120 ui_zoom->setMaximum(500);
121
122 hboxLayout2->addWidget(ui_zoom);
123
124 ui_labelZoomUnit = new QLabel(ui_groupBoxDiagramProperties);
125 ui_labelZoomUnit->setObjectName(QString::fromUtf8("ui_labelZoomUnit"));
126 ui_labelZoomUnit->setWordWrap(false);
127
128 hboxLayout2->addWidget(ui_labelZoomUnit);
129
130 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
131
132 hboxLayout2->addItem(horizontalSpacer_2);
133
134
135 hboxLayout1->addLayout(hboxLayout2);
136
137
138 vboxLayout1->addLayout(hboxLayout1);
139
140 ui_line = new QFrame(ui_groupBoxDiagramProperties);
141 ui_line->setObjectName(QString::fromUtf8("ui_line"));
142 ui_line->setFrameShape(QFrame::HLine);
143 ui_line->setFrameShadow(QFrame::Sunken);
144
145 vboxLayout1->addWidget(ui_line);
146
147 hboxLayout3 = new QHBoxLayout();
148 hboxLayout3->setContentsMargins(0, 0, 0, 0);
149 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
150 ui_checkBoxShowGrid = new QCheckBox(ui_groupBoxDiagramProperties);
151 ui_checkBoxShowGrid->setObjectName(QString::fromUtf8("ui_checkBoxShowGrid"));
152
153 hboxLayout3->addWidget(ui_checkBoxShowGrid);
154
155 ui_snapToGrid = new QCheckBox(ui_groupBoxDiagramProperties);
156 ui_snapToGrid->setObjectName(QString::fromUtf8("ui_snapToGrid"));
157
158 hboxLayout3->addWidget(ui_snapToGrid);
159
160 ui_snapComponentSizeToGrid = new QCheckBox(ui_groupBoxDiagramProperties);
161 ui_snapComponentSizeToGrid->setObjectName(QString::fromUtf8("ui_snapComponentSizeToGrid"));
162
163 hboxLayout3->addWidget(ui_snapComponentSizeToGrid);
164
165
166 vboxLayout1->addLayout(hboxLayout3);
167
168 hboxLayout4 = new QHBoxLayout();
169#ifndef UI_Q_OS_MAC
170 hboxLayout4->setSpacing(6);
171#endif
172 hboxLayout4->setContentsMargins(0, 0, 0, 0);
173 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
174 ui_labelGridSpacing = new QLabel(ui_groupBoxDiagramProperties);
175 ui_labelGridSpacing->setObjectName(QString::fromUtf8("ui_labelGridSpacing"));
176 ui_labelGridSpacing->setWordWrap(false);
177
178 hboxLayout4->addWidget(ui_labelGridSpacing);
179
180 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
181
182 hboxLayout4->addItem(horizontalSpacer);
183
184 ui_labelX = new QLabel(ui_groupBoxDiagramProperties);
185 ui_labelX->setObjectName(QString::fromUtf8("ui_labelX"));
186 ui_labelX->setWordWrap(false);
187
188 hboxLayout4->addWidget(ui_labelX);
189
190 ui_gridSpaceX = new QSpinBox(ui_groupBoxDiagramProperties);
191 ui_gridSpaceX->setObjectName(QString::fromUtf8("ui_gridSpaceX"));
192 ui_gridSpaceX->setMinimum(5);
193 ui_gridSpaceX->setMaximum(100);
194
195 hboxLayout4->addWidget(ui_gridSpaceX);
196
197 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
198
199 hboxLayout4->addItem(spacerItem);
200
201 ui_labelY = new QLabel(ui_groupBoxDiagramProperties);
202 ui_labelY->setObjectName(QString::fromUtf8("ui_labelY"));
203 ui_labelY->setWordWrap(false);
204
205 hboxLayout4->addWidget(ui_labelY);
206
207 ui_gridSpaceY = new QSpinBox(ui_groupBoxDiagramProperties);
208 ui_gridSpaceY->setObjectName(QString::fromUtf8("ui_gridSpaceY"));
209 ui_gridSpaceY->setMinimum(5);
210 ui_gridSpaceY->setMaximum(100);
211
212 hboxLayout4->addWidget(ui_gridSpaceY);
213
214
215 vboxLayout1->addLayout(hboxLayout4);
216
217 line = new QFrame(ui_groupBoxDiagramProperties);
218 line->setObjectName(QString::fromUtf8("line"));
219 line->setFrameShape(QFrame::HLine);
220 line->setFrameShadow(QFrame::Sunken);
221
222 vboxLayout1->addWidget(line);
223
224 ui_autoIncrementSequence = new QCheckBox(ui_groupBoxDiagramProperties);
225 ui_autoIncrementSequence->setObjectName(QString::fromUtf8("ui_autoIncrementSequence"));
226
227 vboxLayout1->addWidget(ui_autoIncrementSequence);
228
229
230 vboxLayout->addWidget(ui_groupBoxDiagramProperties);
231
232 ui_groupBoxDocumentation = new QGroupBox(DiagramPropertiesPage);
233 ui_groupBoxDocumentation->setObjectName(QString::fromUtf8("ui_groupBoxDocumentation"));
234 gridLayout = new QGridLayout(ui_groupBoxDocumentation);
235#ifndef UI_Q_OS_MAC
236 gridLayout->setSpacing(6);
237#endif
238 gridLayout->setContentsMargins(11, 11, 11, 11);
239 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
240 ui_documentation = new KTextEdit(ui_groupBoxDocumentation);
241 ui_documentation->setObjectName(QString::fromUtf8("ui_documentation"));
242
243 gridLayout->addWidget(ui_documentation, 0, 0, 1, 1);
244
245
246 vboxLayout->addWidget(ui_groupBoxDocumentation);
247
248
249 retranslateUi(DiagramPropertiesPage);
250
251 QMetaObject::connectSlotsByName(DiagramPropertiesPage);
252 } // setupUi
253
254 void retranslateUi(QWidget *DiagramPropertiesPage)
255 {
256 ui_groupBoxDiagramProperties->setTitle(tr2i18n("Diagram Properties", nullptr));
257 ui_labelDiagramName->setText(tr2i18n("Name:", nullptr));
258 ui_labelZoom->setText(tr2i18n("Zoom:", nullptr));
259 ui_labelZoomUnit->setText(tr2i18n("%", nullptr));
260 ui_checkBoxShowGrid->setText(tr2i18n("Show &grid", nullptr));
261 ui_snapToGrid->setText(tr2i18n("Snap &to grid", nullptr));
262#if QT_CONFIG(whatsthis)
263 ui_snapComponentSizeToGrid->setWhatsThis(tr2i18n("Snap the size of the components to be a multiple of the grid spacing.\n"
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)
266 ui_snapComponentSizeToGrid->setText(tr2i18n("Snap component size", nullptr));
267 ui_labelGridSpacing->setText(tr2i18n("Grid spacing: ", nullptr));
268 ui_labelX->setText(tr2i18n("X", nullptr));
269 ui_labelY->setText(tr2i18n("Y", nullptr));
270 ui_autoIncrementSequence->setText(tr2i18n("Autoincrement Sequence ", nullptr));
271 ui_groupBoxDocumentation->setTitle(tr2i18n("Documentation", nullptr));
272 (void)DiagramPropertiesPage;
273 } // retranslateUi
274
275};
276
277 namespace Ui {
278 class DiagramPropertiesPage: public Ui_DiagramPropertiesPage {};
279} // namespace Ui
280
281QT_END_NAMESPACE
282
283#endif // DIAGRAMPROPERTIESPAGE_H
284
DiagramPropertiesPage
Definition: diagrampropertiespage.h:18
Ui::DiagramPropertiesPage
Definition: ui_diagrampropertiespage.h:278
Ui_DiagramPropertiesPage
Definition: ui_diagrampropertiespage.h:32
Ui_DiagramPropertiesPage::ui_gridSpaceY
QSpinBox * ui_gridSpaceY
Definition: ui_diagrampropertiespage.h:58
Ui_DiagramPropertiesPage::hboxLayout
QHBoxLayout * hboxLayout
Definition: ui_diagrampropertiespage.h:37
Ui_DiagramPropertiesPage::ui_labelZoom
QLabel * ui_labelZoom
Definition: ui_diagrampropertiespage.h:42
Ui_DiagramPropertiesPage::vboxLayout1
QVBoxLayout * vboxLayout1
Definition: ui_diagrampropertiespage.h:36
Ui_DiagramPropertiesPage::vboxLayout
QVBoxLayout * vboxLayout
Definition: ui_diagrampropertiespage.h:34
Ui_DiagramPropertiesPage::hboxLayout2
QHBoxLayout * hboxLayout2
Definition: ui_diagrampropertiespage.h:41
Ui_DiagramPropertiesPage::ui_snapComponentSizeToGrid
QCheckBox * ui_snapComponentSizeToGrid
Definition: ui_diagrampropertiespage.h:50
Ui_DiagramPropertiesPage::ui_groupBoxDocumentation
QGroupBox * ui_groupBoxDocumentation
Definition: ui_diagrampropertiespage.h:61
Ui_DiagramPropertiesPage::ui_labelX
QLabel * ui_labelX
Definition: ui_diagrampropertiespage.h:54
Ui_DiagramPropertiesPage::ui_zoom
QSpinBox * ui_zoom
Definition: ui_diagrampropertiespage.h:43
Ui_DiagramPropertiesPage::spacerItem
QSpacerItem * spacerItem
Definition: ui_diagrampropertiespage.h:56
Ui_DiagramPropertiesPage::hboxLayout1
QHBoxLayout * hboxLayout1
Definition: ui_diagrampropertiespage.h:40
Ui_DiagramPropertiesPage::ui_gridSpaceX
QSpinBox * ui_gridSpaceX
Definition: ui_diagrampropertiespage.h:55
Ui_DiagramPropertiesPage::hboxLayout3
QHBoxLayout * hboxLayout3
Definition: ui_diagrampropertiespage.h:47
Ui_DiagramPropertiesPage::line
QFrame * line
Definition: ui_diagrampropertiespage.h:59
Ui_DiagramPropertiesPage::ui_labelY
QLabel * ui_labelY
Definition: ui_diagrampropertiespage.h:57
Ui_DiagramPropertiesPage::ui_labelDiagramName
QLabel * ui_labelDiagramName
Definition: ui_diagrampropertiespage.h:38
Ui_DiagramPropertiesPage::hboxLayout4
QHBoxLayout * hboxLayout4
Definition: ui_diagrampropertiespage.h:51
Ui_DiagramPropertiesPage::ui_labelZoomUnit
QLabel * ui_labelZoomUnit
Definition: ui_diagrampropertiespage.h:44
Ui_DiagramPropertiesPage::retranslateUi
void retranslateUi(QWidget *DiagramPropertiesPage)
Definition: ui_diagrampropertiespage.h:254
Ui_DiagramPropertiesPage::horizontalSpacer_2
QSpacerItem * horizontalSpacer_2
Definition: ui_diagrampropertiespage.h:45
Ui_DiagramPropertiesPage::gridLayout
QGridLayout * gridLayout
Definition: ui_diagrampropertiespage.h:62
Ui_DiagramPropertiesPage::horizontalSpacer
QSpacerItem * horizontalSpacer
Definition: ui_diagrampropertiespage.h:53
Ui_DiagramPropertiesPage::ui_line
QFrame * ui_line
Definition: ui_diagrampropertiespage.h:46
Ui_DiagramPropertiesPage::ui_snapToGrid
QCheckBox * ui_snapToGrid
Definition: ui_diagrampropertiespage.h:49
Ui_DiagramPropertiesPage::ui_labelGridSpacing
QLabel * ui_labelGridSpacing
Definition: ui_diagrampropertiespage.h:52
Ui_DiagramPropertiesPage::ui_diagramName
KLineEdit * ui_diagramName
Definition: ui_diagrampropertiespage.h:39
Ui_DiagramPropertiesPage::ui_documentation
KTextEdit * ui_documentation
Definition: ui_diagrampropertiespage.h:63
Ui_DiagramPropertiesPage::ui_autoIncrementSequence
QCheckBox * ui_autoIncrementSequence
Definition: ui_diagrampropertiespage.h:60
Ui_DiagramPropertiesPage::ui_groupBoxDiagramProperties
QGroupBox * ui_groupBoxDiagramProperties
Definition: ui_diagrampropertiespage.h:35
Ui_DiagramPropertiesPage::setupUi
void setupUi(QWidget *DiagramPropertiesPage)
Definition: ui_diagrampropertiespage.h:65
Ui_DiagramPropertiesPage::ui_checkBoxShowGrid
QCheckBox * ui_checkBoxShowGrid
Definition: ui_diagrampropertiespage.h:48
Ui
Definition: ui_autolayoutoptionpage.h:125