1#include <klocalizedstring.h>
11#ifndef UI_CODEVIEWEROPTIONSBASE_H
12#define UI_CODEVIEWEROPTIONSBASE_H
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"
50 void setupUi(QWidget *CodeViewerOptionsBase)
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());
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());
75 gridLayout1->setObjectName(QString::fromUtf8(
"gridLayout1"));
77 gridLayout2->setObjectName(QString::fromUtf8(
"gridLayout2"));
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());
96 paperLabel->setObjectName(QString::fromUtf8(
"paperLabel"));
97 sizePolicy2.setHeightForWidth(
paperLabel->sizePolicy().hasHeightForWidth());
110 selectedLabel->setObjectName(QString::fromUtf8(
"selectedLabel"));
111 sizePolicy2.setHeightForWidth(
selectedLabel->sizePolicy().hasHeightForWidth());
119 QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed);
120 sizePolicy3.setHorizontalStretch(0);
121 sizePolicy3.setVerticalStretch(0);
122 sizePolicy3.setHeightForWidth(
fontColorButton->sizePolicy().hasHeightForWidth());
132 gridLayout3->setObjectName(QString::fromUtf8(
"gridLayout3"));
135 QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Fixed);
136 sizePolicy4.setHorizontalStretch(0);
137 sizePolicy4.setVerticalStretch(0);
145 gridLayout4->setObjectName(QString::fromUtf8(
"gridLayout4"));
163 textLabel1->setObjectName(QString::fromUtf8(
"textLabel1"));
164 sizePolicy2.setHeightForWidth(
textLabel1->sizePolicy().hasHeightForWidth());
171 textLabel1_2->setObjectName(QString::fromUtf8(
"textLabel1_2"));
172 sizePolicy2.setHeightForWidth(
textLabel1_2->sizePolicy().hasHeightForWidth());
182 textLabel2->setObjectName(QString::fromUtf8(
"textLabel2"));
183 sizePolicy2.setHeightForWidth(
textLabel2->sizePolicy().hasHeightForWidth());
198 textLabel3->setObjectName(QString::fromUtf8(
"textLabel3"));
199 sizePolicy2.setHeightForWidth(
textLabel3->sizePolicy().hasHeightForWidth());
214 QMetaObject::connectSlotsByName(CodeViewerOptionsBase);
220 fontLabel->setText(tr2i18n(
"Font:",
nullptr));
222 paperLabel->setText(tr2i18n(
"Paper:",
nullptr));
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));
233 textLabel3->setText(tr2i18n(
"<p align=\"right\">Editable text:</p>",
nullptr));
234 (void)CodeViewerOptionsBase;
Definition: ui_codevieweroptionsbase.h:240
Definition: ui_codevieweroptionsbase.h:26
QGridLayout * gridLayout2
Definition: ui_codevieweroptionsbase.h:32
QLabel * textLabel1
Definition: ui_codevieweroptionsbase.h:44
QGroupBox * colorGroupBox
Definition: ui_codevieweroptionsbase.h:30
KColorButton * selectColorButton
Definition: ui_codevieweroptionsbase.h:34
KColorButton * m_hiddenBlockColorButton
Definition: ui_codevieweroptionsbase.h:42
KColorButton * paperColorButton
Definition: ui_codevieweroptionsbase.h:36
KColorButton * nonEditBlockColorButton
Definition: ui_codevieweroptionsbase.h:40
QGridLayout * gridLayout1
Definition: ui_codevieweroptionsbase.h:31
void setupUi(QWidget *CodeViewerOptionsBase)
Definition: ui_codevieweroptionsbase.h:50
QLabel * textLabel1_2
Definition: ui_codevieweroptionsbase.h:45
QLabel * selectedLabel
Definition: ui_codevieweroptionsbase.h:37
QLabel * fontLabel
Definition: ui_codevieweroptionsbase.h:33
KColorButton * editBlockColorButton
Definition: ui_codevieweroptionsbase.h:47
KFontChooser * fontChooser
Definition: ui_codevieweroptionsbase.h:29
QGridLayout * gridLayout3
Definition: ui_codevieweroptionsbase.h:39
KColorButton * umlObjectColorButton
Definition: ui_codevieweroptionsbase.h:43
QLabel * textLabel3
Definition: ui_codevieweroptionsbase.h:48
QGridLayout * gridLayout
Definition: ui_codevieweroptionsbase.h:28
QLabel * paperLabel
Definition: ui_codevieweroptionsbase.h:35
QLabel * textLabel2
Definition: ui_codevieweroptionsbase.h:46
KColorButton * fontColorButton
Definition: ui_codevieweroptionsbase.h:38
void retranslateUi(QWidget *CodeViewerOptionsBase)
Definition: ui_codevieweroptionsbase.h:217
QGridLayout * gridLayout4
Definition: ui_codevieweroptionsbase.h:41
Definition: ui_autolayoutoptionpage.h:125