scalarFieldFromColorDlg.ui 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>scalarFieldFromColorDlg</class>
  4. <widget class="QDialog" name="scalarFieldFromColorDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>259</width>
  10. <height>260</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>SF from RGB</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QCheckBox" name="checkBoxR">
  19. <property name="text">
  20. <string>R Channel</string>
  21. </property>
  22. <property name="checked">
  23. <bool>true</bool>
  24. </property>
  25. </widget>
  26. </item>
  27. <item>
  28. <widget class="QCheckBox" name="checkBoxG">
  29. <property name="text">
  30. <string>G Channel</string>
  31. </property>
  32. <property name="checked">
  33. <bool>true</bool>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QCheckBox" name="checkBoxB">
  39. <property name="text">
  40. <string>B Channel</string>
  41. </property>
  42. <property name="checked">
  43. <bool>true</bool>
  44. </property>
  45. </widget>
  46. </item>
  47. <item>
  48. <widget class="QCheckBox" name="checkBoxA">
  49. <property name="text">
  50. <string>Alpha Channel</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <widget class="QCheckBox" name="checkBoxComposite">
  56. <property name="text">
  57. <string>Composite = (R+ G+ B) / 3</string>
  58. </property>
  59. <property name="checked">
  60. <bool>true</bool>
  61. </property>
  62. </widget>
  63. </item>
  64. <item>
  65. <spacer name="verticalSpacer">
  66. <property name="orientation">
  67. <enum>Qt::Vertical</enum>
  68. </property>
  69. <property name="sizeHint" stdset="0">
  70. <size>
  71. <width>20</width>
  72. <height>40</height>
  73. </size>
  74. </property>
  75. </spacer>
  76. </item>
  77. <item>
  78. <widget class="QDialogButtonBox" name="buttonBox">
  79. <property name="orientation">
  80. <enum>Qt::Horizontal</enum>
  81. </property>
  82. <property name="standardButtons">
  83. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. <resources/>
  90. <connections>
  91. <connection>
  92. <sender>buttonBox</sender>
  93. <signal>accepted()</signal>
  94. <receiver>scalarFieldFromColorDlg</receiver>
  95. <slot>accept()</slot>
  96. <hints>
  97. <hint type="sourcelabel">
  98. <x>280</x>
  99. <y>262</y>
  100. </hint>
  101. <hint type="destinationlabel">
  102. <x>199</x>
  103. <y>151</y>
  104. </hint>
  105. </hints>
  106. </connection>
  107. <connection>
  108. <sender>buttonBox</sender>
  109. <signal>rejected()</signal>
  110. <receiver>scalarFieldFromColorDlg</receiver>
  111. <slot>reject()</slot>
  112. <hints>
  113. <hint type="sourcelabel">
  114. <x>99</x>
  115. <y>105</y>
  116. </hint>
  117. <hint type="destinationlabel">
  118. <x>99</x>
  119. <y>63</y>
  120. </hint>
  121. </hints>
  122. </connection>
  123. </connections>
  124. </ui>