9 #ifndef UI_PQCHANGEINPUTDIALOG_H 10 #define UI_PQCHANGEINPUTDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QFrame> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QVBoxLayout> 38 if (pqChangeInputDialog->objectName().isEmpty())
39 pqChangeInputDialog->setObjectName(QString::fromUtf8(
"pqChangeInputDialog"));
40 pqChangeInputDialog->resize(500, 400);
41 gridLayout =
new QGridLayout(pqChangeInputDialog);
42 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
43 buttonFrame =
new QFrame(pqChangeInputDialog);
44 buttonFrame->setObjectName(QString::fromUtf8(
"buttonFrame"));
45 buttonFrame->setFrameShape(QFrame::NoFrame);
46 verticalLayout =
new QVBoxLayout(buttonFrame);
47 verticalLayout->setContentsMargins(0, 0, 0, 0);
48 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
49 label =
new QLabel(buttonFrame);
50 label->setObjectName(QString::fromUtf8(
"label"));
52 verticalLayout->addWidget(label);
55 gridLayout->addWidget(buttonFrame, 0, 0, 2, 1);
57 line =
new QFrame(pqChangeInputDialog);
58 line->setObjectName(QString::fromUtf8(
"line"));
59 line->setFrameShape(QFrame::VLine);
60 line->setFrameShadow(QFrame::Sunken);
62 gridLayout->addWidget(line, 0, 1, 2, 1);
64 selectInputLabel =
new QLabel(pqChangeInputDialog);
65 selectInputLabel->setObjectName(QString::fromUtf8(
"selectInputLabel"));
67 gridLayout->addWidget(selectInputLabel, 0, 2, 1, 1);
70 pipelineView->setObjectName(QString::fromUtf8(
"pipelineView"));
72 gridLayout->addWidget(pipelineView, 1, 2, 1, 1);
74 buttonBox =
new QDialogButtonBox(pqChangeInputDialog);
75 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
76 buttonBox->setOrientation(Qt::Horizontal);
77 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
79 gridLayout->addWidget(buttonBox, 2, 0, 1, 3);
81 gridLayout->setRowStretch(1, 1);
82 gridLayout->setColumnStretch(2, 1);
85 QObject::connect(buttonBox, SIGNAL(accepted()), pqChangeInputDialog, SLOT(accept()));
86 QObject::connect(buttonBox, SIGNAL(rejected()), pqChangeInputDialog, SLOT(reject()));
88 QMetaObject::connectSlotsByName(pqChangeInputDialog);
93 pqChangeInputDialog->setWindowTitle(QCoreApplication::translate(
"pqChangeInputDialog",
"Change Input Dialog",
nullptr));
94 label->setText(QCoreApplication::translate(
"pqChangeInputDialog",
"Available Input Ports",
nullptr));
95 selectInputLabel->setText(QCoreApplication::translate(
"pqChangeInputDialog",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 96 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 97 "p, li { white-space: pre-wrap; }\n" 98 "</style></head><body style=\" font-family:'Helvetica'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 99 "<table style=\"-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;\">\n" 101 "<td style=\"border: none;\">\n" 102 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select <span style=\" font-weight:600;\">INPUT0</span></p></td></tr></table></body></html>",
nullptr));
113 #endif // UI_PQCHANGEINPUTDIALOG_H
The pqFlatTreeView class is used to display a flattened tree view of a hierarchical model...