umbrello  2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
ui_codegenselectpage.h
Go to the documentation of this file.
1 #include <klocalizedstring.h>
2 
3 /********************************************************************************
4 ** Form generated from reading UI file 'codegenselectpage.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_CODEGENSELECTPAGE_H
12 #define UI_CODEGENSELECTPAGE_H
13 
14 #include <QtCore/QVariant>
15 #include <QtGui/QIcon>
16 #include <QtWidgets/QApplication>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QListWidget>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QVBoxLayout>
23 #include <QtWidgets/QWidget>
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QHBoxLayout *horizontalLayout;
31  QHBoxLayout *hboxLayout;
32  QVBoxLayout *vboxLayout;
34  QListWidget *ui_listAvailable;
35  QVBoxLayout *vboxLayout1;
36  QSpacerItem *spacerItem;
37  QPushButton *ui_addButton;
38  QSpacerItem *spacerItem1;
39  QPushButton *ui_removeButton;
40  QSpacerItem *spacerItem2;
41  QVBoxLayout *vboxLayout2;
43  QListWidget *ui_listSelected;
44 
45  void setupUi(QWidget *CodeGenSelectPage)
46  {
47  if (CodeGenSelectPage->objectName().isEmpty())
48  CodeGenSelectPage->setObjectName(QString::fromUtf8("CodeGenSelectPage"));
49  CodeGenSelectPage->resize(642, 300);
50  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
51  sizePolicy.setHorizontalStretch(0);
52  sizePolicy.setVerticalStretch(0);
53  sizePolicy.setHeightForWidth(CodeGenSelectPage->sizePolicy().hasHeightForWidth());
54  CodeGenSelectPage->setSizePolicy(sizePolicy);
55  horizontalLayout = new QHBoxLayout(CodeGenSelectPage);
56  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
57  hboxLayout = new QHBoxLayout();
58  hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
59  vboxLayout = new QVBoxLayout();
60  vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
61  vboxLayout->setContentsMargins(0, -1, -1, -1);
63  ui_labelListAvailable->setObjectName(QString::fromUtf8("ui_labelListAvailable"));
64 
66 
67  ui_listAvailable = new QListWidget(CodeGenSelectPage);
68  ui_listAvailable->setObjectName(QString::fromUtf8("ui_listAvailable"));
69  ui_listAvailable->setAlternatingRowColors(true);
70  ui_listAvailable->setSelectionMode(QAbstractItemView::ExtendedSelection);
71  ui_listAvailable->setSortingEnabled(true);
72 
73  vboxLayout->addWidget(ui_listAvailable);
74 
75 
76  hboxLayout->addLayout(vboxLayout);
77 
78  vboxLayout1 = new QVBoxLayout();
79  vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
80  spacerItem = new QSpacerItem(20, 71, QSizePolicy::Minimum, QSizePolicy::Expanding);
81 
82  vboxLayout1->addItem(spacerItem);
83 
84  ui_addButton = new QPushButton(CodeGenSelectPage);
85  ui_addButton->setObjectName(QString::fromUtf8("ui_addButton"));
86  QIcon icon;
87  icon.addFile(QString::fromUtf8("../../../../../../.."), QSize(), QIcon::Normal, QIcon::Off);
88  ui_addButton->setIcon(icon);
89 
90  vboxLayout1->addWidget(ui_addButton);
91 
92  spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
93 
94  vboxLayout1->addItem(spacerItem1);
95 
96  ui_removeButton = new QPushButton(CodeGenSelectPage);
97  ui_removeButton->setObjectName(QString::fromUtf8("ui_removeButton"));
98  ui_removeButton->setIcon(icon);
99 
100  vboxLayout1->addWidget(ui_removeButton);
101 
102  spacerItem2 = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding);
103 
104  vboxLayout1->addItem(spacerItem2);
105 
106 
107  hboxLayout->addLayout(vboxLayout1);
108 
109  vboxLayout2 = new QVBoxLayout();
110  vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
111  vboxLayout2->setContentsMargins(0, -1, -1, -1);
113  ui_labelListSelected->setObjectName(QString::fromUtf8("ui_labelListSelected"));
114 
115  vboxLayout2->addWidget(ui_labelListSelected);
116 
117  ui_listSelected = new QListWidget(CodeGenSelectPage);
118  ui_listSelected->setObjectName(QString::fromUtf8("ui_listSelected"));
119  ui_listSelected->setAlternatingRowColors(true);
120  ui_listSelected->setSelectionMode(QAbstractItemView::ExtendedSelection);
121  ui_listSelected->setSortingEnabled(true);
122 
123  vboxLayout2->addWidget(ui_listSelected);
124 
125 
126  hboxLayout->addLayout(vboxLayout2);
127 
128 
129  horizontalLayout->addLayout(hboxLayout);
130 
131 
133 
134  QMetaObject::connectSlotsByName(CodeGenSelectPage);
135  } // setupUi
136 
138  {
139  CodeGenSelectPage->setWindowTitle(tr2i18n("Code Generation Selection", nullptr));
140  ui_labelListAvailable->setText(tr2i18n("Classes Available", nullptr));
141 #if QT_CONFIG(tooltip)
142  ui_addButton->setToolTip(tr2i18n("Add class for code generation", nullptr));
143 #endif // QT_CONFIG(tooltip)
144  ui_addButton->setText(tr2i18n("Add >>", nullptr));
145 #if QT_CONFIG(tooltip)
146  ui_removeButton->setToolTip(tr2i18n("Remove class from Code Generation", nullptr));
147 #endif // QT_CONFIG(tooltip)
148  ui_removeButton->setText(tr2i18n("<< Remove", nullptr));
149  ui_labelListSelected->setText(tr2i18n("Classes Selected", nullptr));
150  } // retranslateUi
151 
152 };
153 
154 namespace Ui {
156 } // namespace Ui
157 
158 QT_END_NAMESPACE
159 
160 #endif // CODEGENSELECTPAGE_H
161 
Definition: codegenselectpage.h:21
Definition: ui_codegenselectpage.h:155
Definition: ui_codegenselectpage.h:28
QPushButton * ui_addButton
Definition: ui_codegenselectpage.h:37
QHBoxLayout * horizontalLayout
Definition: ui_codegenselectpage.h:30
QLabel * ui_labelListAvailable
Definition: ui_codegenselectpage.h:33
QSpacerItem * spacerItem1
Definition: ui_codegenselectpage.h:38
QSpacerItem * spacerItem2
Definition: ui_codegenselectpage.h:40
QListWidget * ui_listSelected
Definition: ui_codegenselectpage.h:43
QListWidget * ui_listAvailable
Definition: ui_codegenselectpage.h:34
QSpacerItem * spacerItem
Definition: ui_codegenselectpage.h:36
QVBoxLayout * vboxLayout1
Definition: ui_codegenselectpage.h:35
QVBoxLayout * vboxLayout
Definition: ui_codegenselectpage.h:32
QLabel * ui_labelListSelected
Definition: ui_codegenselectpage.h:42
QPushButton * ui_removeButton
Definition: ui_codegenselectpage.h:39
void retranslateUi(QWidget *CodeGenSelectPage)
Definition: ui_codegenselectpage.h:137
void setupUi(QWidget *CodeGenSelectPage)
Definition: ui_codegenselectpage.h:45
QHBoxLayout * hboxLayout
Definition: ui_codegenselectpage.h:31
QVBoxLayout * vboxLayout2
Definition: ui_codegenselectpage.h:41
Definition: ui_autolayoutoptionpage.h:125