umbrello 2.34.70-5524f40e1
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#include <klocalizedstring.h>
2
3/********************************************************************************
4** Form generated from reading UI file 'autolayoutoptionpage.ui'
5**
6** Created by: Qt User Interface Compiler version 5.15.2
7**
8** WARNING! All changes made in this file will be lost when recompiling UI file!
9********************************************************************************/
10
11#ifndef UI_AUTOLAYOUTOPTIONPAGE_H
12#define UI_AUTOLAYOUTOPTIONPAGE_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/QLabel>
20#include <QtWidgets/QSpacerItem>
21#include <QtWidgets/QVBoxLayout>
22#include <QtWidgets/QWidget>
23#include "kurlrequester.h"
24
25QT_BEGIN_NAMESPACE
26
28{
29public:
30 QVBoxLayout *vboxLayout;
31 QGroupBox *groupBox;
32 QGridLayout *gridLayout;
33 QCheckBox *m_autoDotPath;
34 QLabel *label;
35 KUrlRequester *m_dotPath;
36 QSpacerItem *verticalSpacer_2;
37 QGroupBox *Other;
38 QGridLayout *gridLayout_2;
40 QSpacerItem *verticalSpacer;
41
43 {
44 if (AutoLayoutOptionPage->objectName().isEmpty())
45 AutoLayoutOptionPage->setObjectName(QString::fromUtf8("AutoLayoutOptionPage"));
46 AutoLayoutOptionPage->resize(539, 270);
47 vboxLayout = new QVBoxLayout(AutoLayoutOptionPage);
48 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
49 groupBox = new QGroupBox(AutoLayoutOptionPage);
50 groupBox->setObjectName(QString::fromUtf8("groupBox"));
51 gridLayout = new QGridLayout(groupBox);
52 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
53 m_autoDotPath = new QCheckBox(groupBox);
54 m_autoDotPath->setObjectName(QString::fromUtf8("m_autoDotPath"));
55 m_autoDotPath->setChecked(true);
56
57 gridLayout->addWidget(m_autoDotPath, 0, 0, 1, 1);
58
59 label = new QLabel(groupBox);
60 label->setObjectName(QString::fromUtf8("label"));
61
62 gridLayout->addWidget(label, 2, 0, 1, 1);
63
64 m_dotPath = new KUrlRequester(groupBox);
65 m_dotPath->setObjectName(QString::fromUtf8("m_dotPath"));
66 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
67 sizePolicy.setHorizontalStretch(1);
68 sizePolicy.setVerticalStretch(0);
69 sizePolicy.setHeightForWidth(m_dotPath->sizePolicy().hasHeightForWidth());
70 m_dotPath->setSizePolicy(sizePolicy);
71 m_dotPath->setSizeIncrement(QSize(10, 0));
72 m_dotPath->setMode(KFile::Directory|KFile::ExistingOnly);
73
74 gridLayout->addWidget(m_dotPath, 3, 0, 1, 1);
75
76 verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
77
78 gridLayout->addItem(verticalSpacer_2, 1, 0, 1, 1);
79
80
81 vboxLayout->addWidget(groupBox);
82
83 Other = new QGroupBox(AutoLayoutOptionPage);
84 Other->setObjectName(QString::fromUtf8("Other"));
85 gridLayout_2 = new QGridLayout(Other);
86 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
87 m_showExportLayout = new QCheckBox(Other);
88 m_showExportLayout->setObjectName(QString::fromUtf8("m_showExportLayout"));
89
90 gridLayout_2->addWidget(m_showExportLayout, 1, 0, 1, 1);
91
92
93 vboxLayout->addWidget(Other);
94
95 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
96
97 vboxLayout->addItem(verticalSpacer);
98
99
101 QObject::connect(m_autoDotPath, SIGNAL(toggled(bool)), m_dotPath, SLOT(setDisabled(bool)));
102
103 QMetaObject::connectSlotsByName(AutoLayoutOptionPage);
104 } // setupUi
105
107 {
108 groupBox->setTitle(tr2i18n("Layout Generator", nullptr));
109#if QT_CONFIG(tooltip)
110 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"
111"<p>Umbrello has build 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));
112#endif // QT_CONFIG(tooltip)
113 m_autoDotPath->setText(tr2i18n("Auto detect layout generator", nullptr));
114 label->setText(tr2i18n("Generator executable path:", nullptr));
115 Other->setTitle(tr2i18n("Miscellaneous", nullptr));
116#if QT_CONFIG(tooltip)
117 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));
118#endif // QT_CONFIG(tooltip)
119 m_showExportLayout->setText(tr2i18n("Show export layout in diagram context menu", nullptr));
121 } // retranslateUi
122
123};
124
125namespace Ui {
127} // namespace Ui
128
129QT_END_NAMESPACE
130
131#endif // AUTOLAYOUTOPTIONPAGE_H
132
Definition: autolayoutoptionpage.h:20
Definition: ui_autolayoutoptionpage.h:126
Definition: ui_autolayoutoptionpage.h:28
QGridLayout * gridLayout
Definition: ui_autolayoutoptionpage.h:32
QGroupBox * groupBox
Definition: ui_autolayoutoptionpage.h:31
QGridLayout * gridLayout_2
Definition: ui_autolayoutoptionpage.h:38
QCheckBox * m_autoDotPath
Definition: ui_autolayoutoptionpage.h:33
QVBoxLayout * vboxLayout
Definition: ui_autolayoutoptionpage.h:30
KUrlRequester * m_dotPath
Definition: ui_autolayoutoptionpage.h:35
void retranslateUi(QWidget *AutoLayoutOptionPage)
Definition: ui_autolayoutoptionpage.h:106
QSpacerItem * verticalSpacer
Definition: ui_autolayoutoptionpage.h:40
QLabel * label
Definition: ui_autolayoutoptionpage.h:34
void setupUi(QWidget *AutoLayoutOptionPage)
Definition: ui_autolayoutoptionpage.h:42
QSpacerItem * verticalSpacer_2
Definition: ui_autolayoutoptionpage.h:36
QCheckBox * m_showExportLayout
Definition: ui_autolayoutoptionpage.h:39
QGroupBox * Other
Definition: ui_autolayoutoptionpage.h:37
connect()
Definition: namespaces-multiple.php:5
Definition: ui_autolayoutoptionpage.h:125