1 #include <klocalizedstring.h>
11 #ifndef UI_EXPORTALLVIEWSDIALOGBASE_H
12 #define UI_EXPORTALLVIEWSDIALOGBASE_H
14 #include <QtCore/QVariant>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QVBoxLayout>
20 #include <QtWidgets/QWidget>
21 #include "klineedit.h"
22 #include "kurlrequester.h"
37 void setupUi(QWidget *ExportAllViewsDialogBase)
39 if (ExportAllViewsDialogBase->objectName().isEmpty())
40 ExportAllViewsDialogBase->setObjectName(QString::fromUtf8(
"ExportAllViewsDialogBase"));
41 ExportAllViewsDialogBase->resize(368, 246);
42 ExportAllViewsDialogBase->setProperty(
"sizeGripEnabled", QVariant(
true));
43 verticalLayout =
new QVBoxLayout(ExportAllViewsDialogBase);
44 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
45 vboxLayout =
new QVBoxLayout();
46 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
47 kURLRequesterLabel =
new QLabel(ExportAllViewsDialogBase);
48 kURLRequesterLabel->setObjectName(QString::fromUtf8(
"kURLRequesterLabel"));
49 kURLRequesterLabel->setWordWrap(
false);
51 vboxLayout->addWidget(kURLRequesterLabel);
53 m_kURL =
new KUrlRequester(ExportAllViewsDialogBase);
54 m_kURL->setObjectName(QString::fromUtf8(
"m_kURL"));
56 vboxLayout->addWidget(m_kURL);
59 verticalLayout->addLayout(vboxLayout);
61 ui_imageTypeLayout =
new QHBoxLayout();
62 ui_imageTypeLayout->setObjectName(QString::fromUtf8(
"ui_imageTypeLayout"));
64 verticalLayout->addLayout(ui_imageTypeLayout);
66 ui_imageResolutionLayout =
new QHBoxLayout();
67 ui_imageResolutionLayout->setObjectName(QString::fromUtf8(
"ui_imageResolutionLayout"));
69 verticalLayout->addLayout(ui_imageResolutionLayout);
71 m_useFolders =
new QCheckBox(ExportAllViewsDialogBase);
72 m_useFolders->setObjectName(QString::fromUtf8(
"m_useFolders"));
74 verticalLayout->addWidget(m_useFolders);
76 #if QT_CONFIG(shortcut)
77 kURLRequesterLabel->setBuddy(m_kURL);
78 #endif // QT_CONFIG(shortcut)
82 QMetaObject::connectSlotsByName(ExportAllViewsDialogBase);
87 ExportAllViewsDialogBase->setWindowTitle(tr2i18n(
"Export All Views",
nullptr));
88 #if QT_CONFIG(tooltip)
89 kURLRequesterLabel->setToolTip(tr2i18n(
"The base directory used to save the images",
nullptr));
90 #endif // QT_CONFIG(tooltip)
91 kURLRequesterLabel->setText(tr2i18n(
"&Directory to save the diagrams in:",
nullptr));
92 #if QT_CONFIG(tooltip)
93 m_kURL->setToolTip(tr2i18n(
"The base directory used to save the images",
nullptr));
94 #endif // QT_CONFIG(tooltip)
95 #if QT_CONFIG(tooltip)
96 m_useFolders->setToolTip(tr2i18n(
"Create in the target directory the same tree structure used\n"
97 "in the document to store the views",
nullptr));
98 #endif // QT_CONFIG(tooltip)
99 #if QT_CONFIG(whatsthis)
100 m_useFolders->setWhatsThis(tr2i18n(
"The views are stored in folders in the document. The same tree structure used in the document to store the views can be created in the selected base directory with this option.\n"
101 "Only the folders made by the user are created in the base directory (Logical view, use case view and so on are not created).",
nullptr));
102 #endif // QT_CONFIG(whatsthis)
103 m_useFolders->setText(tr2i18n(
"Use &folders",
nullptr));
114 #endif // EXPORTALLVIEWSDIALOGBASE_H
QLabel * kURLRequesterLabel
Definition: ui_exportallviewsdialogbase.h:31
QVBoxLayout * vboxLayout
Definition: ui_exportallviewsdialogbase.h:30
Definition: ui_autolayoutoptionpage.h:125
KUrlRequester * m_kURL
Definition: ui_exportallviewsdialogbase.h:32
QHBoxLayout * ui_imageResolutionLayout
Definition: ui_exportallviewsdialogbase.h:34
Definition: ui_exportallviewsdialogbase.h:26
QVBoxLayout * verticalLayout
Definition: ui_exportallviewsdialogbase.h:29
Definition: ui_exportallviewsdialogbase.h:109
QCheckBox * m_useFolders
Definition: ui_exportallviewsdialogbase.h:35
QHBoxLayout * ui_imageTypeLayout
Definition: ui_exportallviewsdialogbase.h:33
void retranslateUi(QWidget *ExportAllViewsDialogBase)
Definition: ui_exportallviewsdialogbase.h:85
void setupUi(QWidget *ExportAllViewsDialogBase)
Definition: ui_exportallviewsdialogbase.h:37