ui_DialogButtonBottom.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'DialogButtonBottom.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.14.2
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_DIALOGBUTTONBOTTOM_H
  9. #define UI_DIALOGBUTTONBOTTOM_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QDialog>
  13. #include <QtWidgets/QHBoxLayout>
  14. #include <QtWidgets/QPushButton>
  15. #include <QtWidgets/QSpacerItem>
  16. #include <QtWidgets/QWidget>
  17. QT_BEGIN_NAMESPACE
  18. class Ui_Dialog
  19. {
  20. public:
  21. QWidget *layoutWidget;
  22. QHBoxLayout *hboxLayout;
  23. QSpacerItem *spacerItem;
  24. QPushButton *okButton;
  25. QPushButton *cancelButton;
  26. void setupUi(QDialog *Dialog)
  27. {
  28. if (Dialog->objectName().isEmpty())
  29. Dialog->setObjectName(QString::fromUtf8("Dialog"));
  30. Dialog->resize(400, 300);
  31. layoutWidget = new QWidget(Dialog);
  32. layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
  33. layoutWidget->setGeometry(QRect(20, 250, 351, 33));
  34. hboxLayout = new QHBoxLayout(layoutWidget);
  35. #ifndef Q_OS_MAC
  36. hboxLayout->setSpacing(6);
  37. #endif
  38. hboxLayout->setContentsMargins(0, 0, 0, 0);
  39. hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
  40. hboxLayout->setContentsMargins(0, 0, 0, 0);
  41. spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
  42. hboxLayout->addItem(spacerItem);
  43. okButton = new QPushButton(layoutWidget);
  44. okButton->setObjectName(QString::fromUtf8("okButton"));
  45. hboxLayout->addWidget(okButton);
  46. cancelButton = new QPushButton(layoutWidget);
  47. cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
  48. hboxLayout->addWidget(cancelButton);
  49. retranslateUi(Dialog);
  50. QObject::connect(okButton, SIGNAL(clicked()), Dialog, SLOT(accept()));
  51. QObject::connect(cancelButton, SIGNAL(clicked()), Dialog, SLOT(reject()));
  52. QMetaObject::connectSlotsByName(Dialog);
  53. } // setupUi
  54. void retranslateUi(QDialog *Dialog)
  55. {
  56. Dialog->setWindowTitle(QCoreApplication::translate("Dialog", "Dialog", nullptr));
  57. okButton->setText(QCoreApplication::translate("Dialog", "OK", nullptr));
  58. cancelButton->setText(QCoreApplication::translate("Dialog", "Cancel", nullptr));
  59. } // retranslateUi
  60. };
  61. namespace Ui {
  62. class Dialog: public Ui_Dialog {};
  63. } // namespace Ui
  64. QT_END_NAMESPACE
  65. #endif // UI_DIALOGBUTTONBOTTOM_H