umbrello  2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
ui_javacodegenerationformbase.h
Go to the documentation of this file.
1 #include <klocalizedstring.h>
2 
3 /********************************************************************************
4 ** Form generated from reading UI file 'javacodegenerationformbase.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_JAVACODEGENERATIONFORMBASE_H
12 #define UI_JAVACODEGENERATIONFORMBASE_H
13 
14 #include <QtCore/QVariant>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QGroupBox>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
23 #include "kcombobox.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QGridLayout *gridLayout;
31  QGridLayout *gridLayout1;
32  QGroupBox *groupBox3;
33  QVBoxLayout *vboxLayout;
35  QGroupBox *groupBox2;
36  QGridLayout *gridLayout2;
37  QGridLayout *gridLayout3;
41  QGridLayout *gridLayout4;
42  QLabel *textLabel1_3;
43  KComboBox *m_accessorScopeCB;
44  QGridLayout *gridLayout5;
46  KComboBox *m_assocFieldScopeCB;
47  QGroupBox *groupBox1;
48  QHBoxLayout *hboxLayout;
52 
54  {
55  if (JavaCodeGenerationFormBase->objectName().isEmpty())
56  JavaCodeGenerationFormBase->setObjectName(QString::fromUtf8("JavaCodeGenerationFormBase"));
57  JavaCodeGenerationFormBase->resize(462, 375);
58  gridLayout = new QGridLayout(JavaCodeGenerationFormBase);
59  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
60  gridLayout1 = new QGridLayout();
61  gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
62  gridLayout1->setContentsMargins(0, 0, 0, 0);
63  groupBox3 = new QGroupBox(JavaCodeGenerationFormBase);
64  groupBox3->setObjectName(QString::fromUtf8("groupBox3"));
65  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
66  sizePolicy.setHorizontalStretch(0);
67  sizePolicy.setVerticalStretch(0);
68  sizePolicy.setHeightForWidth(groupBox3->sizePolicy().hasHeightForWidth());
69  groupBox3->setSizePolicy(sizePolicy);
70  groupBox3->setMaximumSize(QSize(16777215, 50));
71  vboxLayout = new QVBoxLayout(groupBox3);
72  vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
73  vboxLayout->setContentsMargins(4, 0, 4, 0);
74  m_makeANTDocumentCheckBox = new QCheckBox(groupBox3);
75  m_makeANTDocumentCheckBox->setObjectName(QString::fromUtf8("m_makeANTDocumentCheckBox"));
76 
78 
79 
80  gridLayout1->addWidget(groupBox3, 3, 0, 1, 1);
81 
82  groupBox2 = new QGroupBox(JavaCodeGenerationFormBase);
83  groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
84  sizePolicy.setHeightForWidth(groupBox2->sizePolicy().hasHeightForWidth());
85  groupBox2->setSizePolicy(sizePolicy);
86  gridLayout2 = new QGridLayout(groupBox2);
87  gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
88  gridLayout2->setContentsMargins(0, 0, 0, 0);
89  gridLayout3 = new QGridLayout();
90  gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
91  gridLayout3->setContentsMargins(4, 0, 4, 0);
92  m_generateConstructors = new QCheckBox(groupBox2);
93  m_generateConstructors->setObjectName(QString::fromUtf8("m_generateConstructors"));
94  m_generateConstructors->setChecked(false);
95 
96  gridLayout3->addWidget(m_generateConstructors, 0, 0, 1, 1);
97 
98  m_generateAssocAccessors = new QCheckBox(groupBox2);
99  m_generateAssocAccessors->setObjectName(QString::fromUtf8("m_generateAssocAccessors"));
100  m_generateAssocAccessors->setChecked(true);
101 
102  gridLayout3->addWidget(m_generateAssocAccessors, 2, 0, 1, 1);
103 
104  m_generateAttribAccessors = new QCheckBox(groupBox2);
105  m_generateAttribAccessors->setObjectName(QString::fromUtf8("m_generateAttribAccessors"));
106  m_generateAttribAccessors->setChecked(true);
107 
108  gridLayout3->addWidget(m_generateAttribAccessors, 1, 0, 1, 1);
109 
110 
111  gridLayout2->addLayout(gridLayout3, 0, 0, 1, 1);
112 
113  gridLayout4 = new QGridLayout();
114  gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
115  gridLayout4->setContentsMargins(4, 0, 4, 0);
116  textLabel1_3 = new QLabel(groupBox2);
117  textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
118  textLabel1_3->setWordWrap(false);
119 
120  gridLayout4->addWidget(textLabel1_3, 0, 0, 1, 1);
121 
122  m_accessorScopeCB = new KComboBox(groupBox2);
123  m_accessorScopeCB->addItem(QString());
124  m_accessorScopeCB->addItem(QString());
125  m_accessorScopeCB->addItem(QString());
126  m_accessorScopeCB->addItem(QString());
127  m_accessorScopeCB->setObjectName(QString::fromUtf8("m_accessorScopeCB"));
128 
129  gridLayout4->addWidget(m_accessorScopeCB, 0, 1, 1, 1);
130 
131 
132  gridLayout2->addLayout(gridLayout4, 1, 0, 1, 1);
133 
134  gridLayout5 = new QGridLayout();
135  gridLayout5->setObjectName(QString::fromUtf8("gridLayout5"));
136  gridLayout5->setContentsMargins(4, 0, 4, 0);
137  ui_textLabelAssFieldScope = new QLabel(groupBox2);
138  ui_textLabelAssFieldScope->setObjectName(QString::fromUtf8("ui_textLabelAssFieldScope"));
139  ui_textLabelAssFieldScope->setWordWrap(false);
140 
141  gridLayout5->addWidget(ui_textLabelAssFieldScope, 0, 0, 1, 1);
142 
143  m_assocFieldScopeCB = new KComboBox(groupBox2);
144  m_assocFieldScopeCB->addItem(QString());
145  m_assocFieldScopeCB->addItem(QString());
146  m_assocFieldScopeCB->addItem(QString());
147  m_assocFieldScopeCB->addItem(QString());
148  m_assocFieldScopeCB->setObjectName(QString::fromUtf8("m_assocFieldScopeCB"));
149 
150  gridLayout5->addWidget(m_assocFieldScopeCB, 0, 1, 1, 1);
151 
152 
153  gridLayout2->addLayout(gridLayout5, 2, 0, 1, 1);
154 
155 
156  gridLayout1->addWidget(groupBox2, 2, 0, 1, 1);
157 
158  groupBox1 = new QGroupBox(JavaCodeGenerationFormBase);
159  groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
160  sizePolicy.setHeightForWidth(groupBox1->sizePolicy().hasHeightForWidth());
161  groupBox1->setSizePolicy(sizePolicy);
162  groupBox1->setMaximumSize(QSize(16777215, 100));
163  hboxLayout = new QHBoxLayout(groupBox1);
164  hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
165  hboxLayout->setContentsMargins(4, 0, 4, 0);
166  ui_textLabelStyle = new QLabel(groupBox1);
167  ui_textLabelStyle->setObjectName(QString::fromUtf8("ui_textLabelStyle"));
168  ui_textLabelStyle->setWordWrap(false);
169 
170  hboxLayout->addWidget(ui_textLabelStyle);
171 
172  m_SelectCommentStyle = new KComboBox(groupBox1);
173  m_SelectCommentStyle->addItem(QString());
174  m_SelectCommentStyle->addItem(QString());
175  m_SelectCommentStyle->setObjectName(QString::fromUtf8("m_SelectCommentStyle"));
176 
177  hboxLayout->addWidget(m_SelectCommentStyle);
178 
179 
180  gridLayout1->addWidget(groupBox1, 1, 0, 1, 1);
181 
183  ui_textLabelTitle->setObjectName(QString::fromUtf8("ui_textLabelTitle"));
184  sizePolicy.setHeightForWidth(ui_textLabelTitle->sizePolicy().hasHeightForWidth());
185  ui_textLabelTitle->setSizePolicy(sizePolicy);
186  ui_textLabelTitle->setMaximumSize(QSize(16777215, 40));
187  ui_textLabelTitle->setWordWrap(false);
188 
189  gridLayout1->addWidget(ui_textLabelTitle, 0, 0, 1, 1);
190 
191 
192  gridLayout->addLayout(gridLayout1, 0, 0, 1, 1);
193 
194 
196 
197  m_accessorScopeCB->setCurrentIndex(3);
198  m_assocFieldScopeCB->setCurrentIndex(3);
199 
200 
201  QMetaObject::connectSlotsByName(JavaCodeGenerationFormBase);
202  } // setupUi
203 
205  {
206  groupBox3->setTitle(tr2i18n("Project Generation", nullptr));
207  m_makeANTDocumentCheckBox->setText(tr2i18n("Create ANT build document", nullptr));
208  groupBox2->setTitle(tr2i18n("Auto-Generate Methods", nullptr));
209  m_generateConstructors->setText(tr2i18n("Empty constructor methods", nullptr));
210  m_generateAssocAccessors->setText(tr2i18n("Association accessor methods", nullptr));
211  m_generateAttribAccessors->setText(tr2i18n("Attribute accessor methods", nullptr));
212  textLabel1_3->setText(tr2i18n("Default attribute accessor scope:", nullptr));
213  m_accessorScopeCB->setItemText(0, tr2i18n("Public", nullptr));
214  m_accessorScopeCB->setItemText(1, tr2i18n("Private", nullptr));
215  m_accessorScopeCB->setItemText(2, tr2i18n("Protected", nullptr));
216  m_accessorScopeCB->setItemText(3, tr2i18n("From Parent Object", nullptr));
217 
218  ui_textLabelAssFieldScope->setText(tr2i18n("Default association field scope:", nullptr));
219  m_assocFieldScopeCB->setItemText(0, tr2i18n("Public", nullptr));
220  m_assocFieldScopeCB->setItemText(1, tr2i18n("Private", nullptr));
221  m_assocFieldScopeCB->setItemText(2, tr2i18n("Protected", nullptr));
222  m_assocFieldScopeCB->setItemText(3, tr2i18n("From Parent Role", nullptr));
223 
224  groupBox1->setTitle(tr2i18n("Documentation", nullptr));
225  ui_textLabelStyle->setText(tr2i18n("Style:", nullptr));
226  m_SelectCommentStyle->setItemText(0, tr2i18n("Slash-Slash (//)", nullptr));
227  m_SelectCommentStyle->setItemText(1, tr2i18n("Slash-Star (/** */)", nullptr));
228 
229  ui_textLabelTitle->setText(tr2i18n("<p align=\"center\">Java Code Generation</p>", nullptr));
231  } // retranslateUi
232 
233 };
234 
235 namespace Ui {
237 } // namespace Ui
238 
239 QT_END_NAMESPACE
240 
241 #endif // JAVACODEGENERATIONFORMBASE_H
242 
Definition: javacodegenerationpolicypage.h:20
Definition: ui_javacodegenerationformbase.h:236
Definition: ui_javacodegenerationformbase.h:28
QGridLayout * gridLayout
Definition: ui_javacodegenerationformbase.h:30
QCheckBox * m_generateAssocAccessors
Definition: ui_javacodegenerationformbase.h:39
QVBoxLayout * vboxLayout
Definition: ui_javacodegenerationformbase.h:33
QGroupBox * groupBox3
Definition: ui_javacodegenerationformbase.h:32
QGridLayout * gridLayout5
Definition: ui_javacodegenerationformbase.h:44
KComboBox * m_assocFieldScopeCB
Definition: ui_javacodegenerationformbase.h:46
QLabel * ui_textLabelTitle
Definition: ui_javacodegenerationformbase.h:51
QGroupBox * groupBox1
Definition: ui_javacodegenerationformbase.h:47
KComboBox * m_SelectCommentStyle
Definition: ui_javacodegenerationformbase.h:50
QCheckBox * m_makeANTDocumentCheckBox
Definition: ui_javacodegenerationformbase.h:34
QHBoxLayout * hboxLayout
Definition: ui_javacodegenerationformbase.h:48
void setupUi(QWidget *JavaCodeGenerationFormBase)
Definition: ui_javacodegenerationformbase.h:53
QGridLayout * gridLayout4
Definition: ui_javacodegenerationformbase.h:41
QGroupBox * groupBox2
Definition: ui_javacodegenerationformbase.h:35
QGridLayout * gridLayout3
Definition: ui_javacodegenerationformbase.h:37
QCheckBox * m_generateAttribAccessors
Definition: ui_javacodegenerationformbase.h:40
QLabel * textLabel1_3
Definition: ui_javacodegenerationformbase.h:42
QLabel * ui_textLabelStyle
Definition: ui_javacodegenerationformbase.h:49
QGridLayout * gridLayout2
Definition: ui_javacodegenerationformbase.h:36
QLabel * ui_textLabelAssFieldScope
Definition: ui_javacodegenerationformbase.h:45
QCheckBox * m_generateConstructors
Definition: ui_javacodegenerationformbase.h:38
void retranslateUi(QWidget *JavaCodeGenerationFormBase)
Definition: ui_javacodegenerationformbase.h:204
QGridLayout * gridLayout1
Definition: ui_javacodegenerationformbase.h:31
KComboBox * m_accessorScopeCB
Definition: ui_javacodegenerationformbase.h:43
Definition: ui_autolayoutoptionpage.h:125