9 #ifndef UI_ANIMADDDIALOG_H
10 #define UI_ANIMADDDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QDialog>
19 #include <QtWidgets/QDialogButtonBox>
20 #include <QtWidgets/QGridLayout>
21 #include <QtWidgets/QHBoxLayout>
22 #include <QtWidgets/QHeaderView>
23 #include <QtWidgets/QLabel>
24 #include <QtWidgets/QSpacerItem>
46 if (AnimAddDialog->objectName().isEmpty())
47 AnimAddDialog->setObjectName(QStringLiteral(
"AnimAddDialog"));
48 AnimAddDialog->resize(350, 205);
49 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
50 sizePolicy.setHorizontalStretch(0);
51 sizePolicy.setVerticalStretch(0);
52 sizePolicy.setHeightForWidth(AnimAddDialog->sizePolicy().hasHeightForWidth());
53 AnimAddDialog->setSizePolicy(sizePolicy);
55 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
58 buttonBox =
new QDialogButtonBox(AnimAddDialog);
59 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
60 buttonBox->setOrientation(Qt::Horizontal);
61 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
69 horizontalSpacer_2 =
new QSpacerItem(50, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
73 animBox =
new QComboBox(AnimAddDialog);
74 animBox->setObjectName(QStringLiteral(
"animBox"));
75 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
76 sizePolicy1.setHorizontalStretch(0);
77 sizePolicy1.setVerticalStretch(0);
78 sizePolicy1.setHeightForWidth(
animBox->sizePolicy().hasHeightForWidth());
79 animBox->setSizePolicy(sizePolicy1);
83 label_2 =
new QLabel(AnimAddDialog);
84 label_2->setObjectName(QStringLiteral(
"label_2"));
85 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
86 sizePolicy2.setHorizontalStretch(0);
87 sizePolicy2.setVerticalStretch(0);
88 sizePolicy2.setHeightForWidth(
label_2->sizePolicy().hasHeightForWidth());
89 label_2->setSizePolicy(sizePolicy2);
90 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
94 verticalSpacer_2 =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
98 label =
new QLabel(AnimAddDialog);
99 label->setObjectName(QStringLiteral(
"label"));
100 sizePolicy2.setHeightForWidth(
label->sizePolicy().hasHeightForWidth());
101 label->setSizePolicy(sizePolicy2);
102 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
106 verticalSpacer_3 =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
110 presetBox =
new QComboBox(AnimAddDialog);
111 presetBox->setObjectName(QStringLiteral(
"presetBox"));
112 sizePolicy1.setHeightForWidth(
presetBox->sizePolicy().hasHeightForWidth());
117 horizontalSpacer =
new QSpacerItem(50, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
122 previewBox->setObjectName(QStringLiteral(
"previewBox"));
129 QObject::connect(
buttonBox, SIGNAL(accepted()), AnimAddDialog, SLOT(accept()));
130 QObject::connect(
buttonBox, SIGNAL(rejected()), AnimAddDialog, SLOT(reject()));
132 QMetaObject::connectSlotsByName(AnimAddDialog);
137 AnimAddDialog->setWindowTitle(QApplication::translate(
"AnimAddDialog",
"Add Animation", Q_NULLPTR));
138 label_2->setText(QApplication::translate(
"AnimAddDialog",
"Preset:", Q_NULLPTR));
139 label->setText(QApplication::translate(
"AnimAddDialog",
"Animation:", Q_NULLPTR));
140 previewBox->setText(QApplication::translate(
"AnimAddDialog",
"Show preview", Q_NULLPTR));
151 #endif // UI_ANIMADDDIALOG_H
QSpacerItem * horizontalSpacer_2
QSpacerItem * verticalSpacer_2
void retranslateUi(QDialog *AnimAddDialog)
void setupUi(QDialog *AnimAddDialog)
QDialogButtonBox * buttonBox
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer_3
QSpacerItem * horizontalSpacer