toolprops.ui 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>ToolProperties</class>
  3. <widget class="QDialog">
  4. <property name="name">
  5. <cstring>ToolProperties</cstring>
  6. </property>
  7. <property name="geometry">
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>600</width>
  12. <height>184</height>
  13. </rect>
  14. </property>
  15. <property name="caption">
  16. <string>Tool Properties</string>
  17. </property>
  18. <vbox>
  19. <property name="name">
  20. <cstring>unnamed</cstring>
  21. </property>
  22. <widget class="QLayoutWidget">
  23. <property name="name">
  24. <cstring>layout24</cstring>
  25. </property>
  26. <grid>
  27. <property name="name">
  28. <cstring>unnamed</cstring>
  29. </property>
  30. <widget class="QLabel" row="1" column="0">
  31. <property name="name">
  32. <cstring>commandLineLabel</cstring>
  33. </property>
  34. <property name="text">
  35. <string>Command &amp;Line:</string>
  36. </property>
  37. <property name="alignment">
  38. <set>AlignVCenter|AlignRight</set>
  39. </property>
  40. <property name="buddy" stdset="0">
  41. <cstring>commandLine</cstring>
  42. </property>
  43. </widget>
  44. <widget class="QLabel" row="2" column="0" rowspan="2" colspan="1">
  45. <property name="name">
  46. <cstring>workingDirectoryLabel</cstring>
  47. </property>
  48. <property name="text">
  49. <string>&amp;Working Directory:</string>
  50. </property>
  51. <property name="alignment">
  52. <set>AlignVCenter|AlignRight</set>
  53. </property>
  54. <property name="buddy" stdset="0">
  55. <cstring>workingDirectory</cstring>
  56. </property>
  57. </widget>
  58. <widget class="KURLRequester" row="3" column="1" rowspan="1" colspan="2">
  59. <property name="name">
  60. <cstring>workingDirectory</cstring>
  61. </property>
  62. <property name="mode">
  63. <number>26</number>
  64. </property>
  65. </widget>
  66. <widget class="KLineEdit" row="1" column="1" rowspan="2" colspan="1">
  67. <property name="name">
  68. <cstring>commandLine</cstring>
  69. </property>
  70. </widget>
  71. <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="3">
  72. <property name="name">
  73. <cstring>runInTerminal</cstring>
  74. </property>
  75. <property name="text">
  76. <string>&amp;Run in Terminal</string>
  77. </property>
  78. <property name="accel">
  79. <string>Alt+R</string>
  80. </property>
  81. </widget>
  82. <widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="2">
  83. <property name="name">
  84. <cstring>toolTitle</cstring>
  85. </property>
  86. </widget>
  87. <widget class="KPushButton" row="1" column="2" rowspan="2" colspan="1">
  88. <property name="name">
  89. <cstring>browseButton</cstring>
  90. </property>
  91. <property name="text">
  92. <string>&amp;Browse...</string>
  93. </property>
  94. <property name="accel">
  95. <string>Alt+B</string>
  96. </property>
  97. </widget>
  98. <widget class="QLabel" row="0" column="0">
  99. <property name="name">
  100. <cstring>toolTitleLabel</cstring>
  101. </property>
  102. <property name="text">
  103. <string>&amp;Title:</string>
  104. </property>
  105. <property name="alignment">
  106. <set>AlignVCenter|AlignRight</set>
  107. </property>
  108. <property name="buddy" stdset="0">
  109. <cstring>toolTitle</cstring>
  110. </property>
  111. </widget>
  112. </grid>
  113. </widget>
  114. <spacer>
  115. <property name="name">
  116. <cstring>spacer18</cstring>
  117. </property>
  118. <property name="orientation">
  119. <enum>Vertical</enum>
  120. </property>
  121. <property name="sizeType">
  122. <enum>Expanding</enum>
  123. </property>
  124. <property name="sizeHint">
  125. <size>
  126. <width>20</width>
  127. <height>21</height>
  128. </size>
  129. </property>
  130. </spacer>
  131. <widget class="QLayoutWidget">
  132. <property name="name">
  133. <cstring>layout2</cstring>
  134. </property>
  135. <hbox>
  136. <property name="name">
  137. <cstring>unnamed</cstring>
  138. </property>
  139. <spacer>
  140. <property name="name">
  141. <cstring>spacer2</cstring>
  142. </property>
  143. <property name="orientation">
  144. <enum>Horizontal</enum>
  145. </property>
  146. <property name="sizeType">
  147. <enum>Expanding</enum>
  148. </property>
  149. <property name="sizeHint">
  150. <size>
  151. <width>321</width>
  152. <height>20</height>
  153. </size>
  154. </property>
  155. </spacer>
  156. <widget class="KPushButton">
  157. <property name="name">
  158. <cstring>okButton</cstring>
  159. </property>
  160. <property name="enabled">
  161. <bool>false</bool>
  162. </property>
  163. <property name="text">
  164. <string>&amp;OK</string>
  165. </property>
  166. <property name="accel">
  167. <string>Alt+O</string>
  168. </property>
  169. <property name="stdItem" stdset="0">
  170. <number>1</number>
  171. </property>
  172. </widget>
  173. <widget class="KPushButton">
  174. <property name="name">
  175. <cstring>cancelButton</cstring>
  176. </property>
  177. <property name="text">
  178. <string>&amp;Cancel</string>
  179. </property>
  180. <property name="accel">
  181. <string>Alt+C</string>
  182. </property>
  183. <property name="stdItem" stdset="0">
  184. <number>2</number>
  185. </property>
  186. </widget>
  187. </hbox>
  188. </widget>
  189. </vbox>
  190. </widget>
  191. <connections>
  192. <connection>
  193. <sender>okButton</sender>
  194. <signal>clicked()</signal>
  195. <receiver>ToolProperties</receiver>
  196. <slot>accept()</slot>
  197. </connection>
  198. <connection>
  199. <sender>cancelButton</sender>
  200. <signal>clicked()</signal>
  201. <receiver>ToolProperties</receiver>
  202. <slot>reject()</slot>
  203. </connection>
  204. <connection>
  205. <sender>toolTitle</sender>
  206. <signal>textChanged(const QString&amp;)</signal>
  207. <receiver>ToolProperties</receiver>
  208. <slot>validate()</slot>
  209. </connection>
  210. <connection>
  211. <sender>commandLine</sender>
  212. <signal>textChanged(const QString&amp;)</signal>
  213. <receiver>ToolProperties</receiver>
  214. <slot>validate()</slot>
  215. </connection>
  216. <connection>
  217. <sender>workingDirectory</sender>
  218. <signal>textChanged(const QString&amp;)</signal>
  219. <receiver>ToolProperties</receiver>
  220. <slot>validate()</slot>
  221. </connection>
  222. <connection>
  223. <sender>browseButton</sender>
  224. <signal>clicked()</signal>
  225. <receiver>ToolProperties</receiver>
  226. <slot>browseButton_clicked()</slot>
  227. </connection>
  228. </connections>
  229. <tabstops>
  230. <tabstop>toolTitle</tabstop>
  231. <tabstop>commandLine</tabstop>
  232. <tabstop>workingDirectory</tabstop>
  233. <tabstop>runInTerminal</tabstop>
  234. <tabstop>browseButton</tabstop>
  235. <tabstop>okButton</tabstop>
  236. <tabstop>cancelButton</tabstop>
  237. </tabstops>
  238. <includes>
  239. <include location="local" impldecl="in implementation">toolprops.ui.h</include>
  240. </includes>
  241. <slots>
  242. <slot>init()</slot>
  243. <slot>accept()</slot>
  244. <slot>validate()</slot>
  245. <slot>browseButton_clicked()</slot>
  246. </slots>
  247. <pixmapinproject/>
  248. <layoutdefaults spacing="6" margin="11"/>
  249. <includehints>
  250. <includehint>kurlrequester.h</includehint>
  251. <includehint>klineedit.h</includehint>
  252. <includehint>kpushbutton.h</includehint>
  253. <includehint>klineedit.h</includehint>
  254. <includehint>klineedit.h</includehint>
  255. <includehint>kpushbutton.h</includehint>
  256. <includehint>kpushbutton.h</includehint>
  257. <includehint>kpushbutton.h</includehint>
  258. </includehints>
  259. </UI>