ui_mainwindow.h 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'mainwindow.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.9.5
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_MAINWINDOW_H
  9. #define UI_MAINWINDOW_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QAction>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QButtonGroup>
  14. #include <QtWidgets/QFormLayout>
  15. #include <QtWidgets/QGridLayout>
  16. #include <QtWidgets/QHBoxLayout>
  17. #include <QtWidgets/QHeaderView>
  18. #include <QtWidgets/QLabel>
  19. #include <QtWidgets/QMainWindow>
  20. #include <QtWidgets/QPushButton>
  21. #include <QtWidgets/QRadioButton>
  22. #include <QtWidgets/QStatusBar>
  23. #include <QtWidgets/QToolBar>
  24. #include <QtWidgets/QVBoxLayout>
  25. #include <QtWidgets/QWidget>
  26. QT_BEGIN_NAMESPACE
  27. class Ui_MainWindow
  28. {
  29. public:
  30. QWidget *centralWidget;
  31. QVBoxLayout *verticalLayout_2;
  32. QVBoxLayout *verticalLayout;
  33. QFormLayout *formLayout;
  34. QHBoxLayout *horizontalLayout;
  35. QRadioButton *radioButton_green;
  36. QRadioButton *radioButton_yellow;
  37. QRadioButton *radioButton_red;
  38. QLabel *label;
  39. QGridLayout *gridLayout;
  40. QPushButton *pushButton_reloadImage;
  41. QPushButton *pushButton_save;
  42. QPushButton *pushButton_loadSetting;
  43. QPushButton *pushButton_exit;
  44. QToolBar *mainToolBar;
  45. QStatusBar *statusBar;
  46. void setupUi(QMainWindow *MainWindow)
  47. {
  48. if (MainWindow->objectName().isEmpty())
  49. MainWindow->setObjectName(QStringLiteral("MainWindow"));
  50. MainWindow->resize(267, 254);
  51. MainWindow->setStyleSheet(QStringLiteral("background-color: rgba(110, 123, 139, 230);"));
  52. centralWidget = new QWidget(MainWindow);
  53. centralWidget->setObjectName(QStringLiteral("centralWidget"));
  54. verticalLayout_2 = new QVBoxLayout(centralWidget);
  55. verticalLayout_2->setSpacing(6);
  56. verticalLayout_2->setContentsMargins(11, 11, 11, 11);
  57. verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
  58. verticalLayout = new QVBoxLayout();
  59. verticalLayout->setSpacing(6);
  60. verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
  61. formLayout = new QFormLayout();
  62. formLayout->setSpacing(6);
  63. formLayout->setObjectName(QStringLiteral("formLayout"));
  64. horizontalLayout = new QHBoxLayout();
  65. horizontalLayout->setSpacing(6);
  66. horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
  67. radioButton_green = new QRadioButton(centralWidget);
  68. radioButton_green->setObjectName(QStringLiteral("radioButton_green"));
  69. radioButton_green->setCursor(QCursor(Qt::PointingHandCursor));
  70. radioButton_green->setLayoutDirection(Qt::LeftToRight);
  71. radioButton_green->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  72. radioButton_green->setChecked(true);
  73. horizontalLayout->addWidget(radioButton_green);
  74. radioButton_yellow = new QRadioButton(centralWidget);
  75. radioButton_yellow->setObjectName(QStringLiteral("radioButton_yellow"));
  76. radioButton_yellow->setCursor(QCursor(Qt::PointingHandCursor));
  77. radioButton_yellow->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  78. horizontalLayout->addWidget(radioButton_yellow);
  79. radioButton_red = new QRadioButton(centralWidget);
  80. radioButton_red->setObjectName(QStringLiteral("radioButton_red"));
  81. radioButton_red->setCursor(QCursor(Qt::PointingHandCursor));
  82. radioButton_red->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  83. horizontalLayout->addWidget(radioButton_red);
  84. formLayout->setLayout(2, QFormLayout::LabelRole, horizontalLayout);
  85. label = new QLabel(centralWidget);
  86. label->setObjectName(QStringLiteral("label"));
  87. QFont font;
  88. font.setPointSize(12);
  89. font.setBold(true);
  90. font.setUnderline(false);
  91. font.setWeight(75);
  92. label->setFont(font);
  93. label->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  94. formLayout->setWidget(1, QFormLayout::LabelRole, label);
  95. verticalLayout->addLayout(formLayout);
  96. gridLayout = new QGridLayout();
  97. gridLayout->setSpacing(6);
  98. gridLayout->setObjectName(QStringLiteral("gridLayout"));
  99. pushButton_reloadImage = new QPushButton(centralWidget);
  100. pushButton_reloadImage->setObjectName(QStringLiteral("pushButton_reloadImage"));
  101. QFont font1;
  102. font1.setPointSize(12);
  103. font1.setBold(true);
  104. font1.setWeight(75);
  105. pushButton_reloadImage->setFont(font1);
  106. pushButton_reloadImage->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  107. gridLayout->addWidget(pushButton_reloadImage, 1, 0, 1, 1);
  108. pushButton_save = new QPushButton(centralWidget);
  109. pushButton_save->setObjectName(QStringLiteral("pushButton_save"));
  110. pushButton_save->setFont(font1);
  111. pushButton_save->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n"
  112. "alternate-background-color: rgb(255, 255, 255);"));
  113. gridLayout->addWidget(pushButton_save, 3, 0, 1, 1);
  114. pushButton_loadSetting = new QPushButton(centralWidget);
  115. pushButton_loadSetting->setObjectName(QStringLiteral("pushButton_loadSetting"));
  116. pushButton_loadSetting->setFont(font1);
  117. pushButton_loadSetting->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  118. gridLayout->addWidget(pushButton_loadSetting, 2, 0, 1, 1);
  119. pushButton_exit = new QPushButton(centralWidget);
  120. pushButton_exit->setObjectName(QStringLiteral("pushButton_exit"));
  121. pushButton_exit->setFont(font1);
  122. pushButton_exit->setStyleSheet(QStringLiteral("color: rgb(255, 255, 255);"));
  123. gridLayout->addWidget(pushButton_exit, 4, 0, 1, 1);
  124. verticalLayout->addLayout(gridLayout);
  125. verticalLayout_2->addLayout(verticalLayout);
  126. MainWindow->setCentralWidget(centralWidget);
  127. mainToolBar = new QToolBar(MainWindow);
  128. mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
  129. MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
  130. statusBar = new QStatusBar(MainWindow);
  131. statusBar->setObjectName(QStringLiteral("statusBar"));
  132. MainWindow->setStatusBar(statusBar);
  133. retranslateUi(MainWindow);
  134. QMetaObject::connectSlotsByName(MainWindow);
  135. } // setupUi
  136. void retranslateUi(QMainWindow *MainWindow)
  137. {
  138. MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Tuner controller", Q_NULLPTR));
  139. radioButton_green->setText(QApplication::translate("MainWindow", "GREEN", Q_NULLPTR));
  140. radioButton_yellow->setText(QApplication::translate("MainWindow", "YELLOW", Q_NULLPTR));
  141. radioButton_red->setText(QApplication::translate("MainWindow", "RED", Q_NULLPTR));
  142. label->setText(QApplication::translate("MainWindow", "Tuning color", Q_NULLPTR));
  143. pushButton_reloadImage->setText(QApplication::translate("MainWindow", "Reload Image", Q_NULLPTR));
  144. pushButton_save->setText(QApplication::translate("MainWindow", "Save", Q_NULLPTR));
  145. pushButton_loadSetting->setText(QApplication::translate("MainWindow", "Load setting", Q_NULLPTR));
  146. pushButton_exit->setText(QApplication::translate("MainWindow", "Exit", Q_NULLPTR));
  147. } // retranslateUi
  148. };
  149. namespace Ui {
  150. class MainWindow: public Ui_MainWindow {};
  151. } // namespace Ui
  152. QT_END_NAMESPACE
  153. #endif // UI_MAINWINDOW_H