9 #ifndef UI_EXPORT_OBJECT_DIALOG_H 10 #define UI_EXPORT_OBJECT_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QFrame> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QProgressBar> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QVBoxLayout> 25 #include "widgets/export_objects_view.h" 32 QVBoxLayout *verticalLayout;
34 QFrame *progressFrame;
35 QHBoxLayout *horizontalLayout;
36 QLabel *progressLabel;
37 QProgressBar *progressBar;
38 QSpacerItem *horizontalSpacer;
39 QDialogButtonBox *buttonBox;
43 if (ExportObjectDialog->objectName().isEmpty())
44 ExportObjectDialog->setObjectName(QStringLiteral(
"ExportObjectDialog"));
45 ExportObjectDialog->resize(750, 520);
46 ExportObjectDialog->setSizeGripEnabled(
true);
47 verticalLayout =
new QVBoxLayout(ExportObjectDialog);
48 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
50 objectTree->setObjectName(QStringLiteral(
"objectTree"));
51 objectTree->setSortingEnabled(
true);
52 objectTree->setRootIsDecorated(
false);
53 objectTree->setUniformRowHeights(
true);
54 objectTree->setItemsExpandable(
false);
55 objectTree->setExpandsOnDoubleClick(
false);
57 verticalLayout->addWidget(objectTree);
59 progressFrame =
new QFrame(ExportObjectDialog);
60 progressFrame->setObjectName(QStringLiteral(
"progressFrame"));
61 progressFrame->setEnabled(
true);
62 progressFrame->setFrameShape(QFrame::NoFrame);
63 progressFrame->setFrameShadow(QFrame::Plain);
64 progressFrame->setLineWidth(0);
65 horizontalLayout =
new QHBoxLayout(progressFrame);
66 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
67 horizontalLayout->setContentsMargins(-1, 0, -1, 0);
68 progressLabel =
new QLabel(progressFrame);
69 progressLabel->setObjectName(QStringLiteral(
"progressLabel"));
71 horizontalLayout->addWidget(progressLabel);
73 progressBar =
new QProgressBar(progressFrame);
74 progressBar->setObjectName(QStringLiteral(
"progressBar"));
75 progressBar->setStyleSheet(QStringLiteral(
"QProgressBar { width: 10em; }"));
76 progressBar->setMaximum(0);
77 progressBar->setValue(-1);
78 progressBar->setTextVisible(
false);
80 horizontalLayout->addWidget(progressBar);
82 horizontalSpacer =
new QSpacerItem(387, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
84 horizontalLayout->addItem(horizontalSpacer);
86 horizontalLayout->setStretch(2, 1);
88 verticalLayout->addWidget(progressFrame);
90 buttonBox =
new QDialogButtonBox(ExportObjectDialog);
91 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
92 buttonBox->setOrientation(Qt::Horizontal);
93 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save|QDialogButtonBox::SaveAll);
95 verticalLayout->addWidget(buttonBox);
98 retranslateUi(ExportObjectDialog);
99 QObject::connect(buttonBox, SIGNAL(accepted()), ExportObjectDialog, SLOT(accept()));
100 QObject::connect(buttonBox, SIGNAL(rejected()), ExportObjectDialog, SLOT(reject()));
102 QMetaObject::connectSlotsByName(ExportObjectDialog);
105 void retranslateUi(QDialog *ExportObjectDialog)
107 ExportObjectDialog->setWindowTitle(QApplication::translate(
"ExportObjectDialog",
"Dialog", 0));
108 progressLabel->setText(QApplication::translate(
"ExportObjectDialog",
"Searching for objects", 0));
119 #endif // UI_EXPORT_OBJECT_DIALOG_H Definition: ui_about_dialog.h:291
Definition: ui_export_object_dialog.h:114
Definition: export_object_dialog.h:29
Definition: export_objects_view.h:17
Definition: ui_export_object_dialog.h:29