colorGradientDlg.ui 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ColorGradientDialog</class>
  4. <widget class="QDialog" name="ColorGradientDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>303</width>
  10. <height>278</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Gradient color</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="title">
  20. <string>Color ramp</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <widget class="QRadioButton" name="defaultRampRadioButton">
  25. <property name="text">
  26. <string>Default</string>
  27. </property>
  28. <property name="checked">
  29. <bool>true</bool>
  30. </property>
  31. </widget>
  32. </item>
  33. <item>
  34. <widget class="QRadioButton" name="customRampRadioButton">
  35. <property name="text">
  36. <string>Custom</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item>
  41. <widget class="QFrame" name="customRampFrame">
  42. <property name="enabled">
  43. <bool>false</bool>
  44. </property>
  45. <layout class="QHBoxLayout">
  46. <property name="leftMargin">
  47. <number>20</number>
  48. </property>
  49. <property name="topMargin">
  50. <number>0</number>
  51. </property>
  52. <property name="rightMargin">
  53. <number>0</number>
  54. </property>
  55. <property name="bottomMargin">
  56. <number>0</number>
  57. </property>
  58. <item>
  59. <widget class="QLabel" name="label">
  60. <property name="text">
  61. <string>First color</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item>
  66. <widget class="QToolButton" name="firstColorButton">
  67. <property name="text">
  68. <string notr="true">...</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <spacer>
  74. <property name="orientation">
  75. <enum>Qt::Horizontal</enum>
  76. </property>
  77. <property name="sizeHint" stdset="0">
  78. <size>
  79. <width>40</width>
  80. <height>20</height>
  81. </size>
  82. </property>
  83. </spacer>
  84. </item>
  85. <item>
  86. <widget class="QLabel" name="label_2">
  87. <property name="text">
  88. <string>Second color</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item>
  93. <widget class="QToolButton" name="secondColorButton">
  94. <property name="text">
  95. <string notr="true">...</string>
  96. </property>
  97. </widget>
  98. </item>
  99. </layout>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="QRadioButton" name="bandingRadioButton">
  104. <property name="text">
  105. <string>Banding</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item>
  110. <widget class="QFrame" name="bandingFrame">
  111. <property name="enabled">
  112. <bool>false</bool>
  113. </property>
  114. <property name="frameShape">
  115. <enum>QFrame::StyledPanel</enum>
  116. </property>
  117. <property name="frameShadow">
  118. <enum>QFrame::Raised</enum>
  119. </property>
  120. <layout class="QHBoxLayout" name="horizontalLayout">
  121. <property name="leftMargin">
  122. <number>20</number>
  123. </property>
  124. <property name="topMargin">
  125. <number>0</number>
  126. </property>
  127. <property name="rightMargin">
  128. <number>0</number>
  129. </property>
  130. <property name="bottomMargin">
  131. <number>0</number>
  132. </property>
  133. <item>
  134. <widget class="QLabel" name="label_4">
  135. <property name="text">
  136. <string>Period</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item>
  141. <spacer name="horizontalSpacer">
  142. <property name="orientation">
  143. <enum>Qt::Horizontal</enum>
  144. </property>
  145. <property name="sizeHint" stdset="0">
  146. <size>
  147. <width>40</width>
  148. <height>20</height>
  149. </size>
  150. </property>
  151. </spacer>
  152. </item>
  153. <item>
  154. <widget class="QDoubleSpinBox" name="bandingFreqSpinBox">
  155. <property name="decimals">
  156. <number>3</number>
  157. </property>
  158. <property name="minimum">
  159. <double>0.000000000000000</double>
  160. </property>
  161. <property name="maximum">
  162. <double>10000000.000000000000000</double>
  163. </property>
  164. <property name="value">
  165. <double>5.000000000000000</double>
  166. </property>
  167. </widget>
  168. </item>
  169. </layout>
  170. </widget>
  171. </item>
  172. </layout>
  173. </widget>
  174. </item>
  175. <item>
  176. <layout class="QHBoxLayout">
  177. <item>
  178. <widget class="QLabel" name="label_3">
  179. <property name="text">
  180. <string>direction</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item>
  185. <widget class="QComboBox" name="directionComboBox">
  186. <property name="currentIndex">
  187. <number>0</number>
  188. </property>
  189. <item>
  190. <property name="text">
  191. <string notr="true">X</string>
  192. </property>
  193. </item>
  194. <item>
  195. <property name="text">
  196. <string notr="true">Y</string>
  197. </property>
  198. </item>
  199. <item>
  200. <property name="text">
  201. <string notr="true">Z</string>
  202. </property>
  203. </item>
  204. </widget>
  205. </item>
  206. </layout>
  207. </item>
  208. <item>
  209. <layout class="QHBoxLayout">
  210. <item>
  211. <spacer>
  212. <property name="orientation">
  213. <enum>Qt::Horizontal</enum>
  214. </property>
  215. <property name="sizeHint" stdset="0">
  216. <size>
  217. <width>40</width>
  218. <height>20</height>
  219. </size>
  220. </property>
  221. </spacer>
  222. </item>
  223. <item>
  224. <widget class="QDialogButtonBox" name="buttonBox">
  225. <property name="orientation">
  226. <enum>Qt::Horizontal</enum>
  227. </property>
  228. <property name="standardButtons">
  229. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  230. </property>
  231. </widget>
  232. </item>
  233. </layout>
  234. </item>
  235. </layout>
  236. </widget>
  237. <resources/>
  238. <connections>
  239. <connection>
  240. <sender>buttonBox</sender>
  241. <signal>accepted()</signal>
  242. <receiver>ColorGradientDialog</receiver>
  243. <slot>accept()</slot>
  244. <hints>
  245. <hint type="sourcelabel">
  246. <x>248</x>
  247. <y>254</y>
  248. </hint>
  249. <hint type="destinationlabel">
  250. <x>157</x>
  251. <y>274</y>
  252. </hint>
  253. </hints>
  254. </connection>
  255. <connection>
  256. <sender>buttonBox</sender>
  257. <signal>rejected()</signal>
  258. <receiver>ColorGradientDialog</receiver>
  259. <slot>reject()</slot>
  260. <hints>
  261. <hint type="sourcelabel">
  262. <x>316</x>
  263. <y>260</y>
  264. </hint>
  265. <hint type="destinationlabel">
  266. <x>286</x>
  267. <y>274</y>
  268. </hint>
  269. </hints>
  270. </connection>
  271. <connection>
  272. <sender>bandingRadioButton</sender>
  273. <signal>toggled(bool)</signal>
  274. <receiver>bandingFrame</receiver>
  275. <slot>setEnabled(bool)</slot>
  276. <hints>
  277. <hint type="sourcelabel">
  278. <x>100</x>
  279. <y>308</y>
  280. </hint>
  281. <hint type="destinationlabel">
  282. <x>181</x>
  283. <y>369</y>
  284. </hint>
  285. </hints>
  286. </connection>
  287. <connection>
  288. <sender>customRampRadioButton</sender>
  289. <signal>toggled(bool)</signal>
  290. <receiver>customRampFrame</receiver>
  291. <slot>setEnabled(bool)</slot>
  292. <hints>
  293. <hint type="sourcelabel">
  294. <x>90</x>
  295. <y>250</y>
  296. </hint>
  297. <hint type="destinationlabel">
  298. <x>171</x>
  299. <y>279</y>
  300. </hint>
  301. </hints>
  302. </connection>
  303. </connections>
  304. </ui>