9 #ifndef UI_KBANIMWIDGET_H
10 #define UI_KBANIMWIDGET_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QDoubleSpinBox>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QLineEdit>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QStackedWidget>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
71 if (KbAnimWidget->objectName().isEmpty())
72 KbAnimWidget->setObjectName(QStringLiteral(
"KbAnimWidget"));
73 KbAnimWidget->resize(613, 300);
75 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
80 noSelPage->setObjectName(QStringLiteral(
"noSelPage"));
82 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
85 noAnimLabel->setObjectName(QStringLiteral(
"noAnimLabel"));
89 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
95 animPage->setObjectName(QStringLiteral(
"animPage"));
102 aNameLabel->setObjectName(QStringLiteral(
"aNameLabel"));
111 aVerLabel->setObjectName(QStringLiteral(
"aVerLabel"));
115 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
120 aCopyLabel->setObjectName(QStringLiteral(
"aCopyLabel"));
127 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
132 gridLayout_3->setObjectName(QStringLiteral(
"gridLayout_3"));
134 nameBox->setObjectName(QStringLiteral(
"nameBox"));
135 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
136 sizePolicy.setHorizontalStretch(0);
137 sizePolicy.setVerticalStretch(0);
138 sizePolicy.setHeightForWidth(
nameBox->sizePolicy().hasHeightForWidth());
139 nameBox->setSizePolicy(sizePolicy);
140 nameBox->setMinimumSize(QSize(150, 0));
141 nameBox->setMaximumSize(QSize(150, 16777215));
146 opacityBox->setObjectName(QStringLiteral(
"opacityBox"));
153 blendBox->setObjectName(QStringLiteral(
"blendBox"));
158 label_6->setObjectName(QStringLiteral(
"label_6"));
166 horizontalSpacer_2 =
new QSpacerItem(30, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
171 label_5->setObjectName(QStringLiteral(
"label_5"));
175 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
180 label_7->setObjectName(QStringLiteral(
"label_7"));
185 keyButton->setObjectName(QStringLiteral(
"keyButton"));
190 deleteButton->setObjectName(QStringLiteral(
"deleteButton"));
199 horizontalSpacer_5 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
206 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
212 aMissingPage->setObjectName(QStringLiteral(
"aMissingPage"));
214 gridLayout_4->setObjectName(QStringLiteral(
"gridLayout_4"));
216 aMissingLabel->setObjectName(QStringLiteral(
"aMissingLabel"));
226 animList->setObjectName(QStringLiteral(
"animList"));
227 animList->setMaximumSize(QSize(130, 16777215));
228 animList->setContextMenuPolicy(Qt::CustomContextMenu);
229 animList->setFrameShadow(QFrame::Plain);
230 animList->setDragDropMode(QAbstractItemView::InternalMove);
231 animList->setMovement(QListView::Snap);
238 QMetaObject::connectSlotsByName(KbAnimWidget);
243 KbAnimWidget->setWindowTitle(QApplication::translate(
"KbAnimWidget",
"Form", Q_NULLPTR));
244 noAnimLabel->setText(QApplication::translate(
"KbAnimWidget",
"No animations in this mode", Q_NULLPTR));
245 aNameLabel->setText(QApplication::translate(
"KbAnimWidget",
"Animation name", Q_NULLPTR));
246 aVerLabel->setText(QApplication::translate(
"KbAnimWidget",
"v0.0", Q_NULLPTR));
247 aCopyLabel->setText(QApplication::translate(
"KbAnimWidget",
"Copyright \302\251", Q_NULLPTR));
248 opacityBox->setSuffix(QApplication::translate(
"KbAnimWidget",
"%", Q_NULLPTR));
250 blendBox->insertItems(0, QStringList()
251 << QApplication::translate(
"KbAnimWidget",
"Normal", Q_NULLPTR)
252 << QApplication::translate(
"KbAnimWidget",
"Add", Q_NULLPTR)
253 << QApplication::translate(
"KbAnimWidget",
"Subtract", Q_NULLPTR)
254 << QApplication::translate(
"KbAnimWidget",
"Multiply", Q_NULLPTR)
255 << QApplication::translate(
"KbAnimWidget",
"Divide", Q_NULLPTR)
257 label_6->setText(QApplication::translate(
"KbAnimWidget",
"Blend mode:", Q_NULLPTR));
258 label_5->setText(QApplication::translate(
"KbAnimWidget",
"Opacity:", Q_NULLPTR));
259 label_7->setText(QApplication::translate(
"KbAnimWidget",
"Name:", Q_NULLPTR));
260 keyButton->setText(QApplication::translate(
"KbAnimWidget",
"Set keys", Q_NULLPTR));
261 deleteButton->setText(QApplication::translate(
"KbAnimWidget",
"Delete animation", Q_NULLPTR));
262 propertyButton->setText(QApplication::translate(
"KbAnimWidget",
"Edit properties", Q_NULLPTR));
263 aMissingLabel->setText(QApplication::translate(
"KbAnimWidget",
"Mising animation", Q_NULLPTR));
274 #endif // UI_KBANIMWIDGET_H