umbrello  2.34.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
ui_rubycodegenerationformbase.h
Go to the documentation of this file.
1 #include <klocalizedstring.h>
2 
3 /********************************************************************************
4 ** Form generated from reading UI file 'rubycodegenerationformbase.ui'
5 **
6 ** Created by: Qt User Interface Compiler version 5.15.5
7 **
8 ** WARNING! All changes made in this file will be lost when recompiling UI file!
9 ********************************************************************************/
10 
11 #ifndef UI_RUBYCODEGENERATIONFORMBASE_H
12 #define UI_RUBYCODEGENERATIONFORMBASE_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  QLabel *ui_textLabelTitle;
33  QGroupBox *ui_groupBoxDocumentation;
34  QHBoxLayout *hboxLayout;
35  QLabel *ui_textLabelStyle;
38  QVBoxLayout *vboxLayout;
39  QGridLayout *gridLayout2;
43  QGridLayout *gridLayout3;
45  KComboBox *m_accessorScopeCB;
46  QGridLayout *gridLayout4;
48  KComboBox *m_assocFieldScopeCB;
49 
50  void setupUi(QWidget *RubyCodeGenerationFormBase)
51  {
52  if (RubyCodeGenerationFormBase->objectName().isEmpty())
53  RubyCodeGenerationFormBase->setObjectName(QString::fromUtf8("RubyCodeGenerationFormBase"));
54  RubyCodeGenerationFormBase->resize(462, 376);
55  gridLayout = new QGridLayout(RubyCodeGenerationFormBase);
56  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57  gridLayout1 = new QGridLayout();
58  gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
59  ui_textLabelTitle = new QLabel(RubyCodeGenerationFormBase);
60  ui_textLabelTitle->setObjectName(QString::fromUtf8("ui_textLabelTitle"));
61  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
62  sizePolicy.setHorizontalStretch(0);
63  sizePolicy.setVerticalStretch(0);
64  sizePolicy.setHeightForWidth(ui_textLabelTitle->sizePolicy().hasHeightForWidth());
65  ui_textLabelTitle->setSizePolicy(sizePolicy);
66  ui_textLabelTitle->setMaximumSize(QSize(16777215, 40));
67  ui_textLabelTitle->setWordWrap(false);
68 
69  gridLayout1->addWidget(ui_textLabelTitle, 0, 0, 1, 1);
70 
71  ui_groupBoxDocumentation = new QGroupBox(RubyCodeGenerationFormBase);
72  ui_groupBoxDocumentation->setObjectName(QString::fromUtf8("ui_groupBoxDocumentation"));
73  sizePolicy.setHeightForWidth(ui_groupBoxDocumentation->sizePolicy().hasHeightForWidth());
74  ui_groupBoxDocumentation->setSizePolicy(sizePolicy);
75  ui_groupBoxDocumentation->setMaximumSize(QSize(16777215, 100));
76  hboxLayout = new QHBoxLayout(ui_groupBoxDocumentation);
77  hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
79  ui_textLabelStyle->setObjectName(QString::fromUtf8("ui_textLabelStyle"));
80  ui_textLabelStyle->setWordWrap(false);
81 
82  hboxLayout->addWidget(ui_textLabelStyle);
83 
85  m_SelectCommentStyle->addItem(QString());
86  m_SelectCommentStyle->addItem(QString());
87  m_SelectCommentStyle->setObjectName(QString::fromUtf8("m_SelectCommentStyle"));
88 
89  hboxLayout->addWidget(m_SelectCommentStyle);
90 
91 
92  gridLayout1->addWidget(ui_groupBoxDocumentation, 1, 0, 1, 1);
93 
94  ui_groupBoxAutoGeneratedMethods = new QGroupBox(RubyCodeGenerationFormBase);
95  ui_groupBoxAutoGeneratedMethods->setObjectName(QString::fromUtf8("ui_groupBoxAutoGeneratedMethods"));
96  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
97  sizePolicy1.setHorizontalStretch(0);
98  sizePolicy1.setVerticalStretch(0);
99  sizePolicy1.setHeightForWidth(ui_groupBoxAutoGeneratedMethods->sizePolicy().hasHeightForWidth());
100  ui_groupBoxAutoGeneratedMethods->setSizePolicy(sizePolicy1);
101  vboxLayout = new QVBoxLayout(ui_groupBoxAutoGeneratedMethods);
102  vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
103  gridLayout2 = new QGridLayout();
104  gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
106  m_generateConstructors->setObjectName(QString::fromUtf8("m_generateConstructors"));
107  m_generateConstructors->setChecked(false);
108 
109  gridLayout2->addWidget(m_generateConstructors, 0, 0, 1, 1);
110 
112  m_generateAssocAccessors->setObjectName(QString::fromUtf8("m_generateAssocAccessors"));
113  m_generateAssocAccessors->setChecked(true);
114 
115  gridLayout2->addWidget(m_generateAssocAccessors, 2, 0, 1, 1);
116 
118  m_generateAttribAccessors->setObjectName(QString::fromUtf8("m_generateAttribAccessors"));
119  m_generateAttribAccessors->setChecked(true);
120 
121  gridLayout2->addWidget(m_generateAttribAccessors, 1, 0, 1, 1);
122 
123 
124  vboxLayout->addLayout(gridLayout2);
125 
126  gridLayout3 = new QGridLayout();
127  gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
129  ui_textLabelAccessorScope->setObjectName(QString::fromUtf8("ui_textLabelAccessorScope"));
130  ui_textLabelAccessorScope->setWordWrap(false);
131 
132  gridLayout3->addWidget(ui_textLabelAccessorScope, 0, 0, 1, 1);
133 
135  m_accessorScopeCB->addItem(QString());
136  m_accessorScopeCB->addItem(QString());
137  m_accessorScopeCB->addItem(QString());
138  m_accessorScopeCB->addItem(QString());
139  m_accessorScopeCB->setObjectName(QString::fromUtf8("m_accessorScopeCB"));
140 
141  gridLayout3->addWidget(m_accessorScopeCB, 0, 1, 1, 1);
142 
143 
144  vboxLayout->addLayout(gridLayout3);
145 
146  gridLayout4 = new QGridLayout();
147  gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
149  ui_textLabelAssocFieldScope->setObjectName(QString::fromUtf8("ui_textLabelAssocFieldScope"));
150  ui_textLabelAssocFieldScope->setWordWrap(false);
151 
152  gridLayout4->addWidget(ui_textLabelAssocFieldScope, 0, 0, 1, 1);
153 
155  m_assocFieldScopeCB->addItem(QString());
156  m_assocFieldScopeCB->addItem(QString());
157  m_assocFieldScopeCB->addItem(QString());
158  m_assocFieldScopeCB->addItem(QString());
159  m_assocFieldScopeCB->setObjectName(QString::fromUtf8("m_assocFieldScopeCB"));
160 
161  gridLayout4->addWidget(m_assocFieldScopeCB, 0, 1, 1, 1);
162 
163 
164  vboxLayout->addLayout(gridLayout4);
165 
166 
167  gridLayout1->addWidget(ui_groupBoxAutoGeneratedMethods, 2, 0, 1, 1);
168 
169 
170  gridLayout->addLayout(gridLayout1, 0, 0, 1, 1);
171 
172 
173  retranslateUi(RubyCodeGenerationFormBase);
174 
175  m_accessorScopeCB->setCurrentIndex(3);
176  m_assocFieldScopeCB->setCurrentIndex(3);
177 
178 
179  QMetaObject::connectSlotsByName(RubyCodeGenerationFormBase);
180  } // setupUi
181 
182  void retranslateUi(QWidget *RubyCodeGenerationFormBase)
183  {
184  ui_textLabelTitle->setText(tr2i18n("<p align=\"center\">Ruby Code Generation</p>", nullptr));
185  ui_groupBoxDocumentation->setTitle(tr2i18n("Documentation", nullptr));
186  ui_textLabelStyle->setText(tr2i18n("Style:", nullptr));
187  m_SelectCommentStyle->setItemText(0, tr2i18n("Hash (#)", nullptr));
188  m_SelectCommentStyle->setItemText(1, tr2i18n("Begin-End (=begin =end)", nullptr));
189 
190  ui_groupBoxAutoGeneratedMethods->setTitle(tr2i18n("Auto-Generated Methods", nullptr));
191  m_generateConstructors->setText(tr2i18n("Empty constructor methods", nullptr));
192  m_generateAssocAccessors->setText(tr2i18n("Association accessor methods", nullptr));
193  m_generateAttribAccessors->setText(tr2i18n("Attribute accessor methods", nullptr));
194  ui_textLabelAccessorScope->setText(tr2i18n("Default attribute accessor scope:", nullptr));
195  m_accessorScopeCB->setItemText(0, tr2i18n("Public", nullptr));
196  m_accessorScopeCB->setItemText(1, tr2i18n("Private", nullptr));
197  m_accessorScopeCB->setItemText(2, tr2i18n("Protected", nullptr));
198  m_accessorScopeCB->setItemText(3, tr2i18n("From Parent Object", nullptr));
199 
200  ui_textLabelAssocFieldScope->setText(tr2i18n("Default association field scope:", nullptr));
201  m_assocFieldScopeCB->setItemText(0, tr2i18n("Public", nullptr));
202  m_assocFieldScopeCB->setItemText(1, tr2i18n("Private", nullptr));
203  m_assocFieldScopeCB->setItemText(2, tr2i18n("Protected", nullptr));
204  m_assocFieldScopeCB->setItemText(3, tr2i18n("From Parent Role", nullptr));
205 
206  (void)RubyCodeGenerationFormBase;
207  } // retranslateUi
208 
209 };
210 
211 namespace Ui {
213 } // namespace Ui
214 
215 QT_END_NAMESPACE
216 
217 #endif // RUBYCODEGENERATIONFORMBASE_H
218 
Ui_RubyCodeGenerationFormBase::hboxLayout
QHBoxLayout * hboxLayout
Definition: ui_rubycodegenerationformbase.h:40
Ui_RubyCodeGenerationFormBase::ui_textLabelAccessorScope
QLabel * ui_textLabelAccessorScope
Definition: ui_rubycodegenerationformbase.h:50
Ui_RubyCodeGenerationFormBase::setupUi
void setupUi(QWidget *RubyCodeGenerationFormBase)
Definition: ui_rubycodegenerationformbase.h:56
Ui_RubyCodeGenerationFormBase::ui_groupBoxDocumentation
QGroupBox * ui_groupBoxDocumentation
Definition: ui_rubycodegenerationformbase.h:39
Ui_RubyCodeGenerationFormBase::m_generateAttribAccessors
QCheckBox * m_generateAttribAccessors
Definition: ui_rubycodegenerationformbase.h:48
Ui_RubyCodeGenerationFormBase::gridLayout1
QGridLayout * gridLayout1
Definition: ui_rubycodegenerationformbase.h:37
void
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
Definition: GPL-2.0-only.txt:165
Ui_RubyCodeGenerationFormBase::gridLayout2
QGridLayout * gridLayout2
Definition: ui_rubycodegenerationformbase.h:45
Ui::RubyCodeGenerationFormBase
Definition: ui_rubycodegenerationformbase.h:212
Ui_RubyCodeGenerationFormBase::m_accessorScopeCB
KComboBox * m_accessorScopeCB
Definition: ui_rubycodegenerationformbase.h:51
Ui_RubyCodeGenerationFormBase::gridLayout3
QGridLayout * gridLayout3
Definition: ui_rubycodegenerationformbase.h:49
Ui
Definition: ui_autolayoutoptionpage.h:125
Ui_RubyCodeGenerationFormBase::m_generateAssocAccessors
QCheckBox * m_generateAssocAccessors
Definition: ui_rubycodegenerationformbase.h:47
Ui_RubyCodeGenerationFormBase::gridLayout4
QGridLayout * gridLayout4
Definition: ui_rubycodegenerationformbase.h:52
Ui_RubyCodeGenerationFormBase::retranslateUi
void retranslateUi(QWidget *RubyCodeGenerationFormBase)
Definition: ui_rubycodegenerationformbase.h:188
Ui_RubyCodeGenerationFormBase::gridLayout
QGridLayout * gridLayout
Definition: ui_rubycodegenerationformbase.h:36
Ui_RubyCodeGenerationFormBase::ui_groupBoxAutoGeneratedMethods
QGroupBox * ui_groupBoxAutoGeneratedMethods
Definition: ui_rubycodegenerationformbase.h:43
Ui_RubyCodeGenerationFormBase::m_SelectCommentStyle
KComboBox * m_SelectCommentStyle
Definition: ui_rubycodegenerationformbase.h:42
Ui_RubyCodeGenerationFormBase::m_generateConstructors
QCheckBox * m_generateConstructors
Definition: ui_rubycodegenerationformbase.h:46
Ui_RubyCodeGenerationFormBase
Definition: ui_rubycodegenerationformbase.h:27
Ui_RubyCodeGenerationFormBase::m_assocFieldScopeCB
KComboBox * m_assocFieldScopeCB
Definition: ui_rubycodegenerationformbase.h:54
Ui_RubyCodeGenerationFormBase::ui_textLabelTitle
QLabel * ui_textLabelTitle
Definition: ui_rubycodegenerationformbase.h:38
Ui_RubyCodeGenerationFormBase::vboxLayout
QVBoxLayout * vboxLayout
Definition: ui_rubycodegenerationformbase.h:44
Ui_RubyCodeGenerationFormBase::ui_textLabelAssocFieldScope
QLabel * ui_textLabelAssocFieldScope
Definition: ui_rubycodegenerationformbase.h:53
Ui_RubyCodeGenerationFormBase::ui_textLabelStyle
QLabel * ui_textLabelStyle
Definition: ui_rubycodegenerationformbase.h:41