selectcolors.ui 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <ui version="4.0" >
  2. <class>SelectColors</class>
  3. <widget class="QDialog" name="SelectColors" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>229</width>
  9. <height>172</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Select Colors</string>
  14. </property>
  15. <layout class="QVBoxLayout" >
  16. <item>
  17. <layout class="QHBoxLayout" >
  18. <property name="leftMargin" >
  19. <number>0</number>
  20. </property>
  21. <property name="topMargin" >
  22. <number>0</number>
  23. </property>
  24. <property name="rightMargin" >
  25. <number>0</number>
  26. </property>
  27. <property name="bottomMargin" >
  28. <number>0</number>
  29. </property>
  30. <item>
  31. <widget class="K3ListBox" name="colorList" />
  32. </item>
  33. <item>
  34. <layout class="QVBoxLayout" >
  35. <property name="leftMargin" >
  36. <number>0</number>
  37. </property>
  38. <property name="topMargin" >
  39. <number>0</number>
  40. </property>
  41. <property name="rightMargin" >
  42. <number>0</number>
  43. </property>
  44. <property name="bottomMargin" >
  45. <number>0</number>
  46. </property>
  47. <item>
  48. <widget class="KPushButton" name="addButton" >
  49. <property name="text" >
  50. <string>&amp;Add...</string>
  51. </property>
  52. <property name="shortcut" >
  53. <string>Alt+A</string>
  54. </property>
  55. </widget>
  56. </item>
  57. <item>
  58. <widget class="KPushButton" name="removeButton" >
  59. <property name="enabled" >
  60. <bool>false</bool>
  61. </property>
  62. <property name="text" >
  63. <string>&amp;Remove</string>
  64. </property>
  65. <property name="shortcut" >
  66. <string>Alt+R</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item>
  71. <widget class="KPushButton" name="editButton" >
  72. <property name="enabled" >
  73. <bool>false</bool>
  74. </property>
  75. <property name="text" >
  76. <string>&amp;Edit...</string>
  77. </property>
  78. <property name="shortcut" >
  79. <string>Alt+E</string>
  80. </property>
  81. </widget>
  82. </item>
  83. </layout>
  84. </item>
  85. </layout>
  86. </item>
  87. <item>
  88. <spacer>
  89. <property name="orientation" >
  90. <enum>Qt::Vertical</enum>
  91. </property>
  92. <property name="sizeType" >
  93. <enum>QSizePolicy::Expanding</enum>
  94. </property>
  95. <property name="sizeHint" >
  96. <size>
  97. <width>20</width>
  98. <height>3</height>
  99. </size>
  100. </property>
  101. </spacer>
  102. </item>
  103. <item>
  104. <layout class="QHBoxLayout" >
  105. <property name="leftMargin" >
  106. <number>0</number>
  107. </property>
  108. <property name="topMargin" >
  109. <number>0</number>
  110. </property>
  111. <property name="rightMargin" >
  112. <number>0</number>
  113. </property>
  114. <property name="bottomMargin" >
  115. <number>0</number>
  116. </property>
  117. <item>
  118. <widget class="KPushButton" name="okButton" >
  119. <property name="text" >
  120. <string>&amp;OK</string>
  121. </property>
  122. <property name="shortcut" >
  123. <string>Alt+O</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item>
  128. <widget class="KPushButton" name="cancelButton" >
  129. <property name="text" >
  130. <string>&amp;Cancel</string>
  131. </property>
  132. <property name="shortcut" >
  133. <string>Alt+C</string>
  134. </property>
  135. </widget>
  136. </item>
  137. </layout>
  138. </item>
  139. </layout>
  140. </widget>
  141. <layoutdefault spacing="6" margin="11" />
  142. <customwidgets>
  143. <customwidget>
  144. <class>KPushButton</class>
  145. <extends>QPushButton</extends>
  146. <header>kpushbutton.h</header>
  147. </customwidget>
  148. <customwidget>
  149. <class>K3ListBox</class>
  150. <extends>Q3ListBox</extends>
  151. <header>k3listbox.h</header>
  152. </customwidget>
  153. </customwidgets>
  154. <includes>
  155. <include location="local" >k3listbox.h</include>
  156. <include location="local" >kpushbutton.h</include>
  157. <include location="local" >kpushbutton.h</include>
  158. <include location="local" >kpushbutton.h</include>
  159. <include location="local" >kpushbutton.h</include>
  160. <include location="local" >kpushbutton.h</include>
  161. </includes>
  162. <resources/>
  163. <connections>
  164. <connection>
  165. <sender>okButton</sender>
  166. <signal>clicked()</signal>
  167. <receiver>SelectColors</receiver>
  168. <slot>accept()</slot>
  169. <hints>
  170. <hint type="sourcelabel" >
  171. <x>20</x>
  172. <y>20</y>
  173. </hint>
  174. <hint type="destinationlabel" >
  175. <x>20</x>
  176. <y>20</y>
  177. </hint>
  178. </hints>
  179. </connection>
  180. <connection>
  181. <sender>cancelButton</sender>
  182. <signal>clicked()</signal>
  183. <receiver>SelectColors</receiver>
  184. <slot>reject()</slot>
  185. <hints>
  186. <hint type="sourcelabel" >
  187. <x>20</x>
  188. <y>20</y>
  189. </hint>
  190. <hint type="destinationlabel" >
  191. <x>20</x>
  192. <y>20</y>
  193. </hint>
  194. </hints>
  195. </connection>
  196. <connection>
  197. <sender>colorList</sender>
  198. <signal>selectionChanged()</signal>
  199. <receiver>SelectColors</receiver>
  200. <slot>colorList_selectionChanged()</slot>
  201. <hints>
  202. <hint type="sourcelabel" >
  203. <x>20</x>
  204. <y>20</y>
  205. </hint>
  206. <hint type="destinationlabel" >
  207. <x>20</x>
  208. <y>20</y>
  209. </hint>
  210. </hints>
  211. </connection>
  212. <connection>
  213. <sender>addButton</sender>
  214. <signal>clicked()</signal>
  215. <receiver>SelectColors</receiver>
  216. <slot>addButton_clicked()</slot>
  217. <hints>
  218. <hint type="sourcelabel" >
  219. <x>20</x>
  220. <y>20</y>
  221. </hint>
  222. <hint type="destinationlabel" >
  223. <x>20</x>
  224. <y>20</y>
  225. </hint>
  226. </hints>
  227. </connection>
  228. <connection>
  229. <sender>removeButton</sender>
  230. <signal>clicked()</signal>
  231. <receiver>SelectColors</receiver>
  232. <slot>removeButton_clicked()</slot>
  233. <hints>
  234. <hint type="sourcelabel" >
  235. <x>20</x>
  236. <y>20</y>
  237. </hint>
  238. <hint type="destinationlabel" >
  239. <x>20</x>
  240. <y>20</y>
  241. </hint>
  242. </hints>
  243. </connection>
  244. <connection>
  245. <sender>editButton</sender>
  246. <signal>clicked()</signal>
  247. <receiver>SelectColors</receiver>
  248. <slot>editButton_clicked()</slot>
  249. <hints>
  250. <hint type="sourcelabel" >
  251. <x>20</x>
  252. <y>20</y>
  253. </hint>
  254. <hint type="destinationlabel" >
  255. <x>20</x>
  256. <y>20</y>
  257. </hint>
  258. </hints>
  259. </connection>
  260. </connections>
  261. </ui>