9 #ifndef UI_PQABORTANIMATION_H 10 #define UI_PQABORTANIMATION_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QPushButton> 30 if (AbortAnimation->objectName().isEmpty())
31 AbortAnimation->setObjectName(QString::fromUtf8(
"AbortAnimation"));
32 AbortAnimation->resize(140, 58);
33 gridLayout =
new QGridLayout(AbortAnimation);
35 gridLayout->setSpacing(6);
38 gridLayout->setContentsMargins(9, 9, 9, 9);
40 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
41 hboxLayout =
new QHBoxLayout();
43 hboxLayout->setSpacing(6);
46 hboxLayout->setContentsMargins(0, 0, 0, 0);
48 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
49 abortAnimationButton =
new QPushButton(AbortAnimation);
50 abortAnimationButton->setObjectName(QString::fromUtf8(
"abortAnimationButton"));
52 hboxLayout->addWidget(abortAnimationButton);
55 gridLayout->addLayout(hboxLayout, 0, 0, 1, 1);
59 QObject::connect(abortAnimationButton, SIGNAL(clicked()), AbortAnimation, SLOT(accept()));
61 QMetaObject::connectSlotsByName(AbortAnimation);
66 AbortAnimation->setWindowTitle(QCoreApplication::translate(
"AbortAnimation",
"Dialog",
nullptr));
67 #if QT_CONFIG(tooltip) 68 abortAnimationButton->setToolTip(QCoreApplication::translate(
"AbortAnimation",
"Abort Saving Animation",
nullptr));
69 #endif // QT_CONFIG(tooltip) 70 #if QT_CONFIG(statustip) 71 abortAnimationButton->setStatusTip(QCoreApplication::translate(
"AbortAnimation",
"Interrupts the saving of animation and aborts it.",
nullptr));
72 #endif // QT_CONFIG(statustip) 73 #if QT_CONFIG(tooltip) 74 abortAnimationButton->setToolTip(QCoreApplication::translate(
"AbortAnimation",
"Interrupts the saving of animation and aborts it.",
nullptr));
75 #endif // QT_CONFIG(tooltip) 76 abortAnimationButton->setText(QCoreApplication::translate(
"AbortAnimation",
"Abort Animation",
nullptr));
87 #endif // UI_PQABORTANIMATION_H
void setupUi(QDialog *AbortAnimation)
QPushButton * abortAnimationButton
void retranslateUi(QDialog *AbortAnimation)