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/QStackedWidget> 21 #include <QtWidgets/QTableView> 22 #include <QtWidgets/QVBoxLayout> 23 #include <QtWidgets/QWidget> 53 if (pqKeyFrameEditor->objectName().isEmpty())
54 pqKeyFrameEditor->setObjectName(QString::fromUtf8(
"pqKeyFrameEditor"));
55 pqKeyFrameEditor->resize(836, 583);
56 gridLayout =
new QGridLayout(pqKeyFrameEditor);
57 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
58 gridLayout->setHorizontalSpacing(6);
59 gridLayout->setVerticalSpacing(7);
60 gridLayout->setContentsMargins(0, 0, 0, 0);
61 tableView =
new QTableView(pqKeyFrameEditor);
62 tableView->setObjectName(QString::fromUtf8(
"tableView"));
63 tableView->setSelectionMode(QAbstractItemView::SingleSelection);
64 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
66 gridLayout->addWidget(tableView, 1, 0, 8, 1);
68 label =
new QLabel(pqKeyFrameEditor);
69 label->setObjectName(QString::fromUtf8(
"label"));
71 gridLayout->addWidget(label, 0, 0, 1, 2);
73 widget =
new QWidget(pqKeyFrameEditor);
74 widget->setObjectName(QString::fromUtf8(
"widget"));
75 verticalLayout_3 =
new QVBoxLayout(widget);
76 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
77 pbNew =
new QPushButton(widget);
78 pbNew->setObjectName(QString::fromUtf8(
"pbNew"));
80 verticalLayout_3->addWidget(pbNew);
82 pbDelete =
new QPushButton(widget);
83 pbDelete->setObjectName(QString::fromUtf8(
"pbDelete"));
85 verticalLayout_3->addWidget(pbDelete);
87 pbDeleteAll =
new QPushButton(widget);
88 pbDeleteAll->setObjectName(QString::fromUtf8(
"pbDeleteAll"));
90 verticalLayout_3->addWidget(pbDeleteAll);
92 pbImportKeyFrames =
new QPushButton(widget);
93 pbImportKeyFrames->setObjectName(QString::fromUtf8(
"pbImportKeyFrames"));
95 verticalLayout_3->addWidget(pbImportKeyFrames);
97 pbExportKeyFrames =
new QPushButton(widget);
98 pbExportKeyFrames->setObjectName(QString::fromUtf8(
"pbExportKeyFrames"));
100 verticalLayout_3->addWidget(pbExportKeyFrames);
103 gridLayout->addWidget(widget, 3, 1, 1, 1);
105 pbCameraModeStackedWidget =
new QStackedWidget(pqKeyFrameEditor);
106 pbCameraModeStackedWidget->setObjectName(QString::fromUtf8(
"pbCameraModeStackedWidget"));
107 pbCameraModePage =
new QWidget();
108 pbCameraModePage->setObjectName(QString::fromUtf8(
"pbCameraModePage"));
109 verticalLayout =
new QVBoxLayout(pbCameraModePage);
110 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
111 pbApplyToCamera =
new QPushButton(pbCameraModePage);
112 pbApplyToCamera->setObjectName(QString::fromUtf8(
"pbApplyToCamera"));
114 verticalLayout->addWidget(pbApplyToCamera);
116 pbUseCurrentCamera =
new QPushButton(pbCameraModePage);
117 pbUseCurrentCamera->setObjectName(QString::fromUtf8(
"pbUseCurrentCamera"));
119 verticalLayout->addWidget(pbUseCurrentCamera);
121 pbUseSpline =
new QCheckBox(pbCameraModePage);
122 pbUseSpline->setObjectName(QString::fromUtf8(
"pbUseSpline"));
124 verticalLayout->addWidget(pbUseSpline);
126 pbCameraModeStackedWidget->addWidget(pbCameraModePage);
127 pbPathModePage =
new QWidget();
128 pbPathModePage->setObjectName(QString::fromUtf8(
"pbPathModePage"));
129 verticalLayout_2 =
new QVBoxLayout(pbPathModePage);
130 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
131 pbCreateOrbit =
new QPushButton(pbPathModePage);
132 pbCreateOrbit->setObjectName(QString::fromUtf8(
"pbCreateOrbit"));
134 verticalLayout_2->addWidget(pbCreateOrbit);
136 verticalSpacer_2 =
new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
138 verticalLayout_2->addItem(verticalSpacer_2);
140 pbCameraModeStackedWidget->addWidget(pbPathModePage);
142 gridLayout->addWidget(pbCameraModeStackedWidget, 4, 1, 1, 1);
147 pbCameraModeStackedWidget->setCurrentIndex(0);
150 QMetaObject::connectSlotsByName(pqKeyFrameEditor);
155 pqKeyFrameEditor->setWindowTitle(QCoreApplication::translate(
"pqKeyFrameEditor",
"Form",
nullptr));
156 label->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Label",
nullptr));
157 #if QT_CONFIG(tooltip) 158 pbNew->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Add a new keyframe before selected",
nullptr));
159 #endif // QT_CONFIG(tooltip) 160 pbNew->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"New",
nullptr));
161 #if QT_CONFIG(tooltip) 162 pbDelete->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete selected keyframe",
nullptr));
163 #endif // QT_CONFIG(tooltip) 164 pbDelete->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete",
nullptr));
165 #if QT_CONFIG(tooltip) 166 pbDeleteAll->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete all keyframe",
nullptr));
167 #endif // QT_CONFIG(tooltip) 168 pbDeleteAll->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Delete All",
nullptr));
169 #if QT_CONFIG(tooltip) 170 pbImportKeyFrames->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Import key frames from a .pvkfc file.",
nullptr));
171 #endif // QT_CONFIG(tooltip) 172 pbImportKeyFrames->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Import",
nullptr));
173 #if QT_CONFIG(tooltip) 174 pbExportKeyFrames->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Export key frames to a .pvkfc file.",
nullptr));
175 #endif // QT_CONFIG(tooltip) 176 pbExportKeyFrames->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Export",
nullptr));
177 #if QT_CONFIG(tooltip) 178 pbApplyToCamera->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Apply selected keyframe configuration to the current view camera",
nullptr));
179 #endif // QT_CONFIG(tooltip) 180 pbApplyToCamera->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Apply to Camera",
nullptr));
181 #if QT_CONFIG(tooltip) 182 pbUseCurrentCamera->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use current camera for selected keyframe",
nullptr));
183 #endif // QT_CONFIG(tooltip) 184 pbUseCurrentCamera->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use current Camera",
nullptr));
185 #if QT_CONFIG(tooltip) 186 pbUseSpline->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Use spline interpolation for this cue",
nullptr));
187 #endif // QT_CONFIG(tooltip) 188 pbUseSpline->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Spline Interpolation",
nullptr));
189 #if QT_CONFIG(tooltip) 190 pbCreateOrbit->setToolTip(QCoreApplication::translate(
"pqKeyFrameEditor",
"Create an orbit path for selected keyframe, starting with current camera.",
nullptr));
191 #endif // QT_CONFIG(tooltip) 192 pbCreateOrbit->setText(QCoreApplication::translate(
"pqKeyFrameEditor",
"Create Orbit",
nullptr));
203 #endif // UI_PQKEYFRAMEEDITOR_H QPushButton * pbUseCurrentCamera
QVBoxLayout * verticalLayout_2
QSpacerItem * verticalSpacer_2
QPushButton * pbCreateOrbit
QPushButton * pbImportKeyFrames
editor for editing animation key frames
QVBoxLayout * verticalLayout
QStackedWidget * pbCameraModeStackedWidget
QPushButton * pbApplyToCamera
QWidget * pbCameraModePage
QPushButton * pbDeleteAll
QVBoxLayout * verticalLayout_3
void setupUi(QWidget *pqKeyFrameEditor)
QPushButton * pbExportKeyFrames
void retranslateUi(QWidget *pqKeyFrameEditor)