ui_roleChoiceDlg.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'roleChoiceDlg.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.15.10
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_ROLECHOICEDLG_H
  9. #define UI_ROLECHOICEDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QDialog>
  13. #include <QtWidgets/QDialogButtonBox>
  14. #include <QtWidgets/QGridLayout>
  15. #include <QtWidgets/QHBoxLayout>
  16. #include <QtWidgets/QLabel>
  17. #include <QtWidgets/QLineEdit>
  18. #include <QtWidgets/QPushButton>
  19. #include <QtWidgets/QSpacerItem>
  20. #include <QtWidgets/QToolButton>
  21. #include <QtWidgets/QVBoxLayout>
  22. QT_BEGIN_NAMESPACE
  23. class Ui_RoleChoiceDialog
  24. {
  25. public:
  26. QVBoxLayout *verticalLayout;
  27. QGridLayout *gridLayout;
  28. QToolButton *firstColorButton;
  29. QLabel *firstlabel;
  30. QLineEdit *firstLineEdit;
  31. QToolButton *secondColorButton;
  32. QLabel *secondlabel;
  33. QLineEdit *secondLineEdit;
  34. QSpacerItem *verticalSpacer;
  35. QHBoxLayout *hboxLayout;
  36. QSpacerItem *spacerItem;
  37. QPushButton *swapButton;
  38. QDialogButtonBox *buttonBox;
  39. void setupUi(QDialog *RoleChoiceDialog)
  40. {
  41. if (RoleChoiceDialog->objectName().isEmpty())
  42. RoleChoiceDialog->setObjectName(QString::fromUtf8("RoleChoiceDialog"));
  43. RoleChoiceDialog->resize(350, 120);
  44. verticalLayout = new QVBoxLayout(RoleChoiceDialog);
  45. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  46. gridLayout = new QGridLayout();
  47. gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
  48. firstColorButton = new QToolButton(RoleChoiceDialog);
  49. firstColorButton->setObjectName(QString::fromUtf8("firstColorButton"));
  50. firstColorButton->setEnabled(false);
  51. gridLayout->addWidget(firstColorButton, 0, 0, 1, 1);
  52. firstlabel = new QLabel(RoleChoiceDialog);
  53. firstlabel->setObjectName(QString::fromUtf8("firstlabel"));
  54. gridLayout->addWidget(firstlabel, 0, 1, 1, 1);
  55. firstLineEdit = new QLineEdit(RoleChoiceDialog);
  56. firstLineEdit->setObjectName(QString::fromUtf8("firstLineEdit"));
  57. firstLineEdit->setReadOnly(true);
  58. gridLayout->addWidget(firstLineEdit, 0, 2, 1, 1);
  59. secondColorButton = new QToolButton(RoleChoiceDialog);
  60. secondColorButton->setObjectName(QString::fromUtf8("secondColorButton"));
  61. secondColorButton->setEnabled(false);
  62. gridLayout->addWidget(secondColorButton, 1, 0, 1, 1);
  63. secondlabel = new QLabel(RoleChoiceDialog);
  64. secondlabel->setObjectName(QString::fromUtf8("secondlabel"));
  65. gridLayout->addWidget(secondlabel, 1, 1, 1, 1);
  66. secondLineEdit = new QLineEdit(RoleChoiceDialog);
  67. secondLineEdit->setObjectName(QString::fromUtf8("secondLineEdit"));
  68. secondLineEdit->setReadOnly(true);
  69. gridLayout->addWidget(secondLineEdit, 1, 2, 1, 1);
  70. verticalLayout->addLayout(gridLayout);
  71. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  72. verticalLayout->addItem(verticalSpacer);
  73. hboxLayout = new QHBoxLayout();
  74. hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
  75. spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  76. hboxLayout->addItem(spacerItem);
  77. swapButton = new QPushButton(RoleChoiceDialog);
  78. swapButton->setObjectName(QString::fromUtf8("swapButton"));
  79. hboxLayout->addWidget(swapButton);
  80. buttonBox = new QDialogButtonBox(RoleChoiceDialog);
  81. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  82. buttonBox->setOrientation(Qt::Horizontal);
  83. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  84. hboxLayout->addWidget(buttonBox);
  85. verticalLayout->addLayout(hboxLayout);
  86. retranslateUi(RoleChoiceDialog);
  87. QObject::connect(buttonBox, SIGNAL(accepted()), RoleChoiceDialog, SLOT(accept()));
  88. QObject::connect(buttonBox, SIGNAL(rejected()), RoleChoiceDialog, SLOT(reject()));
  89. QMetaObject::connectSlotsByName(RoleChoiceDialog);
  90. } // setupUi
  91. void retranslateUi(QDialog *RoleChoiceDialog)
  92. {
  93. RoleChoiceDialog->setWindowTitle(QCoreApplication::translate("RoleChoiceDialog", "Choose role", nullptr));
  94. firstlabel->setText(QCoreApplication::translate("RoleChoiceDialog", "Compared", nullptr));
  95. secondlabel->setText(QCoreApplication::translate("RoleChoiceDialog", "Reference", nullptr));
  96. swapButton->setText(QCoreApplication::translate("RoleChoiceDialog", "Swap", nullptr));
  97. } // retranslateUi
  98. };
  99. namespace Ui {
  100. class RoleChoiceDialog: public Ui_RoleChoiceDialog {};
  101. } // namespace Ui
  102. QT_END_NAMESPACE
  103. #endif // UI_ROLECHOICEDLG_H