1 #include <klocalizedstring.h> 11 #ifndef UI_AUTOLAYOUTOPTIONPAGE_H 12 #define UI_AUTOLAYOUTOPTIONPAGE_H 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" 48 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
50 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
52 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
54 m_autoDotPath->setObjectName(QString::fromUtf8(
"m_autoDotPath"));
60 label->setObjectName(QString::fromUtf8(
"label"));
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());
71 m_dotPath->setSizeIncrement(QSize(10, 0));
72 m_dotPath->setMode(KFile::Directory|KFile::ExistingOnly);
76 verticalSpacer_2 =
new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
84 Other->setObjectName(QString::fromUtf8(
"Other"));
86 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
95 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
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));
131 #endif // AUTOLAYOUTOPTIONPAGE_H void setupUi(QWidget *AutoLayoutOptionPage)
Definition: ui_autolayoutoptionpage.h:42
QCheckBox * m_autoDotPath
Definition: ui_autolayoutoptionpage.h:33
QGroupBox * groupBox
Definition: ui_autolayoutoptionpage.h:31
QSpacerItem * verticalSpacer_2
Definition: ui_autolayoutoptionpage.h:36
KUrlRequester * m_dotPath
Definition: ui_autolayoutoptionpage.h:35
QSpacerItem * verticalSpacer
Definition: ui_autolayoutoptionpage.h:40
QGroupBox * Other
Definition: ui_autolayoutoptionpage.h:37
Definition: ui_autolayoutoptionpage.h:125
QGridLayout * gridLayout
Definition: ui_autolayoutoptionpage.h:32
QCheckBox * m_showExportLayout
Definition: ui_autolayoutoptionpage.h:39
QLabel * label
Definition: ui_autolayoutoptionpage.h:34
Definition: ui_autolayoutoptionpage.h:27
Definition: ui_autolayoutoptionpage.h:126
connect()
Definition: namespaces-multiple.php:5
QGridLayout * gridLayout_2
Definition: ui_autolayoutoptionpage.h:38
QVBoxLayout * vboxLayout
Definition: ui_autolayoutoptionpage.h:30
void retranslateUi(QWidget *AutoLayoutOptionPage)
Definition: ui_autolayoutoptionpage.h:106
Definition: autolayoutoptionpage.h:24