umbrello 26.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
ui_autolayoutoptionpage.h
Go to the documentation of this file.
1/********************************************************************************
2** Form generated from reading UI file 'autolayoutoptionpage.ui'
3**
4** Created by: Qt User Interface Compiler version 6.11.1
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_AUTOLAYOUTOPTIONPAGE_H
10#define UI_AUTOLAYOUTOPTIONPAGE_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QGridLayout>
16#include <QtWidgets/QGroupBox>
17#include <QtWidgets/QLabel>
18#include <QtWidgets/QSpacerItem>
19#include <QtWidgets/QVBoxLayout>
20#include <QtWidgets/QWidget>
21#include <klocalizedstring.h>
22#include "kurlrequester.h"
23
24QT_BEGIN_NAMESPACE
25
27{
28public:
29 QVBoxLayout *vboxLayout;
30 QGroupBox *groupBox;
31 QGridLayout *gridLayout;
32 QCheckBox *m_autoDotPath;
33 QLabel *label;
34 KUrlRequester *m_dotPath;
35 QSpacerItem *verticalSpacer_2;
36 QGroupBox *Other;
37 QGridLayout *gridLayout_2;
39 QSpacerItem *verticalSpacer;
40
42 {
43 if (AutoLayoutOptionPage->objectName().isEmpty())
44 AutoLayoutOptionPage->setObjectName("AutoLayoutOptionPage");
45 AutoLayoutOptionPage->resize(539, 270);
46 vboxLayout = new QVBoxLayout(AutoLayoutOptionPage);
47 vboxLayout->setObjectName("vboxLayout");
48 groupBox = new QGroupBox(AutoLayoutOptionPage);
49 groupBox->setObjectName("groupBox");
50 gridLayout = new QGridLayout(groupBox);
51 gridLayout->setObjectName("gridLayout");
52 m_autoDotPath = new QCheckBox(groupBox);
53 m_autoDotPath->setObjectName("m_autoDotPath");
54 m_autoDotPath->setChecked(true);
55
56 gridLayout->addWidget(m_autoDotPath, 0, 0, 1, 1);
57
58 label = new QLabel(groupBox);
59 label->setObjectName("label");
60
61 gridLayout->addWidget(label, 2, 0, 1, 1);
62
63 m_dotPath = new KUrlRequester(groupBox);
64 m_dotPath->setObjectName("m_dotPath");
65 QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Preferred);
66 sizePolicy.setHorizontalStretch(1);
67 sizePolicy.setVerticalStretch(0);
68 sizePolicy.setHeightForWidth(m_dotPath->sizePolicy().hasHeightForWidth());
69 m_dotPath->setSizePolicy(sizePolicy);
70 m_dotPath->setSizeIncrement(QSize(10, 0));
71 m_dotPath->setMode(KFile::Directory|KFile::ExistingOnly);
72
73 gridLayout->addWidget(m_dotPath, 3, 0, 1, 1);
74
75 verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
76
77 gridLayout->addItem(verticalSpacer_2, 1, 0, 1, 1);
78
79
80 vboxLayout->addWidget(groupBox);
81
82 Other = new QGroupBox(AutoLayoutOptionPage);
83 Other->setObjectName("Other");
84 gridLayout_2 = new QGridLayout(Other);
85 gridLayout_2->setObjectName("gridLayout_2");
86 m_showExportLayout = new QCheckBox(Other);
87 m_showExportLayout->setObjectName("m_showExportLayout");
88
89 gridLayout_2->addWidget(m_showExportLayout, 1, 0, 1, 1);
90
91
92 vboxLayout->addWidget(Other);
93
94 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
95
96 vboxLayout->addItem(verticalSpacer);
97
98
100 QObject::connect(m_autoDotPath, SIGNAL(toggled(bool)), m_dotPath, SLOT(setDisabled(bool)));
101
102 QMetaObject::connectSlotsByName(AutoLayoutOptionPage);
103 } // setupUi
104
106 {
107 groupBox->setTitle(tr2i18n("Layout Generator", nullptr));
108#if QT_CONFIG(tooltip)
109 m_autoDotPath->setToolTip(tr2i18n("<p>The auto layout feature depends on layout generators provided by the GraphViz package, which is normally installed aside Umbrello by a package manager.</p>\n"
110"<p>Umbrello has built in support for detecting the install location of these layout generators. For cases where this dependency is not available or do not fit, a different installation path could be provided.</p>", nullptr));
111#endif // QT_CONFIG(tooltip)
112 m_autoDotPath->setText(tr2i18n("Auto detect layout generator", nullptr));
113 label->setText(tr2i18n("Generator executable path:", nullptr));
114 Other->setTitle(tr2i18n("Miscellaneous", nullptr));
115#if QT_CONFIG(tooltip)
116 m_showExportLayout->setToolTip(tr2i18n("<p>Dot file export is performed by using the export layout.</p><p>With this option checked, the export layout is added to the list of available diagram layouts and enables a quick dot export preview.</p>", nullptr));
117#endif // QT_CONFIG(tooltip)
118 m_showExportLayout->setText(tr2i18n("Show export layout in diagram context menu", nullptr));
120 } // retranslateUi
121
122};
123
124namespace Ui {
126} // namespace Ui
127
128QT_END_NAMESPACE
129
130#endif // AUTOLAYOUTOPTIONPAGE_H
131
Definition autolayoutoptionpage.h:20
Definition ui_autolayoutoptionpage.h:125
Definition ui_autolayoutoptionpage.h:27
QGridLayout * gridLayout
Definition ui_autolayoutoptionpage.h:31
QGroupBox * groupBox
Definition ui_autolayoutoptionpage.h:30
QGridLayout * gridLayout_2
Definition ui_autolayoutoptionpage.h:37
QCheckBox * m_autoDotPath
Definition ui_autolayoutoptionpage.h:32
QVBoxLayout * vboxLayout
Definition ui_autolayoutoptionpage.h:29
KUrlRequester * m_dotPath
Definition ui_autolayoutoptionpage.h:34
void retranslateUi(QWidget *AutoLayoutOptionPage)
Definition ui_autolayoutoptionpage.h:105
QSpacerItem * verticalSpacer
Definition ui_autolayoutoptionpage.h:39
QLabel * label
Definition ui_autolayoutoptionpage.h:33
void setupUi(QWidget *AutoLayoutOptionPage)
Definition ui_autolayoutoptionpage.h:41
QSpacerItem * verticalSpacer_2
Definition ui_autolayoutoptionpage.h:35
QCheckBox * m_showExportLayout
Definition ui_autolayoutoptionpage.h:38
QGroupBox * Other
Definition ui_autolayoutoptionpage.h:36
Definition ui_autolayoutoptionpage.h:124