GradientMenu.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GradientMenu</class>
  4. <widget class="QWidget" name="GradientMenu">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>323</width>
  10. <height>501</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Select Gradient</string>
  15. </property>
  16. <property name="toolTip">
  17. <string>Remove color from gradient</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,1,0,0">
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="QLabel" name="titleLbl">
  34. <property name="font">
  35. <font>
  36. <pointsize>14</pointsize>
  37. <weight>75</weight>
  38. <bold>true</bold>
  39. </font>
  40. </property>
  41. <property name="text">
  42. <string>Select Gradient</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <layout class="QGridLayout" name="gridLayout">
  48. <item row="2" column="0">
  49. <widget class="QPushButton" name="loadBtn">
  50. <property name="text">
  51. <string>Load Gradient</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="1" column="1">
  56. <widget class="QComboBox" name="presetCmb"/>
  57. </item>
  58. <item row="1" column="0">
  59. <widget class="QLabel" name="presetLbl">
  60. <property name="text">
  61. <string>Load Preset:</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="2" column="1">
  66. <widget class="QPushButton" name="saveBtn">
  67. <property name="text">
  68. <string>Save Gradient</string>
  69. </property>
  70. </widget>
  71. </item>
  72. </layout>
  73. </item>
  74. <item>
  75. <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="1,2">
  76. <item>
  77. <layout class="QVBoxLayout" name="verticalLayout_2">
  78. <item>
  79. <widget class="QLabel" name="maxValLbl">
  80. <property name="text">
  81. <string>Max. Value</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item>
  86. <widget class="QDoubleSpinBox" name="maxValSpb">
  87. <property name="decimals">
  88. <number>0</number>
  89. </property>
  90. <property name="maximum">
  91. <double>100000.000000000000000</double>
  92. </property>
  93. <property name="singleStep">
  94. <double>10.000000000000000</double>
  95. </property>
  96. <property name="stepType">
  97. <enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <spacer name="verticalSpacer">
  103. <property name="orientation">
  104. <enum>Qt::Vertical</enum>
  105. </property>
  106. <property name="sizeHint" stdset="0">
  107. <size>
  108. <width>20</width>
  109. <height>40</height>
  110. </size>
  111. </property>
  112. </spacer>
  113. </item>
  114. <item>
  115. <widget class="QPushButton" name="zoomInBtn">
  116. <property name="icon">
  117. <iconset resource="../resources/Almond.qrc">
  118. <normaloff>:/icons/zoom_in</normaloff>:/icons/zoom_in</iconset>
  119. </property>
  120. <property name="iconSize">
  121. <size>
  122. <width>32</width>
  123. <height>32</height>
  124. </size>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <widget class="QPushButton" name="zoomResetBtn">
  130. <property name="icon">
  131. <iconset resource="../resources/Almond.qrc">
  132. <normaloff>:/icons/zoom_zero</normaloff>:/icons/zoom_zero</iconset>
  133. </property>
  134. <property name="iconSize">
  135. <size>
  136. <width>32</width>
  137. <height>32</height>
  138. </size>
  139. </property>
  140. </widget>
  141. </item>
  142. <item>
  143. <widget class="QPushButton" name="zoomOutBtn">
  144. <property name="icon">
  145. <iconset resource="../resources/Almond.qrc">
  146. <normaloff>:/icons/zoom_out</normaloff>:/icons/zoom_out</iconset>
  147. </property>
  148. <property name="iconSize">
  149. <size>
  150. <width>32</width>
  151. <height>32</height>
  152. </size>
  153. </property>
  154. </widget>
  155. </item>
  156. <item>
  157. <spacer name="verticalSpacer_2">
  158. <property name="orientation">
  159. <enum>Qt::Vertical</enum>
  160. </property>
  161. <property name="sizeHint" stdset="0">
  162. <size>
  163. <width>20</width>
  164. <height>40</height>
  165. </size>
  166. </property>
  167. </spacer>
  168. </item>
  169. <item>
  170. <widget class="QPushButton" name="removeBtn">
  171. <property name="toolTip">
  172. <string>Remove color point from gradient</string>
  173. </property>
  174. <property name="icon">
  175. <iconset resource="../resources/Almond.qrc">
  176. <normaloff>:/icons/cancel</normaloff>:/icons/cancel</iconset>
  177. </property>
  178. <property name="iconSize">
  179. <size>
  180. <width>32</width>
  181. <height>32</height>
  182. </size>
  183. </property>
  184. </widget>
  185. </item>
  186. </layout>
  187. </item>
  188. <item>
  189. <widget class="QScrollArea" name="scrollArea">
  190. <property name="frameShape">
  191. <enum>QFrame::NoFrame</enum>
  192. </property>
  193. <property name="lineWidth">
  194. <number>0</number>
  195. </property>
  196. <property name="widgetResizable">
  197. <bool>true</bool>
  198. </property>
  199. <widget class="QWidget" name="scrollAreaWidgetContents">
  200. <property name="geometry">
  201. <rect>
  202. <x>0</x>
  203. <y>0</y>
  204. <width>210</width>
  205. <height>397</height>
  206. </rect>
  207. </property>
  208. <layout class="QGridLayout" name="gridLayout_2">
  209. <item row="0" column="0">
  210. <widget class="GradientWidget" name="gradientWidget" native="true"/>
  211. </item>
  212. </layout>
  213. </widget>
  214. </widget>
  215. </item>
  216. </layout>
  217. </item>
  218. <item>
  219. <layout class="QHBoxLayout" name="horizontalLayout_2"/>
  220. </item>
  221. <item>
  222. <layout class="QHBoxLayout" name="horizontalLayout"/>
  223. </item>
  224. </layout>
  225. </widget>
  226. <customwidgets>
  227. <customwidget>
  228. <class>GradientWidget</class>
  229. <extends>QWidget</extends>
  230. <header>GradientWidget.h</header>
  231. <container>1</container>
  232. </customwidget>
  233. </customwidgets>
  234. <resources>
  235. <include location="../resources/Almond.qrc"/>
  236. </resources>
  237. <connections/>
  238. </ui>