9 #ifndef UI_PQKEYFRAMEEDITOR_H 10 #define UI_PQKEYFRAMEEDITOR_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHeaderView> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QTableView> 21 #include <QtWidgets/QWidget> 42 if (pqKeyFrameEditor->objectName().isEmpty())
43 pqKeyFrameEditor->setObjectName(QString::fromUtf8(
"pqKeyFrameEditor"));
44 pqKeyFrameEditor->resize(395, 270);
45 gridLayout =
new QGridLayout(pqKeyFrameEditor);
46 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
47 gridLayout->setHorizontalSpacing(6);
48 gridLayout->setVerticalSpacing(7);
49 gridLayout->setContentsMargins(0, 0, 0, 0);
50 label =
new QLabel(pqKeyFrameEditor);
51 label->setObjectName(QString::fromUtf8(
"label"));
53 gridLayout->addWidget(label, 0, 0, 1, 2);
55 tableView =
new QTableView(pqKeyFrameEditor);
56 tableView->setObjectName(QString::fromUtf8(
"tableView"));
57 tableView->setSelectionMode(QAbstractItemView::SingleSelection);
58 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
60 gridLayout->addWidget(tableView, 1, 0, 7, 1);
62 pbNew =
new QPushButton(pqKeyFrameEditor);
63 pbNew->setObjectName(QString::fromUtf8(
"pbNew"));
65 gridLayout->addWidget(pbNew, 1, 1, 1, 1);
67 pbDelete =
new QPushButton(pqKeyFrameEditor);
68 pbDelete->setObjectName(QString::fromUtf8(
"pbDelete"));
70 gridLayout->addWidget(pbDelete, 2, 1, 1, 1);
72 pbDeleteAll =
new QPushButton(pqKeyFrameEditor);
73 pbDeleteAll->setObjectName(QString::fromUtf8(
"pbDeleteAll"));
75 gridLayout->addWidget(pbDeleteAll, 3, 1, 1, 1);
77 pbCreateOrbit =
new QPushButton(pqKeyFrameEditor);
78 pbCreateOrbit->setObjectName(QString::fromUtf8(
"pbCreateOrbit"));
80 gridLayout->addWidget(pbCreateOrbit, 4, 1, 4, 1);
82 pbApplyToCamera =
new QPushButton(pqKeyFrameEditor);
83 pbApplyToCamera->setObjectName(QString::fromUtf8(
"pbApplyToCamera"));
85 gridLayout->addWidget(pbApplyToCamera, 4, 1, 1, 1);
87 pbUseCurrentCamera =
new QPushButton(pqKeyFrameEditor);
88 pbUseCurrentCamera->setObjectName(QString::fromUtf8(
"pbUseCurrentCamera"));
90 gridLayout->addWidget(pbUseCurrentCamera, 5, 1, 1, 1);
92 pbUseSpline =
new QCheckBox(pqKeyFrameEditor);
93 pbUseSpline->setObjectName(QString::fromUtf8(
"pbUseSpline"));
95 gridLayout->addWidget(pbUseSpline, 6, 1, 1, 1);
97 spacerItem =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
99 gridLayout->addItem(spacerItem, 7, 1, 1, 1);
104 QMetaObject::connectSlotsByName(pqKeyFrameEditor);
109 pqKeyFrameEditor->setWindowTitle(QCoreApplication::translate(
"pqKeyFrameEditor",
"Form",
nullptr));
110 label->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Label",
nullptr));
111 pbNew->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"New",
nullptr));
112 #if QT_CONFIG(tooltip) 113 pbNew->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Add a new keyframe before selected",
nullptr));
114 #endif // QT_CONFIG(tooltip) 115 pbDelete->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete",
nullptr));
116 #if QT_CONFIG(tooltip) 117 pbDelete->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete selected keyframe",
nullptr));
118 #endif // QT_CONFIG(tooltip) 119 pbDeleteAll->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete All",
nullptr));
120 #if QT_CONFIG(tooltip) 121 pbDeleteAll->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete all keyframe",
nullptr));
122 #endif // QT_CONFIG(tooltip) 123 pbCreateOrbit->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Create Orbit",
nullptr));
124 #if QT_CONFIG(tooltip) 125 pbCreateOrbit->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Create an orbit path for selected keyframe, starting with current camera.",
nullptr));
126 #endif // QT_CONFIG(tooltip) 127 pbApplyToCamera->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Apply to Camera",
nullptr));
128 #if QT_CONFIG(tooltip) 129 pbApplyToCamera->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Apply selected keyframe configuration to the current view camera",
nullptr));
130 #endif // QT_CONFIG(tooltip) 131 pbUseCurrentCamera->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use current Camera",
nullptr));
132 #if QT_CONFIG(tooltip) 133 pbUseCurrentCamera->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use current camera for selected keyframe",
nullptr));
134 #endif // QT_CONFIG(tooltip) 135 pbUseSpline->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Spline Interpolation",
nullptr));
136 #if QT_CONFIG(tooltip) 137 pbUseSpline->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use spline interpolation for this cue",
nullptr));
138 #endif // QT_CONFIG(tooltip) 149 #endif // UI_PQKEYFRAMEEDITOR_H QPushButton * pbUseCurrentCamera
QPushButton * pbCreateOrbit
editor for editing animation key frames
QPushButton * pbApplyToCamera
QPushButton * pbDeleteAll
void setupUi(QWidget *pqKeyFrameEditor)
void retranslateUi(QWidget *pqKeyFrameEditor)