ui_colorGradientDlg.h 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'colorGradientDlg.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_COLORGRADIENTDLG_H
  9. #define UI_COLORGRADIENTDLG_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QComboBox>
  13. #include <QtWidgets/QDialog>
  14. #include <QtWidgets/QDialogButtonBox>
  15. #include <QtWidgets/QDoubleSpinBox>
  16. #include <QtWidgets/QFrame>
  17. #include <QtWidgets/QGroupBox>
  18. #include <QtWidgets/QHBoxLayout>
  19. #include <QtWidgets/QLabel>
  20. #include <QtWidgets/QRadioButton>
  21. #include <QtWidgets/QSpacerItem>
  22. #include <QtWidgets/QToolButton>
  23. #include <QtWidgets/QVBoxLayout>
  24. QT_BEGIN_NAMESPACE
  25. class Ui_ColorGradientDialog
  26. {
  27. public:
  28. QVBoxLayout *verticalLayout_2;
  29. QGroupBox *groupBox;
  30. QVBoxLayout *verticalLayout;
  31. QRadioButton *defaultRampRadioButton;
  32. QRadioButton *customRampRadioButton;
  33. QFrame *customRampFrame;
  34. QHBoxLayout *hboxLayout;
  35. QLabel *label;
  36. QToolButton *firstColorButton;
  37. QSpacerItem *spacerItem;
  38. QLabel *label_2;
  39. QToolButton *secondColorButton;
  40. QRadioButton *bandingRadioButton;
  41. QFrame *bandingFrame;
  42. QHBoxLayout *horizontalLayout;
  43. QLabel *label_4;
  44. QSpacerItem *horizontalSpacer;
  45. QDoubleSpinBox *bandingFreqSpinBox;
  46. QHBoxLayout *hboxLayout1;
  47. QLabel *label_3;
  48. QComboBox *directionComboBox;
  49. QHBoxLayout *hboxLayout2;
  50. QSpacerItem *spacerItem1;
  51. QDialogButtonBox *buttonBox;
  52. void setupUi(QDialog *ColorGradientDialog)
  53. {
  54. if (ColorGradientDialog->objectName().isEmpty())
  55. ColorGradientDialog->setObjectName(QString::fromUtf8("ColorGradientDialog"));
  56. ColorGradientDialog->resize(303, 278);
  57. verticalLayout_2 = new QVBoxLayout(ColorGradientDialog);
  58. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  59. groupBox = new QGroupBox(ColorGradientDialog);
  60. groupBox->setObjectName(QString::fromUtf8("groupBox"));
  61. verticalLayout = new QVBoxLayout(groupBox);
  62. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  63. defaultRampRadioButton = new QRadioButton(groupBox);
  64. defaultRampRadioButton->setObjectName(QString::fromUtf8("defaultRampRadioButton"));
  65. defaultRampRadioButton->setChecked(true);
  66. verticalLayout->addWidget(defaultRampRadioButton);
  67. customRampRadioButton = new QRadioButton(groupBox);
  68. customRampRadioButton->setObjectName(QString::fromUtf8("customRampRadioButton"));
  69. verticalLayout->addWidget(customRampRadioButton);
  70. customRampFrame = new QFrame(groupBox);
  71. customRampFrame->setObjectName(QString::fromUtf8("customRampFrame"));
  72. customRampFrame->setEnabled(false);
  73. hboxLayout = new QHBoxLayout(customRampFrame);
  74. hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
  75. hboxLayout->setContentsMargins(20, 0, 0, 0);
  76. label = new QLabel(customRampFrame);
  77. label->setObjectName(QString::fromUtf8("label"));
  78. hboxLayout->addWidget(label);
  79. firstColorButton = new QToolButton(customRampFrame);
  80. firstColorButton->setObjectName(QString::fromUtf8("firstColorButton"));
  81. firstColorButton->setText(QString::fromUtf8("..."));
  82. hboxLayout->addWidget(firstColorButton);
  83. spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  84. hboxLayout->addItem(spacerItem);
  85. label_2 = new QLabel(customRampFrame);
  86. label_2->setObjectName(QString::fromUtf8("label_2"));
  87. hboxLayout->addWidget(label_2);
  88. secondColorButton = new QToolButton(customRampFrame);
  89. secondColorButton->setObjectName(QString::fromUtf8("secondColorButton"));
  90. secondColorButton->setText(QString::fromUtf8("..."));
  91. hboxLayout->addWidget(secondColorButton);
  92. verticalLayout->addWidget(customRampFrame);
  93. bandingRadioButton = new QRadioButton(groupBox);
  94. bandingRadioButton->setObjectName(QString::fromUtf8("bandingRadioButton"));
  95. verticalLayout->addWidget(bandingRadioButton);
  96. bandingFrame = new QFrame(groupBox);
  97. bandingFrame->setObjectName(QString::fromUtf8("bandingFrame"));
  98. bandingFrame->setEnabled(false);
  99. bandingFrame->setFrameShape(QFrame::StyledPanel);
  100. bandingFrame->setFrameShadow(QFrame::Raised);
  101. horizontalLayout = new QHBoxLayout(bandingFrame);
  102. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  103. horizontalLayout->setContentsMargins(20, 0, 0, 0);
  104. label_4 = new QLabel(bandingFrame);
  105. label_4->setObjectName(QString::fromUtf8("label_4"));
  106. horizontalLayout->addWidget(label_4);
  107. horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  108. horizontalLayout->addItem(horizontalSpacer);
  109. bandingFreqSpinBox = new QDoubleSpinBox(bandingFrame);
  110. bandingFreqSpinBox->setObjectName(QString::fromUtf8("bandingFreqSpinBox"));
  111. bandingFreqSpinBox->setDecimals(3);
  112. bandingFreqSpinBox->setMinimum(0.000000000000000);
  113. bandingFreqSpinBox->setMaximum(10000000.000000000000000);
  114. bandingFreqSpinBox->setValue(5.000000000000000);
  115. horizontalLayout->addWidget(bandingFreqSpinBox);
  116. verticalLayout->addWidget(bandingFrame);
  117. verticalLayout_2->addWidget(groupBox);
  118. hboxLayout1 = new QHBoxLayout();
  119. hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
  120. label_3 = new QLabel(ColorGradientDialog);
  121. label_3->setObjectName(QString::fromUtf8("label_3"));
  122. hboxLayout1->addWidget(label_3);
  123. directionComboBox = new QComboBox(ColorGradientDialog);
  124. directionComboBox->addItem(QString::fromUtf8("X"));
  125. directionComboBox->addItem(QString::fromUtf8("Y"));
  126. directionComboBox->addItem(QString::fromUtf8("Z"));
  127. directionComboBox->setObjectName(QString::fromUtf8("directionComboBox"));
  128. hboxLayout1->addWidget(directionComboBox);
  129. verticalLayout_2->addLayout(hboxLayout1);
  130. hboxLayout2 = new QHBoxLayout();
  131. hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
  132. spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  133. hboxLayout2->addItem(spacerItem1);
  134. buttonBox = new QDialogButtonBox(ColorGradientDialog);
  135. buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  136. buttonBox->setOrientation(Qt::Horizontal);
  137. buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  138. hboxLayout2->addWidget(buttonBox);
  139. verticalLayout_2->addLayout(hboxLayout2);
  140. retranslateUi(ColorGradientDialog);
  141. QObject::connect(buttonBox, SIGNAL(accepted()), ColorGradientDialog, SLOT(accept()));
  142. QObject::connect(buttonBox, SIGNAL(rejected()), ColorGradientDialog, SLOT(reject()));
  143. QObject::connect(bandingRadioButton, SIGNAL(toggled(bool)), bandingFrame, SLOT(setEnabled(bool)));
  144. QObject::connect(customRampRadioButton, SIGNAL(toggled(bool)), customRampFrame, SLOT(setEnabled(bool)));
  145. directionComboBox->setCurrentIndex(0);
  146. QMetaObject::connectSlotsByName(ColorGradientDialog);
  147. } // setupUi
  148. void retranslateUi(QDialog *ColorGradientDialog)
  149. {
  150. ColorGradientDialog->setWindowTitle(QCoreApplication::translate("ColorGradientDialog", "Gradient color", nullptr));
  151. groupBox->setTitle(QCoreApplication::translate("ColorGradientDialog", "Color ramp", nullptr));
  152. defaultRampRadioButton->setText(QCoreApplication::translate("ColorGradientDialog", "Default", nullptr));
  153. customRampRadioButton->setText(QCoreApplication::translate("ColorGradientDialog", "Custom", nullptr));
  154. label->setText(QCoreApplication::translate("ColorGradientDialog", "First color", nullptr));
  155. label_2->setText(QCoreApplication::translate("ColorGradientDialog", "Second color", nullptr));
  156. bandingRadioButton->setText(QCoreApplication::translate("ColorGradientDialog", "Banding", nullptr));
  157. label_4->setText(QCoreApplication::translate("ColorGradientDialog", "Period", nullptr));
  158. label_3->setText(QCoreApplication::translate("ColorGradientDialog", "direction", nullptr));
  159. } // retranslateUi
  160. };
  161. namespace Ui {
  162. class ColorGradientDialog: public Ui_ColorGradientDialog {};
  163. } // namespace Ui
  164. QT_END_NAMESPACE
  165. #endif // UI_COLORGRADIENTDLG_H