9 #ifndef UI_PQCOMPARATIVEVISPANEL_H 10 #define UI_PQCOMPARATIVEVISPANEL_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QCheckBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QTableWidget> 23 #include <QtWidgets/QWidget> 55 if (pqComparativeVisPanel->objectName().isEmpty())
56 pqComparativeVisPanel->setObjectName(QString::fromUtf8(
"pqComparativeVisPanel"));
57 pqComparativeVisPanel->resize(237, 404);
58 gridLayout_2 =
new QGridLayout(pqComparativeVisPanel);
59 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
60 label =
new QLabel(pqComparativeVisPanel);
61 label->setObjectName(QString::fromUtf8(
"label"));
63 gridLayout_2->addWidget(label, 0, 0, 1, 1);
65 layoutX =
new pqSpinBox(pqComparativeVisPanel);
66 layoutX->setObjectName(QString::fromUtf8(
"layoutX"));
69 gridLayout_2->addWidget(layoutX, 0, 1, 1, 1);
71 label_2 =
new QLabel(pqComparativeVisPanel);
72 label_2->setObjectName(QString::fromUtf8(
"label_2"));
73 label_2->setAlignment(Qt::AlignCenter);
75 gridLayout_2->addWidget(label_2, 0, 2, 1, 1);
77 layoutY =
new pqSpinBox(pqComparativeVisPanel);
78 layoutY->setObjectName(QString::fromUtf8(
"layoutY"));
81 gridLayout_2->addWidget(layoutY, 0, 3, 1, 1);
83 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
85 gridLayout_2->addItem(horizontalSpacer, 0, 4, 1, 1);
87 showParameterLabels =
new QCheckBox(pqComparativeVisPanel);
88 showParameterLabels->setObjectName(QString::fromUtf8(
"showParameterLabels"));
90 gridLayout_2->addWidget(showParameterLabels, 1, 0, 1, 4);
92 activeParameters =
new QTableWidget(pqComparativeVisPanel);
93 if (activeParameters->columnCount() < 1)
94 activeParameters->setColumnCount(1);
95 QTableWidgetItem *__qtablewidgetitem =
new QTableWidgetItem();
96 activeParameters->setHorizontalHeaderItem(0, __qtablewidgetitem);
97 activeParameters->setObjectName(QString::fromUtf8(
"activeParameters"));
98 activeParameters->setEditTriggers(QAbstractItemView::NoEditTriggers);
99 activeParameters->setSelectionMode(QAbstractItemView::SingleSelection);
100 activeParameters->setSelectionBehavior(QAbstractItemView::SelectRows);
101 activeParameters->setCornerButtonEnabled(
false);
102 activeParameters->setRowCount(0);
103 activeParameters->setColumnCount(1);
104 activeParameters->horizontalHeader()->setDefaultSectionSize(17);
105 activeParameters->horizontalHeader()->setHighlightSections(
false);
106 activeParameters->horizontalHeader()->setStretchLastSection(
true);
107 activeParameters->verticalHeader()->setVisible(
true);
108 activeParameters->verticalHeader()->setHighlightSections(
false);
110 gridLayout_2->addWidget(activeParameters, 3, 0, 1, 5);
112 horizontalLayout_2 =
new QHBoxLayout();
113 horizontalLayout_2->setSpacing(2);
114 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
115 addParameter =
new QPushButton(pqComparativeVisPanel);
116 addParameter->setObjectName(QString::fromUtf8(
"addParameter"));
118 icon.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
119 addParameter->setIcon(icon);
121 horizontalLayout_2->addWidget(addParameter);
124 proxyCombo->setObjectName(QString::fromUtf8(
"proxyCombo"));
125 proxyCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);
127 horizontalLayout_2->addWidget(proxyCombo);
130 propertyCombo->setObjectName(QString::fromUtf8(
"propertyCombo"));
131 propertyCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);
133 horizontalLayout_2->addWidget(propertyCombo);
135 horizontalLayout_2->setStretch(2, 1);
137 gridLayout_2->addLayout(horizontalLayout_2, 4, 0, 1, 5);
140 cueGroup->setObjectName(QString::fromUtf8(
"cueGroup"));
141 gridLayout =
new QGridLayout(cueGroup);
142 gridLayout->setSpacing(2);
143 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
145 cueWidget->setObjectName(QString::fromUtf8(
"cueWidget"));
146 cueWidget->setEnabled(
false);
147 cueWidget->setSelectionMode(QAbstractItemView::ContiguousSelection);
148 cueWidget->horizontalHeader()->setStretchLastSection(
true);
150 gridLayout->addWidget(cueWidget, 1, 0, 1, 2);
152 multivalueHint =
new QLabel(cueGroup);
153 multivalueHint->setObjectName(QString::fromUtf8(
"multivalueHint"));
155 gridLayout->addWidget(multivalueHint, 0, 0, 1, 2);
158 gridLayout_2->addWidget(cueGroup, 5, 0, 1, 5);
160 overlay =
new QCheckBox(pqComparativeVisPanel);
161 overlay->setObjectName(QString::fromUtf8(
"overlay"));
163 gridLayout_2->addWidget(overlay, 2, 0, 1, 5);
168 QMetaObject::connectSlotsByName(pqComparativeVisPanel);
173 pqComparativeVisPanel->setWindowTitle(QCoreApplication::translate(
"pqComparativeVisPanel",
"Form",
nullptr));
174 label->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"Layout:",
nullptr));
175 label_2->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"x",
nullptr));
176 showParameterLabels->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"Automatic Parameter Labels",
nullptr));
177 QTableWidgetItem *___qtablewidgetitem = activeParameters->horizontalHeaderItem(0);
178 ___qtablewidgetitem->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"Parameter",
nullptr));
179 addParameter->setText(QString());
180 cueGroup->setTitle(QCoreApplication::translate(
"pqComparativeVisPanel",
"[Select Parameter]",
nullptr));
181 multivalueHint->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"Comma-separated values accepted.",
nullptr));
182 overlay->setText(QCoreApplication::translate(
"pqComparativeVisPanel",
"Overlay all comparisons",
nullptr));
193 #endif // UI_PQCOMPARATIVEVISPANEL_H QSpinBox which fires editingFinished() signal when the value is changed by steps (increments).
pqAnimatablePropertiesComboBox * propertyCombo
QPushButton * addParameter
QTableWidget * activeParameters
pqComparativeVisPanel is a properties page for the comparative view.
QHBoxLayout * horizontalLayout_2
pqCollapsedGroup * cueGroup
QCheckBox * showParameterLabels
QSpacerItem * horizontalSpacer
QGridLayout * gridLayout_2
pqComparativeCueWidget * cueWidget
void setupUi(QWidget *pqComparativeVisPanel)
pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy...
void retranslateUi(QWidget *pqComparativeVisPanel)
pqAnimatableProxyComboBox is a combo box that can list the animatable proxies.
pqAnimatableProxyComboBox * proxyCombo