9 #ifndef UI_PQPIPELINETIMEKEYFRAMEEDITOR_H 10 #define UI_PQPIPELINETIMEKEYFRAMEEDITOR_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QLineEdit> 18 #include <QtWidgets/QRadioButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QWidget> 39 if (pqPipelineTimeKeyFrameEditor->objectName().isEmpty())
40 pqPipelineTimeKeyFrameEditor->setObjectName(QString::fromUtf8(
"pqPipelineTimeKeyFrameEditor"));
41 pqPipelineTimeKeyFrameEditor->resize(419, 356);
42 gridLayout =
new QGridLayout(pqPipelineTimeKeyFrameEditor);
44 gridLayout->setSpacing(6);
47 gridLayout->setContentsMargins(9, 9, 9, 9);
49 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
50 constantTime =
new QLineEdit(pqPipelineTimeKeyFrameEditor);
51 constantTime->setObjectName(QString::fromUtf8(
"constantTime"));
53 gridLayout->addWidget(constantTime, 1, 1, 1, 1);
55 spacerItem =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
57 gridLayout->addItem(spacerItem, 3, 0, 1, 1);
59 variableRadio =
new QRadioButton(pqPipelineTimeKeyFrameEditor);
60 variableRadio->setObjectName(QString::fromUtf8(
"variableRadio"));
62 gridLayout->addWidget(variableRadio, 2, 0, 1, 1);
64 buttonBox =
new QDialogButtonBox(pqPipelineTimeKeyFrameEditor);
65 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
66 buttonBox->setOrientation(Qt::Horizontal);
67 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
69 gridLayout->addWidget(buttonBox, 4, 0, 1, 3);
71 spacerItem1 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
73 gridLayout->addItem(spacerItem1, 1, 2, 1, 1);
75 constantRadio =
new QRadioButton(pqPipelineTimeKeyFrameEditor);
76 constantRadio->setObjectName(QString::fromUtf8(
"constantRadio"));
78 gridLayout->addWidget(constantRadio, 1, 0, 1, 1);
80 container =
new QWidget(pqPipelineTimeKeyFrameEditor);
81 container->setObjectName(QString::fromUtf8(
"container"));
82 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
83 sizePolicy.setHorizontalStretch(0);
84 sizePolicy.setVerticalStretch(0);
85 sizePolicy.setHeightForWidth(container->sizePolicy().hasHeightForWidth());
86 container->setSizePolicy(sizePolicy);
88 gridLayout->addWidget(container, 2, 1, 2, 2);
90 noneRadio =
new QRadioButton(pqPipelineTimeKeyFrameEditor);
91 noneRadio->setObjectName(QString::fromUtf8(
"noneRadio"));
93 gridLayout->addWidget(noneRadio, 0, 0, 1, 2);
95 QWidget::setTabOrder(noneRadio, constantRadio);
96 QWidget::setTabOrder(constantRadio, constantTime);
97 QWidget::setTabOrder(constantTime, variableRadio);
98 QWidget::setTabOrder(variableRadio, buttonBox);
101 QObject::connect(buttonBox, SIGNAL(accepted()), pqPipelineTimeKeyFrameEditor, SLOT(accept()));
102 QObject::connect(buttonBox, SIGNAL(rejected()), pqPipelineTimeKeyFrameEditor, SLOT(reject()));
104 QMetaObject::connectSlotsByName(pqPipelineTimeKeyFrameEditor);
109 pqPipelineTimeKeyFrameEditor->setWindowTitle(QCoreApplication::translate(
"pqPipelineTimeKeyFrameEditor",
"Dialog",
nullptr));
110 variableRadio->setText(QCoreApplication::translate(
"pqPipelineTimeKeyFrameEditor",
"Variable Time:",
nullptr));
111 constantRadio->setText(QCoreApplication::translate(
"pqPipelineTimeKeyFrameEditor",
"Constant Time:",
nullptr));
112 noneRadio->setText(QCoreApplication::translate(
"pqPipelineTimeKeyFrameEditor",
"Animation Time",
nullptr));
123 #endif // UI_PQPIPELINETIMEKEYFRAMEEDITOR_H QRadioButton * constantRadio
QRadioButton * variableRadio
editor for editing pipeline time key frames
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *pqPipelineTimeKeyFrameEditor)
QSpacerItem * spacerItem1
void setupUi(QDialog *pqPipelineTimeKeyFrameEditor)