9 #ifndef UI_PQCUSTOMFILTERDEFINITIONWIZARD_H 10 #define UI_PQCUSTOMFILTERDEFINITIONWIZARD_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QAbstractScrollArea> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QComboBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QFrame> 19 #include <QtWidgets/QGridLayout> 20 #include <QtWidgets/QHBoxLayout> 21 #include <QtWidgets/QHeaderView> 22 #include <QtWidgets/QLabel> 23 #include <QtWidgets/QLineEdit> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QSpacerItem> 26 #include <QtWidgets/QStackedWidget> 27 #include <QtWidgets/QToolButton> 28 #include <QtWidgets/QTreeWidget> 29 #include <QtWidgets/QVBoxLayout> 30 #include <QtWidgets/QWidget> 127 if (pqCustomFilterDefinitionWizard->objectName().isEmpty())
128 pqCustomFilterDefinitionWizard->setObjectName(QString::fromUtf8(
"pqCustomFilterDefinitionWizard"));
129 pqCustomFilterDefinitionWizard->resize(500, 370);
130 vboxLayout =
new QVBoxLayout(pqCustomFilterDefinitionWizard);
131 vboxLayout->setSpacing(0);
132 vboxLayout->setContentsMargins(0, 0, 0, 0);
133 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
134 TitleFrame =
new QFrame(pqCustomFilterDefinitionWizard);
135 TitleFrame->setObjectName(QString::fromUtf8(
"TitleFrame"));
136 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
137 sizePolicy.setHorizontalStretch(0);
138 sizePolicy.setVerticalStretch(0);
139 sizePolicy.setHeightForWidth(TitleFrame->sizePolicy().hasHeightForWidth());
140 TitleFrame->setSizePolicy(sizePolicy);
141 TitleFrame->setMinimumSize(QSize(0, 70));
142 TitleFrame->setMaximumSize(QSize(16777215, 70));
143 TitleFrame->setFrameShape(QFrame::NoFrame);
144 TitleFrame->setFrameShadow(QFrame::Plain);
145 hboxLayout =
new QHBoxLayout(TitleFrame);
146 hboxLayout->setSpacing(0);
147 hboxLayout->setContentsMargins(0, 0, 0, 0);
148 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
149 WizardImage =
new QLabel(TitleFrame);
150 WizardImage->setObjectName(QString::fromUtf8(
"WizardImage"));
151 WizardImage->setMinimumSize(QSize(178, 0));
152 WizardImage->setPixmap(QPixmap(QString::fromUtf8(
":/pqWidgets/Icons/pvIcon.svg")));
153 WizardImage->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
155 hboxLayout->addWidget(WizardImage);
157 TitleStack =
new QStackedWidget(TitleFrame);
158 TitleStack->setObjectName(QString::fromUtf8(
"TitleStack"));
159 TitleNamePage =
new QWidget();
160 TitleNamePage->setObjectName(QString::fromUtf8(
"TitleNamePage"));
161 hboxLayout1 =
new QHBoxLayout(TitleNamePage);
163 hboxLayout1->setSpacing(6);
166 hboxLayout1->setContentsMargins(9, 9, 9, 9);
168 hboxLayout1->setObjectName(QString::fromUtf8(
"hboxLayout1"));
169 label =
new QLabel(TitleNamePage);
170 label->setObjectName(QString::fromUtf8(
"label"));
172 hboxLayout1->addWidget(label);
174 TitleStack->addWidget(TitleNamePage);
175 TitleInputPage =
new QWidget();
176 TitleInputPage->setObjectName(QString::fromUtf8(
"TitleInputPage"));
177 hboxLayout2 =
new QHBoxLayout(TitleInputPage);
179 hboxLayout2->setSpacing(6);
182 hboxLayout2->setContentsMargins(9, 9, 9, 9);
184 hboxLayout2->setObjectName(QString::fromUtf8(
"hboxLayout2"));
185 label_4 =
new QLabel(TitleInputPage);
186 label_4->setObjectName(QString::fromUtf8(
"label_4"));
188 hboxLayout2->addWidget(label_4);
190 TitleStack->addWidget(TitleInputPage);
191 TitleOutputPage =
new QWidget();
192 TitleOutputPage->setObjectName(QString::fromUtf8(
"TitleOutputPage"));
193 hboxLayout3 =
new QHBoxLayout(TitleOutputPage);
195 hboxLayout3->setSpacing(6);
198 hboxLayout3->setContentsMargins(9, 9, 9, 9);
200 hboxLayout3->setObjectName(QString::fromUtf8(
"hboxLayout3"));
201 label_5 =
new QLabel(TitleOutputPage);
202 label_5->setObjectName(QString::fromUtf8(
"label_5"));
204 hboxLayout3->addWidget(label_5);
206 TitleStack->addWidget(TitleOutputPage);
207 TitlePropertyPage =
new QWidget();
208 TitlePropertyPage->setObjectName(QString::fromUtf8(
"TitlePropertyPage"));
209 hboxLayout4 =
new QHBoxLayout(TitlePropertyPage);
211 hboxLayout4->setSpacing(6);
214 hboxLayout4->setContentsMargins(9, 9, 9, 9);
216 hboxLayout4->setObjectName(QString::fromUtf8(
"hboxLayout4"));
217 label_6 =
new QLabel(TitlePropertyPage);
218 label_6->setObjectName(QString::fromUtf8(
"label_6"));
220 hboxLayout4->addWidget(label_6);
222 TitleStack->addWidget(TitlePropertyPage);
224 hboxLayout->addWidget(TitleStack);
227 vboxLayout->addWidget(TitleFrame);
229 frame_4 =
new QFrame(pqCustomFilterDefinitionWizard);
230 frame_4->setObjectName(QString::fromUtf8(
"frame_4"));
231 frame_4->setFrameShape(QFrame::HLine);
232 frame_4->setFrameShadow(QFrame::Sunken);
234 vboxLayout->addWidget(frame_4);
236 InputFrame =
new QFrame(pqCustomFilterDefinitionWizard);
237 InputFrame->setObjectName(QString::fromUtf8(
"InputFrame"));
238 InputFrame->setFrameShape(QFrame::NoFrame);
239 InputFrame->setFrameShadow(QFrame::Plain);
240 gridLayout =
new QGridLayout(InputFrame);
242 gridLayout->setSpacing(6);
245 gridLayout->setContentsMargins(9, 9, 9, 9);
247 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
248 PageStack =
new QStackedWidget(InputFrame);
249 PageStack->setObjectName(QString::fromUtf8(
"PageStack"));
250 NamePage =
new QWidget();
251 NamePage->setObjectName(QString::fromUtf8(
"NamePage"));
252 gridLayout1 =
new QGridLayout(NamePage);
254 gridLayout1->setSpacing(6);
257 gridLayout1->setContentsMargins(9, 9, 9, 9);
259 gridLayout1->setObjectName(QString::fromUtf8(
"gridLayout1"));
260 spacerItem =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
262 gridLayout1->addItem(spacerItem, 2, 1, 1, 1);
264 label_3 =
new QLabel(NamePage);
265 label_3->setObjectName(QString::fromUtf8(
"label_3"));
266 label_3->setWordWrap(
true);
268 gridLayout1->addWidget(label_3, 1, 0, 1, 2);
270 label_2 =
new QLabel(NamePage);
271 label_2->setObjectName(QString::fromUtf8(
"label_2"));
273 gridLayout1->addWidget(label_2, 3, 0, 1, 1);
275 CustomFilterName =
new QLineEdit(NamePage);
276 CustomFilterName->setObjectName(QString::fromUtf8(
"CustomFilterName"));
278 gridLayout1->addWidget(CustomFilterName, 3, 1, 1, 1);
280 spacerItem1 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
282 gridLayout1->addItem(spacerItem1, 4, 1, 1, 1);
284 PageStack->addWidget(NamePage);
285 InputPage =
new QWidget();
286 InputPage->setObjectName(QString::fromUtf8(
"InputPage"));
287 gridLayout2 =
new QGridLayout(InputPage);
289 gridLayout2->setSpacing(6);
292 gridLayout2->setContentsMargins(9, 9, 9, 9);
294 gridLayout2->setObjectName(QString::fromUtf8(
"gridLayout2"));
295 label_9 =
new QLabel(InputPage);
296 label_9->setObjectName(QString::fromUtf8(
"label_9"));
297 label_9->setWordWrap(
true);
299 gridLayout2->addWidget(label_9, 0, 0, 1, 3);
302 InputPipeline->setObjectName(QString::fromUtf8(
"InputPipeline"));
303 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Expanding);
304 sizePolicy1.setHorizontalStretch(0);
305 sizePolicy1.setVerticalStretch(0);
306 sizePolicy1.setHeightForWidth(InputPipeline->sizePolicy().hasHeightForWidth());
307 InputPipeline->setSizePolicy(sizePolicy1);
308 InputPipeline->setMinimumSize(QSize(140, 0));
309 InputPipeline->setMaximumSize(QSize(140, 16777215));
311 gridLayout2->addWidget(InputPipeline, 1, 0, 4, 1);
313 InputPorts =
new QTreeWidget(InputPage);
314 InputPorts->setObjectName(QString::fromUtf8(
"InputPorts"));
315 InputPorts->setAlternatingRowColors(
true);
316 InputPorts->setRootIsDecorated(
false);
317 InputPorts->setUniformRowHeights(
true);
319 gridLayout2->addWidget(InputPorts, 1, 1, 1, 2);
321 InputName =
new QLineEdit(InputPage);
322 InputName->setObjectName(QString::fromUtf8(
"InputName"));
324 gridLayout2->addWidget(InputName, 4, 2, 1, 1);
326 label_7 =
new QLabel(InputPage);
327 label_7->setObjectName(QString::fromUtf8(
"label_7"));
329 gridLayout2->addWidget(label_7, 3, 1, 1, 1);
331 label_8 =
new QLabel(InputPage);
332 label_8->setObjectName(QString::fromUtf8(
"label_8"));
334 gridLayout2->addWidget(label_8, 4, 1, 1, 1);
336 InputCombo =
new QComboBox(InputPage);
337 InputCombo->setObjectName(QString::fromUtf8(
"InputCombo"));
339 gridLayout2->addWidget(InputCombo, 3, 2, 1, 1);
341 frame =
new QFrame(InputPage);
342 frame->setObjectName(QString::fromUtf8(
"frame"));
343 frame->setFrameShape(QFrame::Box);
344 frame->setFrameShadow(QFrame::Sunken);
345 hboxLayout5 =
new QHBoxLayout(frame);
346 hboxLayout5->setSpacing(2);
347 hboxLayout5->setContentsMargins(2, 2, 2, 2);
348 hboxLayout5->setObjectName(QString::fromUtf8(
"hboxLayout5"));
349 spacerItem2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
351 hboxLayout5->addItem(spacerItem2);
353 AddInputButton =
new QToolButton(frame);
354 AddInputButton->setObjectName(QString::fromUtf8(
"AddInputButton"));
355 const QIcon icon = QIcon(QString::fromUtf8(
":/QtWidgets/Icons/pqPlus.svg"));
356 AddInputButton->setIcon(icon);
358 hboxLayout5->addWidget(AddInputButton);
360 RemoveInputButton =
new QToolButton(frame);
361 RemoveInputButton->setObjectName(QString::fromUtf8(
"RemoveInputButton"));
362 const QIcon icon1 = QIcon(QString::fromUtf8(
":/QtWidgets/Icons/pqMinus.svg"));
363 RemoveInputButton->setIcon(icon1);
365 hboxLayout5->addWidget(RemoveInputButton);
367 InputUpButton =
new QToolButton(frame);
368 InputUpButton->setObjectName(QString::fromUtf8(
"InputUpButton"));
369 const QIcon icon2 = QIcon(QString::fromUtf8(
":/pqWidgets/Icons/pqArrowUp16.png"));
370 InputUpButton->setIcon(icon2);
372 hboxLayout5->addWidget(InputUpButton);
374 InputDownButton =
new QToolButton(frame);
375 InputDownButton->setObjectName(QString::fromUtf8(
"InputDownButton"));
376 const QIcon icon3 = QIcon(QString::fromUtf8(
":/pqWidgets/Icons/pqArrowDown16.png"));
377 InputDownButton->setIcon(icon3);
379 hboxLayout5->addWidget(InputDownButton);
382 gridLayout2->addWidget(frame, 2, 1, 1, 2);
384 PageStack->addWidget(InputPage);
385 OutputPage =
new QWidget();
386 OutputPage->setObjectName(QString::fromUtf8(
"OutputPage"));
387 gridLayout3 =
new QGridLayout(OutputPage);
389 gridLayout3->setSpacing(6);
392 gridLayout3->setContentsMargins(9, 9, 9, 9);
394 gridLayout3->setObjectName(QString::fromUtf8(
"gridLayout3"));
395 OutputName =
new QLineEdit(OutputPage);
396 OutputName->setObjectName(QString::fromUtf8(
"OutputName"));
398 gridLayout3->addWidget(OutputName, 4, 2, 1, 1);
400 frame_2 =
new QFrame(OutputPage);
401 frame_2->setObjectName(QString::fromUtf8(
"frame_2"));
402 frame_2->setFrameShape(QFrame::Box);
403 frame_2->setFrameShadow(QFrame::Sunken);
404 hboxLayout6 =
new QHBoxLayout(frame_2);
405 hboxLayout6->setSpacing(2);
406 hboxLayout6->setContentsMargins(2, 2, 2, 2);
407 hboxLayout6->setObjectName(QString::fromUtf8(
"hboxLayout6"));
408 spacerItem3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
410 hboxLayout6->addItem(spacerItem3);
412 AddOutputButton =
new QToolButton(frame_2);
413 AddOutputButton->setObjectName(QString::fromUtf8(
"AddOutputButton"));
414 AddOutputButton->setIcon(icon);
416 hboxLayout6->addWidget(AddOutputButton);
418 RemoveOutputButton =
new QToolButton(frame_2);
419 RemoveOutputButton->setObjectName(QString::fromUtf8(
"RemoveOutputButton"));
420 RemoveOutputButton->setIcon(icon1);
422 hboxLayout6->addWidget(RemoveOutputButton);
424 OutputUpButton =
new QToolButton(frame_2);
425 OutputUpButton->setObjectName(QString::fromUtf8(
"OutputUpButton"));
426 OutputUpButton->setIcon(icon2);
428 hboxLayout6->addWidget(OutputUpButton);
430 OutputDownButton =
new QToolButton(frame_2);
431 OutputDownButton->setObjectName(QString::fromUtf8(
"OutputDownButton"));
432 OutputDownButton->setIcon(icon3);
434 hboxLayout6->addWidget(OutputDownButton);
437 gridLayout3->addWidget(frame_2, 2, 1, 1, 2);
439 label_15 =
new QLabel(OutputPage);
440 label_15->setObjectName(QString::fromUtf8(
"label_15"));
442 gridLayout3->addWidget(label_15, 3, 1, 1, 1);
444 label_11 =
new QLabel(OutputPage);
445 label_11->setObjectName(QString::fromUtf8(
"label_11"));
447 gridLayout3->addWidget(label_11, 4, 1, 1, 1);
449 OutputPorts =
new QTreeWidget(OutputPage);
450 OutputPorts->setObjectName(QString::fromUtf8(
"OutputPorts"));
451 OutputPorts->setAlternatingRowColors(
true);
452 OutputPorts->setRootIsDecorated(
false);
453 OutputPorts->setUniformRowHeights(
true);
455 gridLayout3->addWidget(OutputPorts, 1, 1, 1, 2);
458 OutputPipeline->setObjectName(QString::fromUtf8(
"OutputPipeline"));
459 sizePolicy1.setHeightForWidth(OutputPipeline->sizePolicy().hasHeightForWidth());
460 OutputPipeline->setSizePolicy(sizePolicy1);
461 OutputPipeline->setMinimumSize(QSize(140, 0));
462 OutputPipeline->setMaximumSize(QSize(140, 16777215));
464 gridLayout3->addWidget(OutputPipeline, 1, 0, 3, 1);
466 label_10 =
new QLabel(OutputPage);
467 label_10->setObjectName(QString::fromUtf8(
"label_10"));
468 label_10->setWordWrap(
true);
470 gridLayout3->addWidget(label_10, 0, 0, 1, 3);
472 OutputCombo =
new QComboBox(OutputPage);
473 OutputCombo->setObjectName(QString::fromUtf8(
"OutputCombo"));
475 gridLayout3->addWidget(OutputCombo, 3, 2, 1, 1);
477 PageStack->addWidget(OutputPage);
478 PropertyPage =
new QWidget();
479 PropertyPage->setObjectName(QString::fromUtf8(
"PropertyPage"));
480 gridLayout4 =
new QGridLayout(PropertyPage);
482 gridLayout4->setSpacing(6);
485 gridLayout4->setContentsMargins(9, 9, 9, 9);
487 gridLayout4->setObjectName(QString::fromUtf8(
"gridLayout4"));
488 PropertyName =
new QLineEdit(PropertyPage);
489 PropertyName->setObjectName(QString::fromUtf8(
"PropertyName"));
491 gridLayout4->addWidget(PropertyName, 4, 2, 1, 1);
493 PropertyCombo =
new QComboBox(PropertyPage);
494 PropertyCombo->setObjectName(QString::fromUtf8(
"PropertyCombo"));
496 gridLayout4->addWidget(PropertyCombo, 3, 2, 1, 1);
498 label_13 =
new QLabel(PropertyPage);
499 label_13->setObjectName(QString::fromUtf8(
"label_13"));
501 gridLayout4->addWidget(label_13, 3, 1, 1, 1);
503 label_14 =
new QLabel(PropertyPage);
504 label_14->setObjectName(QString::fromUtf8(
"label_14"));
506 gridLayout4->addWidget(label_14, 4, 1, 1, 1);
508 frame_3 =
new QFrame(PropertyPage);
509 frame_3->setObjectName(QString::fromUtf8(
"frame_3"));
510 frame_3->setFrameShape(QFrame::Box);
511 frame_3->setFrameShadow(QFrame::Sunken);
512 hboxLayout7 =
new QHBoxLayout(frame_3);
513 hboxLayout7->setSpacing(2);
514 hboxLayout7->setContentsMargins(2, 2, 2, 2);
515 hboxLayout7->setObjectName(QString::fromUtf8(
"hboxLayout7"));
516 spacerItem4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
518 hboxLayout7->addItem(spacerItem4);
520 AddPropertyButton =
new QToolButton(frame_3);
521 AddPropertyButton->setObjectName(QString::fromUtf8(
"AddPropertyButton"));
522 AddPropertyButton->setIcon(icon);
524 hboxLayout7->addWidget(AddPropertyButton);
526 RemovePropertyButton =
new QToolButton(frame_3);
527 RemovePropertyButton->setObjectName(QString::fromUtf8(
"RemovePropertyButton"));
528 RemovePropertyButton->setIcon(icon1);
530 hboxLayout7->addWidget(RemovePropertyButton);
532 PropertyUpButton =
new QToolButton(frame_3);
533 PropertyUpButton->setObjectName(QString::fromUtf8(
"PropertyUpButton"));
534 PropertyUpButton->setIcon(icon2);
536 hboxLayout7->addWidget(PropertyUpButton);
538 PropertyDownButton =
new QToolButton(frame_3);
539 PropertyDownButton->setObjectName(QString::fromUtf8(
"PropertyDownButton"));
540 PropertyDownButton->setIcon(icon3);
542 hboxLayout7->addWidget(PropertyDownButton);
545 gridLayout4->addWidget(frame_3, 2, 1, 1, 2);
547 PropertyList =
new QTreeWidget(PropertyPage);
548 PropertyList->setObjectName(QString::fromUtf8(
"PropertyList"));
549 PropertyList->setAlternatingRowColors(
true);
550 PropertyList->setRootIsDecorated(
false);
551 PropertyList->setUniformRowHeights(
true);
553 gridLayout4->addWidget(PropertyList, 1, 1, 1, 2);
556 PropertyPipeline->setObjectName(QString::fromUtf8(
"PropertyPipeline"));
557 sizePolicy1.setHeightForWidth(PropertyPipeline->sizePolicy().hasHeightForWidth());
558 PropertyPipeline->setSizePolicy(sizePolicy1);
559 PropertyPipeline->setMinimumSize(QSize(140, 0));
560 PropertyPipeline->setMaximumSize(QSize(140, 16777215));
562 gridLayout4->addWidget(PropertyPipeline, 1, 0, 4, 1);
564 label_12 =
new QLabel(PropertyPage);
565 label_12->setObjectName(QString::fromUtf8(
"label_12"));
566 label_12->setWordWrap(
true);
568 gridLayout4->addWidget(label_12, 0, 0, 1, 3);
570 PageStack->addWidget(PropertyPage);
572 gridLayout->addWidget(PageStack, 0, 1, 1, 1);
574 spacerItem5 =
new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
576 gridLayout->addItem(spacerItem5, 0, 2, 1, 1);
578 frame_5 =
new QFrame(InputFrame);
579 frame_5->setObjectName(QString::fromUtf8(
"frame_5"));
580 frame_5->setFrameShape(QFrame::HLine);
581 frame_5->setFrameShadow(QFrame::Sunken);
583 gridLayout->addWidget(frame_5, 1, 0, 1, 3);
585 spacerItem6 =
new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
587 gridLayout->addItem(spacerItem6, 0, 0, 1, 1);
589 hboxLayout8 =
new QHBoxLayout();
590 hboxLayout8->setSpacing(2);
591 hboxLayout8->setContentsMargins(0, 0, 0, 0);
592 hboxLayout8->setObjectName(QString::fromUtf8(
"hboxLayout8"));
593 spacerItem7 =
new QSpacerItem(80, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
595 hboxLayout8->addItem(spacerItem7);
597 BackButton =
new QPushButton(InputFrame);
598 BackButton->setObjectName(QString::fromUtf8(
"BackButton"));
599 BackButton->setAutoDefault(
false);
601 hboxLayout8->addWidget(BackButton);
603 NextButton =
new QPushButton(InputFrame);
604 NextButton->setObjectName(QString::fromUtf8(
"NextButton"));
605 NextButton->setAutoDefault(
false);
607 hboxLayout8->addWidget(NextButton);
609 spacerItem8 =
new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
611 hboxLayout8->addItem(spacerItem8);
613 FinishButton =
new QPushButton(InputFrame);
614 FinishButton->setObjectName(QString::fromUtf8(
"FinishButton"));
615 FinishButton->setAutoDefault(
false);
617 hboxLayout8->addWidget(FinishButton);
619 CancelButton =
new QPushButton(InputFrame);
620 CancelButton->setObjectName(QString::fromUtf8(
"CancelButton"));
621 CancelButton->setAutoDefault(
false);
623 hboxLayout8->addWidget(CancelButton);
626 gridLayout->addLayout(hboxLayout8, 2, 0, 1, 3);
629 vboxLayout->addWidget(InputFrame);
631 QWidget::setTabOrder(CustomFilterName, InputPipeline);
632 QWidget::setTabOrder(InputPipeline, InputName);
633 QWidget::setTabOrder(InputName, InputPorts);
634 QWidget::setTabOrder(InputPorts, AddInputButton);
635 QWidget::setTabOrder(AddInputButton, RemoveInputButton);
636 QWidget::setTabOrder(RemoveInputButton, InputUpButton);
637 QWidget::setTabOrder(InputUpButton, InputDownButton);
638 QWidget::setTabOrder(InputDownButton, OutputPipeline);
639 QWidget::setTabOrder(OutputPipeline, OutputName);
640 QWidget::setTabOrder(OutputName, OutputPorts);
641 QWidget::setTabOrder(OutputPorts, AddOutputButton);
642 QWidget::setTabOrder(AddOutputButton, RemoveOutputButton);
643 QWidget::setTabOrder(RemoveOutputButton, OutputUpButton);
644 QWidget::setTabOrder(OutputUpButton, OutputDownButton);
645 QWidget::setTabOrder(OutputDownButton, PropertyPipeline);
646 QWidget::setTabOrder(PropertyPipeline, PropertyCombo);
647 QWidget::setTabOrder(PropertyCombo, PropertyName);
648 QWidget::setTabOrder(PropertyName, PropertyList);
649 QWidget::setTabOrder(PropertyList, AddPropertyButton);
650 QWidget::setTabOrder(AddPropertyButton, RemovePropertyButton);
651 QWidget::setTabOrder(RemovePropertyButton, PropertyUpButton);
652 QWidget::setTabOrder(PropertyUpButton, PropertyDownButton);
653 QWidget::setTabOrder(PropertyDownButton, NextButton);
654 QWidget::setTabOrder(NextButton, BackButton);
655 QWidget::setTabOrder(BackButton, FinishButton);
656 QWidget::setTabOrder(FinishButton, CancelButton);
660 TitleStack->setCurrentIndex(0);
661 PageStack->setCurrentIndex(0);
662 NextButton->setDefault(
true);
665 QMetaObject::connectSlotsByName(pqCustomFilterDefinitionWizard);
670 pqCustomFilterDefinitionWizard->setWindowTitle(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Create Custom Filter",
nullptr));
671 WizardImage->setText(QString());
672 label->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"<b>Choose a Name</b><br> Enter a name for the custom filter.",
nullptr));
673 label_4->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"<b>Define the Inputs</b><br> Select and name the input ports.",
nullptr));
674 label_5->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"<b>Define the Outputs</b><br> Select and name the output ports.",
nullptr));
675 label_6->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"<b>Define the Properties</b><br> Select and name the exposed properties.",
nullptr));
676 label_3->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"The name will be used to identify the custom filter. It should be unique. The name should also indicate what the custom filter will be used for.",
nullptr));
677 label_2->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Custom Filter Name",
nullptr));
678 #if QT_CONFIG(tooltip) 679 CustomFilterName->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Enter the custom filter name here.",
nullptr));
680 #endif // QT_CONFIG(tooltip) 681 label_9->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Select an object from the pipeline layout on the left. Then, select the input property from that object to expose. Give the input port a name and add it to the list.",
nullptr));
682 QTreeWidgetItem *___qtreewidgetitem = InputPorts->headerItem();
683 ___qtreewidgetitem->setText(2, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Name",
nullptr));
684 ___qtreewidgetitem->setText(1, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Property",
nullptr));
685 ___qtreewidgetitem->setText(0, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Object",
nullptr));
686 label_7->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Input Property",
nullptr));
687 label_8->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Input Name",
nullptr));
688 #if QT_CONFIG(tooltip) 689 AddInputButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Add Input",
nullptr));
690 #endif // QT_CONFIG(tooltip) 691 AddInputButton->setText(QString());
692 #if QT_CONFIG(tooltip) 693 RemoveInputButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Remove Input",
nullptr));
694 #endif // QT_CONFIG(tooltip) 695 RemoveInputButton->setText(QString());
696 #if QT_CONFIG(tooltip) 697 InputUpButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Up",
nullptr));
698 #endif // QT_CONFIG(tooltip) 699 InputUpButton->setText(QString());
700 #if QT_CONFIG(tooltip) 701 InputDownButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Down",
nullptr));
702 #endif // QT_CONFIG(tooltip) 703 InputDownButton->setText(QString());
704 #if QT_CONFIG(tooltip) 705 AddOutputButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Add Output",
nullptr));
706 #endif // QT_CONFIG(tooltip) 707 AddOutputButton->setText(QString());
708 #if QT_CONFIG(tooltip) 709 RemoveOutputButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Remove Output",
nullptr));
710 #endif // QT_CONFIG(tooltip) 711 RemoveOutputButton->setText(QString());
712 #if QT_CONFIG(tooltip) 713 OutputUpButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Up",
nullptr));
714 #endif // QT_CONFIG(tooltip) 715 OutputUpButton->setText(QString());
716 #if QT_CONFIG(tooltip) 717 OutputDownButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Down",
nullptr));
718 #endif // QT_CONFIG(tooltip) 719 OutputDownButton->setText(QString());
720 label_15->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Output Port",
nullptr));
721 label_11->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Output Name",
nullptr));
722 QTreeWidgetItem *___qtreewidgetitem1 = OutputPorts->headerItem();
723 ___qtreewidgetitem1->setText(1, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Name",
nullptr));
724 ___qtreewidgetitem1->setText(0, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Object",
nullptr));
725 label_10->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Select an object from the pipeline layout on the left. Give the output port a name and add it to the list.",
nullptr));
726 label_13->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Property",
nullptr));
727 label_14->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Property Name",
nullptr));
728 #if QT_CONFIG(tooltip) 729 AddPropertyButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Add Property",
nullptr));
730 #endif // QT_CONFIG(tooltip) 731 AddPropertyButton->setText(QString());
732 #if QT_CONFIG(tooltip) 733 RemovePropertyButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Remove Property",
nullptr));
734 #endif // QT_CONFIG(tooltip) 735 RemovePropertyButton->setText(QString());
736 #if QT_CONFIG(tooltip) 737 PropertyUpButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Up",
nullptr));
738 #endif // QT_CONFIG(tooltip) 739 PropertyUpButton->setText(QString());
740 #if QT_CONFIG(tooltip) 741 PropertyDownButton->setToolTip(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Move Down",
nullptr));
742 #endif // QT_CONFIG(tooltip) 743 PropertyDownButton->setText(QString());
744 QTreeWidgetItem *___qtreewidgetitem2 = PropertyList->headerItem();
745 ___qtreewidgetitem2->setText(2, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Name",
nullptr));
746 ___qtreewidgetitem2->setText(1, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Property",
nullptr));
747 ___qtreewidgetitem2->setText(0, QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Object",
nullptr));
748 label_12->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Select an object from the pipeline layout on the left. Then, select the property from that object to expose. Give the property a name and add it to the list.",
nullptr));
749 BackButton->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"< &Back",
nullptr));
750 NextButton->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"&Next >",
nullptr));
751 FinishButton->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"&Finish",
nullptr));
752 CancelButton->setText(QCoreApplication::translate(
"pqCustomFilterDefinitionWizard",
"Cancel",
nullptr));
763 #endif // UI_PQCUSTOMFILTERDEFINITIONWIZARD_H
QHBoxLayout * hboxLayout8
QGridLayout * gridLayout3
QWidget * TitlePropertyPage
QLineEdit * CustomFilterName
QSpacerItem * spacerItem7
QToolButton * OutputUpButton
QToolButton * AddPropertyButton
QToolButton * PropertyDownButton
QSpacerItem * spacerItem6
QHBoxLayout * hboxLayout6
QToolButton * RemoveInputButton
void retranslateUi(QDialog *pqCustomFilterDefinitionWizard)
QHBoxLayout * hboxLayout4
QToolButton * AddInputButton
QHBoxLayout * hboxLayout1
QGridLayout * gridLayout4
QHBoxLayout * hboxLayout5
QGridLayout * gridLayout2
QStackedWidget * PageStack
QSpacerItem * spacerItem1
QPushButton * CancelButton
QGridLayout * gridLayout1
QToolButton * PropertyUpButton
QSpacerItem * spacerItem4
QToolButton * InputUpButton
The pqFlatTreeView class is used to display a flattened tree view of a hierarchical model...
QSpacerItem * spacerItem5
pqFlatTreeView * OutputPipeline
QToolButton * OutputDownButton
The pqCustomFilterDefinitionWizard class is used to create a compound proxy definition one step at a ...
QHBoxLayout * hboxLayout2
QHBoxLayout * hboxLayout3
QWidget * TitleOutputPage
QSpacerItem * spacerItem8
pqFlatTreeView * InputPipeline
void setupUi(QDialog *pqCustomFilterDefinitionWizard)
QTreeWidget * OutputPorts
QSpacerItem * spacerItem3
QStackedWidget * TitleStack
QHBoxLayout * hboxLayout7
QToolButton * AddOutputButton
QToolButton * RemovePropertyButton
QToolButton * InputDownButton
QTreeWidget * PropertyList
QPushButton * FinishButton
QComboBox * PropertyCombo
QToolButton * RemoveOutputButton
pqFlatTreeView * PropertyPipeline
QSpacerItem * spacerItem2