scripts.ui 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ScriptsTool</class>
  4. <widget class="QDialog" name="ScriptsTool">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>775</width>
  10. <height>492</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Scripts</string>
  15. </property>
  16. <property name="sizeGripEnabled">
  17. <bool>true</bool>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <widget class="QTabWidget" name="tabWidget">
  22. <property name="currentIndex">
  23. <number>0</number>
  24. </property>
  25. <property name="tabBarAutoHide">
  26. <bool>true</bool>
  27. </property>
  28. <widget class="QWidget" name="scriptsTab">
  29. <attribute name="title">
  30. <string>Scripts</string>
  31. </attribute>
  32. <layout class="QHBoxLayout" name="horizontalLayout_4">
  33. <item>
  34. <layout class="QVBoxLayout" name="verticalLayout_3">
  35. <item>
  36. <widget class="QLabel" name="label_2">
  37. <property name="text">
  38. <string>LoadedScripts</string>
  39. </property>
  40. <property name="buddy">
  41. <cstring>scripts</cstring>
  42. </property>
  43. </widget>
  44. </item>
  45. <item>
  46. <widget class="QListWidget" name="scripts">
  47. <property name="contextMenuPolicy">
  48. <enum>Qt::CustomContextMenu</enum>
  49. </property>
  50. <property name="spacing">
  51. <number>1</number>
  52. </property>
  53. <property name="sortingEnabled">
  54. <bool>true</bool>
  55. </property>
  56. </widget>
  57. </item>
  58. <item>
  59. <layout class="QHBoxLayout" name="horizontalLayout_2">
  60. <item>
  61. <widget class="QPushButton" name="addScripts">
  62. <property name="sizePolicy">
  63. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  64. <horstretch>0</horstretch>
  65. <verstretch>0</verstretch>
  66. </sizepolicy>
  67. </property>
  68. <property name="maximumSize">
  69. <size>
  70. <width>16777215</width>
  71. <height>16777215</height>
  72. </size>
  73. </property>
  74. <property name="toolTip">
  75. <string>AddScripts</string>
  76. </property>
  77. <property name="accessibleName">
  78. <string>AddScripts</string>
  79. </property>
  80. <property name="text">
  81. <string notr="true"/>
  82. </property>
  83. <property name="flat">
  84. <bool>true</bool>
  85. </property>
  86. <property name="class" stdset="0">
  87. <string notr="true">icon-plus</string>
  88. </property>
  89. </widget>
  90. </item>
  91. <item>
  92. <widget class="QPushButton" name="removeScripts">
  93. <property name="sizePolicy">
  94. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  95. <horstretch>0</horstretch>
  96. <verstretch>0</verstretch>
  97. </sizepolicy>
  98. </property>
  99. <property name="maximumSize">
  100. <size>
  101. <width>16777215</width>
  102. <height>16777215</height>
  103. </size>
  104. </property>
  105. <property name="toolTip">
  106. <string>RemoveScripts</string>
  107. </property>
  108. <property name="accessibleName">
  109. <string>RemoveScripts</string>
  110. </property>
  111. <property name="text">
  112. <string notr="true"/>
  113. </property>
  114. <property name="flat">
  115. <bool>true</bool>
  116. </property>
  117. <property name="class" stdset="0">
  118. <string notr="true">icon-trash</string>
  119. </property>
  120. </widget>
  121. </item>
  122. <item>
  123. <widget class="QPushButton" name="reloadScripts">
  124. <property name="sizePolicy">
  125. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  126. <horstretch>0</horstretch>
  127. <verstretch>0</verstretch>
  128. </sizepolicy>
  129. </property>
  130. <property name="maximumSize">
  131. <size>
  132. <width>16777215</width>
  133. <height>16777215</height>
  134. </size>
  135. </property>
  136. <property name="toolTip">
  137. <string>ReloadScripts</string>
  138. </property>
  139. <property name="accessibleName">
  140. <string>ReloadScripts</string>
  141. </property>
  142. <property name="text">
  143. <string notr="true"/>
  144. </property>
  145. <property name="flat">
  146. <bool>true</bool>
  147. </property>
  148. <property name="class" stdset="0">
  149. <string notr="true">icon-refresh</string>
  150. </property>
  151. </widget>
  152. </item>
  153. <item>
  154. <spacer name="horizontalSpacer_2">
  155. <property name="orientation">
  156. <enum>Qt::Horizontal</enum>
  157. </property>
  158. <property name="sizeHint" stdset="0">
  159. <size>
  160. <width>40</width>
  161. <height>20</height>
  162. </size>
  163. </property>
  164. </spacer>
  165. </item>
  166. <item>
  167. <widget class="QPushButton" name="defaults">
  168. <property name="text">
  169. <string>Defaults</string>
  170. </property>
  171. </widget>
  172. </item>
  173. <item>
  174. <widget class="QPushButton" name="editScript">
  175. <property name="text">
  176. <string>EditScript</string>
  177. </property>
  178. </widget>
  179. </item>
  180. <item>
  181. <widget class="QPushButton" name="scriptLog">
  182. <property name="text">
  183. <string>ScriptLogWindow</string>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </item>
  189. </layout>
  190. </item>
  191. <item>
  192. <layout class="QVBoxLayout" name="propertiesLayout">
  193. <item>
  194. <widget class="QLabel" name="label_3">
  195. <property name="sizePolicy">
  196. <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
  197. <horstretch>0</horstretch>
  198. <verstretch>0</verstretch>
  199. </sizepolicy>
  200. </property>
  201. <property name="text">
  202. <string>Description</string>
  203. </property>
  204. </widget>
  205. </item>
  206. <item>
  207. <widget class="QLabel" name="description">
  208. <property name="text">
  209. <string notr="true"/>
  210. </property>
  211. <property name="wordWrap">
  212. <bool>true</bool>
  213. </property>
  214. <property name="margin">
  215. <number>12</number>
  216. </property>
  217. <property name="openExternalLinks">
  218. <bool>false</bool>
  219. </property>
  220. </widget>
  221. </item>
  222. </layout>
  223. </item>
  224. </layout>
  225. </widget>
  226. <widget class="QWidget" name="pythonSettingsTab">
  227. <attribute name="title">
  228. <string>PythonSettings</string>
  229. </attribute>
  230. <layout class="QVBoxLayout" name="verticalLayout_2">
  231. <item>
  232. <widget class="QLabel" name="pythonPathLabel">
  233. <property name="text">
  234. <string notr="true"/>
  235. </property>
  236. <property name="buddy">
  237. <cstring>pythonPath</cstring>
  238. </property>
  239. </widget>
  240. </item>
  241. <item>
  242. <layout class="QHBoxLayout" name="horizontalLayout_3">
  243. <item>
  244. <widget class="QLineEdit" name="pythonPath">
  245. <property name="readOnly">
  246. <bool>true</bool>
  247. </property>
  248. </widget>
  249. </item>
  250. <item>
  251. <widget class="QPushButton" name="pythonPathBrowse">
  252. <property name="accessibleName">
  253. <string>PythonSettings.BrowsePythonPath</string>
  254. </property>
  255. <property name="text">
  256. <string>Browse</string>
  257. </property>
  258. </widget>
  259. </item>
  260. </layout>
  261. </item>
  262. <item>
  263. <widget class="QLabel" name="pythonVersionLabel">
  264. <property name="text">
  265. <string/>
  266. </property>
  267. </widget>
  268. </item>
  269. <item>
  270. <spacer name="verticalSpacer">
  271. <property name="orientation">
  272. <enum>Qt::Vertical</enum>
  273. </property>
  274. <property name="sizeHint" stdset="0">
  275. <size>
  276. <width>510</width>
  277. <height>306</height>
  278. </size>
  279. </property>
  280. </spacer>
  281. </item>
  282. </layout>
  283. </widget>
  284. </widget>
  285. </item>
  286. <item>
  287. <layout class="QHBoxLayout" name="horizontalLayout">
  288. <item>
  289. <spacer name="horizontalSpacer">
  290. <property name="orientation">
  291. <enum>Qt::Horizontal</enum>
  292. </property>
  293. <property name="sizeHint" stdset="0">
  294. <size>
  295. <width>40</width>
  296. <height>20</height>
  297. </size>
  298. </property>
  299. </spacer>
  300. </item>
  301. <item>
  302. <widget class="QPushButton" name="close">
  303. <property name="text">
  304. <string>Close</string>
  305. </property>
  306. </widget>
  307. </item>
  308. </layout>
  309. </item>
  310. </layout>
  311. </widget>
  312. <tabstops>
  313. <tabstop>tabWidget</tabstop>
  314. <tabstop>close</tabstop>
  315. <tabstop>pythonPath</tabstop>
  316. <tabstop>pythonPathBrowse</tabstop>
  317. </tabstops>
  318. <resources/>
  319. <connections/>
  320. </ui>