ui_colorLevelsDlg.h 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'colorLevelsDlg.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_COLORLEVELSDLG_H
  9. #define UI_COLORLEVELSDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QCheckBox>
  13. #include <QtWidgets/QComboBox>
  14. #include <QtWidgets/QDialog>
  15. #include <QtWidgets/QDialogButtonBox>
  16. #include <QtWidgets/QFrame>
  17. #include <QtWidgets/QHBoxLayout>
  18. #include <QtWidgets/QLabel>
  19. #include <QtWidgets/QSpacerItem>
  20. #include <QtWidgets/QSpinBox>
  21. #include <QtWidgets/QVBoxLayout>
  22. QT_BEGIN_NAMESPACE
  23. class Ui_ColorLevelsDialog
  24. {
  25. public:
  26. QVBoxLayout *verticalLayout;
  27. QHBoxLayout *horizontalLayout_2;
  28. QSpacerItem *horizontalSpacer_6;
  29. QLabel *label;
  30. QComboBox *channelComboBox;
  31. QSpacerItem *horizontalSpacer_3;
  32. QHBoxLayout *horizontalLayout;
  33. QSpacerItem *horizontalSpacer;
  34. QLabel *label_2;
  35. QSpinBox *minInputSpinBox;
  36. QSpinBox *maxInputSpinBox;
  37. QSpacerItem *horizontalSpacer_2;
  38. QFrame *histoFrame;
  39. QHBoxLayout *horizontalLayout_3;
  40. QSpacerItem *horizontalSpacer_4;
  41. QCheckBox *outputLevelsCheckBox;
  42. QFrame *outputLevelsFrame;
  43. QHBoxLayout *horizontalLayout_4;
  44. QSpinBox *minOutputSpinBox;
  45. QSpinBox *maxOutputSpinBox;
  46. QSpacerItem *horizontalSpacer_5;
  47. QDialogButtonBox *buttonBox;
  48. void setupUi(QDialog *ColorLevelsDialog)
  49. {
  50. if (ColorLevelsDialog->objectName().isEmpty())
  51. ColorLevelsDialog->setObjectName(QString::fromUtf8("ColorLevelsDialog"));
  52. ColorLevelsDialog->resize(400, 300);
  53. verticalLayout = new QVBoxLayout(ColorLevelsDialog);
  54. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  55. horizontalLayout_2 = new QHBoxLayout();
  56. horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
  57. horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  58. horizontalLayout_2->addItem(horizontalSpacer_6);
  59. label = new QLabel(ColorLevelsDialog);
  60. label->setObjectName(QString::fromUtf8("label"));
  61. horizontalLayout_2->addWidget(label);
  62. channelComboBox = new QComboBox(ColorLevelsDialog);
  63. channelComboBox->addItem(QString());
  64. channelComboBox->addItem(QString());
  65. channelComboBox->addItem(QString());
  66. channelComboBox->addItem(QString());
  67. channelComboBox->setObjectName(QString::fromUtf8("channelComboBox"));
  68. horizontalLayout_2->addWidget(channelComboBox);
  69. horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  70. horizontalLayout_2->addItem(horizontalSpacer_3);
  71. verticalLayout->addLayout(horizontalLayout_2);
  72. horizontalLayout = new QHBoxLayout();
  73. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  74. horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  75. horizontalLayout->addItem(horizontalSpacer);
  76. label_2 = new QLabel(ColorLevelsDialog);
  77. label_2->setObjectName(QString::fromUtf8("label_2"));
  78. horizontalLayout->addWidget(label_2);
  79. minInputSpinBox = new QSpinBox(ColorLevelsDialog);
  80. minInputSpinBox->setObjectName(QString::fromUtf8("minInputSpinBox"));
  81. minInputSpinBox->setMinimum(-16777216);
  82. minInputSpinBox->setMaximum(16777216);
  83. horizontalLayout->addWidget(minInputSpinBox);
  84. maxInputSpinBox = new QSpinBox(ColorLevelsDialog);
  85. maxInputSpinBox->setObjectName(QString::fromUtf8("maxInputSpinBox"));
  86. maxInputSpinBox->setMinimum(-16777216);
  87. maxInputSpinBox->setMaximum(16777216);
  88. maxInputSpinBox->setValue(255);
  89. horizontalLayout->addWidget(maxInputSpinBox);
  90. horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  91. horizontalLayout->addItem(horizontalSpacer_2);
  92. verticalLayout->addLayout(horizontalLayout);
  93. histoFrame = new QFrame(ColorLevelsDialog);
  94. histoFrame->setObjectName(QString::fromUtf8("histoFrame"));
  95. QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
  96. sizePolicy.setHorizontalStretch(0);
  97. sizePolicy.setVerticalStretch(0);
  98. sizePolicy.setHeightForWidth(histoFrame->sizePolicy().hasHeightForWidth());
  99. histoFrame->setSizePolicy(sizePolicy);
  100. histoFrame->setFrameShape(QFrame::StyledPanel);
  101. histoFrame->setFrameShadow(QFrame::Raised);
  102. verticalLayout->addWidget(histoFrame);
  103. horizontalLayout_3 = new QHBoxLayout();
  104. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  105. horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  106. horizontalLayout_3->addItem(horizontalSpacer_4);
  107. outputLevelsCheckBox = new QCheckBox(ColorLevelsDialog);
  108. outputLevelsCheckBox->setObjectName(QString::fromUtf8("outputLevelsCheckBox"));
  109. horizontalLayout_3->addWidget(outputLevelsCheckBox);
  110. outputLevelsFrame = new QFrame(ColorLevelsDialog);
  111. outputLevelsFrame->setObjectName(QString::fromUtf8("outputLevelsFrame"));
  112. outputLevelsFrame->setEnabled(false);
  113. horizontalLayout_4 = new QHBoxLayout(outputLevelsFrame);
  114. horizontalLayout_4->setContentsMargins(0, 0, 0, 0);
  115. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  116. minOutputSpinBox = new QSpinBox(outputLevelsFrame);
  117. minOutputSpinBox->setObjectName(QString::fromUtf8("minOutputSpinBox"));
  118. minOutputSpinBox->setMinimum(-16777216);
  119. minOutputSpinBox->setMaximum(16777216);
  120. horizontalLayout_4->addWidget(minOutputSpinBox);
  121. maxOutputSpinBox = new QSpinBox(outputLevelsFrame);
  122. maxOutputSpinBox->setObjectName(QString::fromUtf8("maxOutputSpinBox"));
  123. maxOutputSpinBox->setMinimum(-16777216);
  124. maxOutputSpinBox->setMaximum(16777216);
  125. maxOutputSpinBox->setValue(255);
  126. horizontalLayout_4->addWidget(maxOutputSpinBox);
  127. horizontalLayout_3->addWidget(outputLevelsFrame);
  128. horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  129. horizontalLayout_3->addItem(horizontalSpacer_5);
  130. verticalLayout->addLayout(horizontalLayout_3);
  131. buttonBox = new QDialogButtonBox(ColorLevelsDialog);
  132. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  133. buttonBox->setOrientation(Qt::Horizontal);
  134. buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Close);
  135. verticalLayout->addWidget(buttonBox);
  136. retranslateUi(ColorLevelsDialog);
  137. QObject::connect(buttonBox, SIGNAL(accepted()), ColorLevelsDialog, SLOT(accept()));
  138. QObject::connect(buttonBox, SIGNAL(rejected()), ColorLevelsDialog, SLOT(reject()));
  139. QObject::connect(outputLevelsCheckBox, SIGNAL(toggled(bool)), outputLevelsFrame, SLOT(setEnabled(bool)));
  140. QMetaObject::connectSlotsByName(ColorLevelsDialog);
  141. } // setupUi
  142. void retranslateUi(QDialog *ColorLevelsDialog)
  143. {
  144. ColorLevelsDialog->setWindowTitle(QCoreApplication::translate("ColorLevelsDialog", "Change Color Levels", nullptr));
  145. label->setText(QCoreApplication::translate("ColorLevelsDialog", "Channel(s)", nullptr));
  146. channelComboBox->setItemText(0, QCoreApplication::translate("ColorLevelsDialog", "RGB", nullptr));
  147. channelComboBox->setItemText(1, QCoreApplication::translate("ColorLevelsDialog", "Red", nullptr));
  148. channelComboBox->setItemText(2, QCoreApplication::translate("ColorLevelsDialog", "Green", nullptr));
  149. channelComboBox->setItemText(3, QCoreApplication::translate("ColorLevelsDialog", "Blue", nullptr));
  150. label_2->setText(QCoreApplication::translate("ColorLevelsDialog", "Input levels", nullptr));
  151. outputLevelsCheckBox->setText(QCoreApplication::translate("ColorLevelsDialog", "Output levels", nullptr));
  152. } // retranslateUi
  153. };
  154. namespace Ui {
  155. class ColorLevelsDialog: public Ui_ColorLevelsDialog {};
  156. } // namespace Ui
  157. QT_END_NAMESPACE
  158. #endif // UI_COLORLEVELSDLG_H