9 #ifndef UI_PQQUERYCOMPOSITETREEDIALOG_H 10 #define UI_PQQUERYCOMPOSITETREEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QHeaderView> 17 #include <QtWidgets/QVBoxLayout> 29 void setupUi(QDialog *pqQueryCompositeTreeDialog)
31 if (pqQueryCompositeTreeDialog->objectName().isEmpty())
32 pqQueryCompositeTreeDialog->setObjectName(QString::fromUtf8(
"pqQueryCompositeTreeDialog"));
33 pqQueryCompositeTreeDialog->resize(400, 300);
34 verticalLayout =
new QVBoxLayout(pqQueryCompositeTreeDialog);
35 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
36 Blocks =
new pqTreeView(pqQueryCompositeTreeDialog);
37 Blocks->setObjectName(QString::fromUtf8(
"Blocks"));
38 Blocks->setRootIsDecorated(
false);
39 Blocks->setHeaderHidden(
true);
41 verticalLayout->addWidget(Blocks);
43 buttonBox =
new QDialogButtonBox(pqQueryCompositeTreeDialog);
44 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
45 buttonBox->setOrientation(Qt::Horizontal);
46 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
48 verticalLayout->addWidget(buttonBox);
52 QObject::connect(buttonBox, SIGNAL(accepted()), pqQueryCompositeTreeDialog, SLOT(accept()));
53 QObject::connect(buttonBox, SIGNAL(rejected()), pqQueryCompositeTreeDialog, SLOT(reject()));
55 QMetaObject::connectSlotsByName(pqQueryCompositeTreeDialog);
60 pqQueryCompositeTreeDialog->setWindowTitle(QCoreApplication::translate(
"pqQueryCompositeTreeDialog",
"Select Block",
nullptr));
71 #endif // UI_PQQUERYCOMPOSITETREEDIALOG_H
void setupUi(QDialog *pqQueryCompositeTreeDialog)
QDialogButtonBox * buttonBox
: QTreeView subclass that add ParaView specific customizations.
void retranslateUi(QDialog *pqQueryCompositeTreeDialog)
QVBoxLayout * verticalLayout