toolsdlg.ui 5.9 KB

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