umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
ui_codevieweroptionsbase.h
Go to the documentation of this file.
1 #include <klocalizedstring.h>
2 
3 /********************************************************************************
4 ** Form generated from reading UI file 'codevieweroptionsbase.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_CODEVIEWEROPTIONSBASE_H
12 #define UI_CODEVIEWEROPTIONSBASE_H
13 
14 #include <QtCore/QVariant>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QGroupBox>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QWidget>
20 #include "KFontChooser"
21 #include "kcolorbutton.h"
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QGridLayout *gridLayout;
29  KFontChooser *fontChooser;
30  QGroupBox *colorGroupBox;
31  QGridLayout *gridLayout1;
32  QGridLayout *gridLayout2;
33  QLabel *fontLabel;
34  KColorButton *selectColorButton;
35  QLabel *paperLabel;
36  KColorButton *paperColorButton;
37  QLabel *selectedLabel;
38  KColorButton *fontColorButton;
39  QGridLayout *gridLayout3;
40  KColorButton *nonEditBlockColorButton;
41  QGridLayout *gridLayout4;
42  KColorButton *m_hiddenBlockColorButton;
43  KColorButton *umlObjectColorButton;
44  QLabel *textLabel1;
45  QLabel *textLabel1_2;
46  QLabel *textLabel2;
47  KColorButton *editBlockColorButton;
48  QLabel *textLabel3;
49 
50  void setupUi(QWidget *CodeViewerOptionsBase)
51  {
52  if (CodeViewerOptionsBase->objectName().isEmpty())
53  CodeViewerOptionsBase->setObjectName(QString::fromUtf8("CodeViewerOptionsBase"));
54  CodeViewerOptionsBase->resize(486, 545);
55  gridLayout = new QGridLayout(CodeViewerOptionsBase);
56  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57  fontChooser = new KFontChooser(CodeViewerOptionsBase);
58  fontChooser->setObjectName(QString::fromUtf8("fontChooser"));
59  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
60  sizePolicy.setHorizontalStretch(0);
61  sizePolicy.setVerticalStretch(0);
62  sizePolicy.setHeightForWidth(fontChooser->sizePolicy().hasHeightForWidth());
63  fontChooser->setSizePolicy(sizePolicy);
64 
65  gridLayout->addWidget(fontChooser, 0, 0, 1, 1);
66 
67  colorGroupBox = new QGroupBox(CodeViewerOptionsBase);
68  colorGroupBox->setObjectName(QString::fromUtf8("colorGroupBox"));
69  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
70  sizePolicy1.setHorizontalStretch(0);
71  sizePolicy1.setVerticalStretch(0);
72  sizePolicy1.setHeightForWidth(colorGroupBox->sizePolicy().hasHeightForWidth());
73  colorGroupBox->setSizePolicy(sizePolicy1);
74  gridLayout1 = new QGridLayout(colorGroupBox);
75  gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
76  gridLayout2 = new QGridLayout();
77  gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
78  fontLabel = new QLabel(colorGroupBox);
79  fontLabel->setObjectName(QString::fromUtf8("fontLabel"));
80  QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
81  sizePolicy2.setHorizontalStretch(0);
82  sizePolicy2.setVerticalStretch(0);
83  sizePolicy2.setHeightForWidth(fontLabel->sizePolicy().hasHeightForWidth());
84  fontLabel->setSizePolicy(sizePolicy2);
85  fontLabel->setWordWrap(false);
86 
87  gridLayout2->addWidget(fontLabel, 0, 2, 1, 1);
88 
89  selectColorButton = new KColorButton(colorGroupBox);
90  selectColorButton->setObjectName(QString::fromUtf8("selectColorButton"));
91  selectColorButton->setColor(QColor(255, 255, 127));
92 
93  gridLayout2->addWidget(selectColorButton, 0, 5, 1, 1);
94 
95  paperLabel = new QLabel(colorGroupBox);
96  paperLabel->setObjectName(QString::fromUtf8("paperLabel"));
97  sizePolicy2.setHeightForWidth(paperLabel->sizePolicy().hasHeightForWidth());
98  paperLabel->setSizePolicy(sizePolicy2);
99  paperLabel->setWordWrap(false);
100 
101  gridLayout2->addWidget(paperLabel, 0, 0, 1, 1);
102 
103  paperColorButton = new KColorButton(colorGroupBox);
104  paperColorButton->setObjectName(QString::fromUtf8("paperColorButton"));
105  paperColorButton->setColor(QColor(255, 255, 255));
106 
107  gridLayout2->addWidget(paperColorButton, 0, 1, 1, 1);
108 
109  selectedLabel = new QLabel(colorGroupBox);
110  selectedLabel->setObjectName(QString::fromUtf8("selectedLabel"));
111  sizePolicy2.setHeightForWidth(selectedLabel->sizePolicy().hasHeightForWidth());
112  selectedLabel->setSizePolicy(sizePolicy2);
113  selectedLabel->setWordWrap(false);
114 
115  gridLayout2->addWidget(selectedLabel, 0, 4, 1, 1);
116 
117  fontColorButton = new KColorButton(colorGroupBox);
118  fontColorButton->setObjectName(QString::fromUtf8("fontColorButton"));
119  QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed);
120  sizePolicy3.setHorizontalStretch(0);
121  sizePolicy3.setVerticalStretch(0);
122  sizePolicy3.setHeightForWidth(fontColorButton->sizePolicy().hasHeightForWidth());
123  fontColorButton->setSizePolicy(sizePolicy3);
124  fontColorButton->setColor(QColor(0, 0, 0));
125 
126  gridLayout2->addWidget(fontColorButton, 0, 3, 1, 1);
127 
128 
129  gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1);
130 
131  gridLayout3 = new QGridLayout();
132  gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
133  nonEditBlockColorButton = new KColorButton(colorGroupBox);
134  nonEditBlockColorButton->setObjectName(QString::fromUtf8("nonEditBlockColorButton"));
135  QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Fixed);
136  sizePolicy4.setHorizontalStretch(0);
137  sizePolicy4.setVerticalStretch(0);
138  sizePolicy4.setHeightForWidth(nonEditBlockColorButton->sizePolicy().hasHeightForWidth());
139  nonEditBlockColorButton->setSizePolicy(sizePolicy4);
140  nonEditBlockColorButton->setColor(QColor(213, 213, 213));
141 
142  gridLayout3->addWidget(nonEditBlockColorButton, 1, 3, 1, 1);
143 
144  gridLayout4 = new QGridLayout();
145  gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
146  m_hiddenBlockColorButton = new KColorButton(colorGroupBox);
147  m_hiddenBlockColorButton->setObjectName(QString::fromUtf8("m_hiddenBlockColorButton"));
148  sizePolicy4.setHeightForWidth(m_hiddenBlockColorButton->sizePolicy().hasHeightForWidth());
149  m_hiddenBlockColorButton->setSizePolicy(sizePolicy4);
150  m_hiddenBlockColorButton->setColor(QColor(166, 254, 248));
151 
152  gridLayout4->addWidget(m_hiddenBlockColorButton, 0, 3, 1, 1);
153 
154  umlObjectColorButton = new KColorButton(colorGroupBox);
155  umlObjectColorButton->setObjectName(QString::fromUtf8("umlObjectColorButton"));
156  sizePolicy4.setHeightForWidth(umlObjectColorButton->sizePolicy().hasHeightForWidth());
157  umlObjectColorButton->setSizePolicy(sizePolicy4);
158  umlObjectColorButton->setColor(QColor(255, 170, 255));
159 
160  gridLayout4->addWidget(umlObjectColorButton, 0, 1, 1, 1);
161 
162  textLabel1 = new QLabel(colorGroupBox);
163  textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
164  sizePolicy2.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
165  textLabel1->setSizePolicy(sizePolicy2);
166  textLabel1->setWordWrap(false);
167 
168  gridLayout4->addWidget(textLabel1, 0, 0, 1, 1);
169 
170  textLabel1_2 = new QLabel(colorGroupBox);
171  textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
172  sizePolicy2.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
173  textLabel1_2->setSizePolicy(sizePolicy2);
174  textLabel1_2->setWordWrap(false);
175 
176  gridLayout4->addWidget(textLabel1_2, 0, 2, 1, 1);
177 
178 
179  gridLayout3->addLayout(gridLayout4, 0, 0, 1, 4);
180 
181  textLabel2 = new QLabel(colorGroupBox);
182  textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
183  sizePolicy2.setHeightForWidth(textLabel2->sizePolicy().hasHeightForWidth());
184  textLabel2->setSizePolicy(sizePolicy2);
185  textLabel2->setWordWrap(false);
186 
187  gridLayout3->addWidget(textLabel2, 1, 2, 1, 1);
188 
189  editBlockColorButton = new KColorButton(colorGroupBox);
190  editBlockColorButton->setObjectName(QString::fromUtf8("editBlockColorButton"));
191  sizePolicy4.setHeightForWidth(editBlockColorButton->sizePolicy().hasHeightForWidth());
192  editBlockColorButton->setSizePolicy(sizePolicy4);
193  editBlockColorButton->setColor(QColor(255, 170, 255));
194 
195  gridLayout3->addWidget(editBlockColorButton, 1, 1, 1, 1);
196 
197  textLabel3 = new QLabel(colorGroupBox);
198  textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
199  sizePolicy2.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
200  textLabel3->setSizePolicy(sizePolicy2);
201  textLabel3->setWordWrap(false);
202 
203  gridLayout3->addWidget(textLabel3, 1, 0, 1, 1);
204 
205 
206  gridLayout1->addLayout(gridLayout3, 1, 0, 1, 1);
207 
208 
209  gridLayout->addWidget(colorGroupBox, 1, 0, 1, 1);
210 
211 
212  retranslateUi(CodeViewerOptionsBase);
213 
214  QMetaObject::connectSlotsByName(CodeViewerOptionsBase);
215  } // setupUi
216 
217  void retranslateUi(QWidget *CodeViewerOptionsBase)
218  {
219  colorGroupBox->setTitle(tr2i18n("Colors", nullptr));
220  fontLabel->setText(tr2i18n("Font:", nullptr));
221  selectColorButton->setText(QString());
222  paperLabel->setText(tr2i18n("Paper:", nullptr));
223  paperColorButton->setText(QString());
224  selectedLabel->setText(tr2i18n("Selected:", nullptr));
225  fontColorButton->setText(QString());
226  nonEditBlockColorButton->setText(QString());
227  m_hiddenBlockColorButton->setText(QString());
228  umlObjectColorButton->setText(QString());
229  textLabel1->setText(tr2i18n("<p align=\"right\">UML object block:</p>", nullptr));
230  textLabel1_2->setText(tr2i18n("<p align=\"right\">Hidden block:</p>", nullptr));
231  textLabel2->setText(tr2i18n("<p align=\"right\">Uneditable text:</p>", nullptr));
232  editBlockColorButton->setText(QString());
233  textLabel3->setText(tr2i18n("<p align=\"right\">Editable text:</p>", nullptr));
234  (void)CodeViewerOptionsBase;
235  } // retranslateUi
236 
237 };
238 
239 namespace Ui {
241 } // namespace Ui
242 
243 QT_END_NAMESPACE
244 
245 #endif // CODEVIEWEROPTIONSBASE_H
246 
Ui_CodeViewerOptionsBase::selectColorButton
KColorButton * selectColorButton
Definition: ui_codevieweroptionsbase.h:40
Ui_CodeViewerOptionsBase::umlObjectColorButton
KColorButton * umlObjectColorButton
Definition: ui_codevieweroptionsbase.h:49
Ui_CodeViewerOptionsBase::setupUi
void setupUi(QWidget *CodeViewerOptionsBase)
Definition: ui_codevieweroptionsbase.h:56
Ui_CodeViewerOptionsBase::gridLayout
QGridLayout * gridLayout
Definition: ui_codevieweroptionsbase.h:34
Ui_CodeViewerOptionsBase::fontChooser
KFontChooser * fontChooser
Definition: ui_codevieweroptionsbase.h:35
Ui_CodeViewerOptionsBase::textLabel2
QLabel * textLabel2
Definition: ui_codevieweroptionsbase.h:52
Ui_CodeViewerOptionsBase::editBlockColorButton
KColorButton * editBlockColorButton
Definition: ui_codevieweroptionsbase.h:53
Ui_CodeViewerOptionsBase::fontColorButton
KColorButton * fontColorButton
Definition: ui_codevieweroptionsbase.h:44
Ui_CodeViewerOptionsBase::paperLabel
QLabel * paperLabel
Definition: ui_codevieweroptionsbase.h:41
Ui_CodeViewerOptionsBase
Definition: ui_codevieweroptionsbase.h:25
Ui_CodeViewerOptionsBase::paperColorButton
KColorButton * paperColorButton
Definition: ui_codevieweroptionsbase.h:42
Ui_CodeViewerOptionsBase::fontLabel
QLabel * fontLabel
Definition: ui_codevieweroptionsbase.h:39
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
Definition: ui_autolayoutoptionpage.h:125
Ui_CodeViewerOptionsBase::gridLayout1
QGridLayout * gridLayout1
Definition: ui_codevieweroptionsbase.h:37
Ui_CodeViewerOptionsBase::selectedLabel
QLabel * selectedLabel
Definition: ui_codevieweroptionsbase.h:43
Ui::CodeViewerOptionsBase
Definition: ui_codevieweroptionsbase.h:240
Ui_CodeViewerOptionsBase::retranslateUi
void retranslateUi(QWidget *CodeViewerOptionsBase)
Definition: ui_codevieweroptionsbase.h:223
Ui_CodeViewerOptionsBase::gridLayout2
QGridLayout * gridLayout2
Definition: ui_codevieweroptionsbase.h:38
Ui_CodeViewerOptionsBase::nonEditBlockColorButton
KColorButton * nonEditBlockColorButton
Definition: ui_codevieweroptionsbase.h:46
Ui_CodeViewerOptionsBase::textLabel3
QLabel * textLabel3
Definition: ui_codevieweroptionsbase.h:54
Ui_CodeViewerOptionsBase::colorGroupBox
QGroupBox * colorGroupBox
Definition: ui_codevieweroptionsbase.h:36
Ui_CodeViewerOptionsBase::m_hiddenBlockColorButton
KColorButton * m_hiddenBlockColorButton
Definition: ui_codevieweroptionsbase.h:48
Ui_CodeViewerOptionsBase::gridLayout3
QGridLayout * gridLayout3
Definition: ui_codevieweroptionsbase.h:45
Ui_CodeViewerOptionsBase::textLabel1
QLabel * textLabel1
Definition: ui_codevieweroptionsbase.h:50
Ui_CodeViewerOptionsBase::textLabel1_2
QLabel * textLabel1_2
Definition: ui_codevieweroptionsbase.h:51
Ui_CodeViewerOptionsBase::gridLayout4
QGridLayout * gridLayout4
Definition: ui_codevieweroptionsbase.h:47