mainwindow.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1200</width>
  10. <height>824</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout_9">
  18. <item>
  19. <layout class="QHBoxLayout" name="horizontalLayout_8" stretch="1,6">
  20. <item>
  21. <layout class="QVBoxLayout" name="verticalLayout_2">
  22. <property name="sizeConstraint">
  23. <enum>QLayout::SetDefaultConstraint</enum>
  24. </property>
  25. <property name="rightMargin">
  26. <number>0</number>
  27. </property>
  28. <item>
  29. <widget class="QListWidget" name="listWidget_elem">
  30. <property name="maximumSize">
  31. <size>
  32. <width>16777215</width>
  33. <height>16777215</height>
  34. </size>
  35. </property>
  36. </widget>
  37. </item>
  38. <item>
  39. <layout class="QHBoxLayout" name="horizontalLayout_12">
  40. <item>
  41. <widget class="QPushButton" name="pushButton_addElem">
  42. <property name="maximumSize">
  43. <size>
  44. <width>16777215</width>
  45. <height>16777215</height>
  46. </size>
  47. </property>
  48. <property name="text">
  49. <string>添加</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <widget class="QPushButton" name="pushButton_delElem">
  55. <property name="maximumSize">
  56. <size>
  57. <width>16777215</width>
  58. <height>16777215</height>
  59. </size>
  60. </property>
  61. <property name="text">
  62. <string>删除</string>
  63. </property>
  64. </widget>
  65. </item>
  66. </layout>
  67. </item>
  68. <item>
  69. <widget class="QPushButton" name="pushButton_exportConfig">
  70. <property name="maximumSize">
  71. <size>
  72. <width>16777215</width>
  73. <height>16777215</height>
  74. </size>
  75. </property>
  76. <property name="text">
  77. <string> 导出配置</string>
  78. </property>
  79. </widget>
  80. </item>
  81. </layout>
  82. </item>
  83. <item>
  84. <layout class="QVBoxLayout" name="verticalLayout_5">
  85. <item>
  86. <widget class="QLabel" name="label_3">
  87. <property name="text">
  88. <string>基础属性</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item>
  93. <layout class="QHBoxLayout" name="horizontalLayout_7">
  94. <item>
  95. <layout class="QVBoxLayout" name="verticalLayout">
  96. <item>
  97. <widget class="QLabel" name="label_name">
  98. <property name="text">
  99. <string>标识值:</string>
  100. </property>
  101. </widget>
  102. </item>
  103. <item>
  104. <widget class="QLabel" name="label_size">
  105. <property name="text">
  106. <string>位置:</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <widget class="QLabel" name="label_maxlayer">
  112. <property name="text">
  113. <string>最大层数:</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QLabel" name="label_score">
  119. <property name="text">
  120. <string>分数:</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QLabel" name="label_drop">
  126. <property name="text">
  127. <string>掉落设定:</string>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </item>
  133. <item>
  134. <layout class="QVBoxLayout" name="verticalLayout_4">
  135. <item>
  136. <layout class="QHBoxLayout" name="horizontalLayout_2">
  137. <item>
  138. <widget class="QLineEdit" name="lineEdit_name"/>
  139. </item>
  140. <item>
  141. <spacer name="horizontalSpacer">
  142. <property name="orientation">
  143. <enum>Qt::Horizontal</enum>
  144. </property>
  145. <property name="sizeHint" stdset="0">
  146. <size>
  147. <width>40</width>
  148. <height>20</height>
  149. </size>
  150. </property>
  151. </spacer>
  152. </item>
  153. </layout>
  154. </item>
  155. <item>
  156. <layout class="QHBoxLayout" name="horizontalLayout">
  157. <item>
  158. <widget class="QLineEdit" name="lineEdit_pos"/>
  159. </item>
  160. <item>
  161. <widget class="QLabel" name="label">
  162. <property name="styleSheet">
  163. <string notr="true">&lt;font color=red&gt;&lt;/font&gt;</string>
  164. </property>
  165. <property name="text">
  166. <string>&lt;font color=red&gt;格式:0:0,0:1,1:0,1:1</string>
  167. </property>
  168. </widget>
  169. </item>
  170. </layout>
  171. </item>
  172. <item>
  173. <layout class="QHBoxLayout" name="horizontalLayout_3">
  174. <item>
  175. <widget class="QLineEdit" name="lineEdit_maxlayer"/>
  176. </item>
  177. <item>
  178. <spacer name="horizontalSpacer_2">
  179. <property name="orientation">
  180. <enum>Qt::Horizontal</enum>
  181. </property>
  182. <property name="sizeHint" stdset="0">
  183. <size>
  184. <width>40</width>
  185. <height>20</height>
  186. </size>
  187. </property>
  188. </spacer>
  189. </item>
  190. </layout>
  191. </item>
  192. <item>
  193. <layout class="QHBoxLayout" name="horizontalLayout_4">
  194. <item>
  195. <widget class="QLineEdit" name="lineEdit_score"/>
  196. </item>
  197. <item>
  198. <spacer name="horizontalSpacer_4">
  199. <property name="orientation">
  200. <enum>Qt::Horizontal</enum>
  201. </property>
  202. <property name="sizeHint" stdset="0">
  203. <size>
  204. <width>40</width>
  205. <height>20</height>
  206. </size>
  207. </property>
  208. </spacer>
  209. </item>
  210. </layout>
  211. </item>
  212. <item>
  213. <layout class="QHBoxLayout" name="horizontalLayout_5">
  214. <item>
  215. <widget class="QComboBox" name="comboBox_dropConfig">
  216. <property name="minimumSize">
  217. <size>
  218. <width>150</width>
  219. <height>0</height>
  220. </size>
  221. </property>
  222. </widget>
  223. </item>
  224. <item>
  225. <spacer name="horizontalSpacer_5">
  226. <property name="orientation">
  227. <enum>Qt::Horizontal</enum>
  228. </property>
  229. <property name="sizeHint" stdset="0">
  230. <size>
  231. <width>40</width>
  232. <height>20</height>
  233. </size>
  234. </property>
  235. </spacer>
  236. </item>
  237. </layout>
  238. </item>
  239. </layout>
  240. </item>
  241. <item>
  242. <layout class="QVBoxLayout" name="verticalLayout_3">
  243. <item>
  244. <layout class="QHBoxLayout" name="horizontalLayout_6">
  245. <item>
  246. <widget class="QLabel" name="label_icon">
  247. <property name="text">
  248. <string>图标:</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item>
  253. <widget class="QLabel" name="label_pic">
  254. <property name="text">
  255. <string>icon</string>
  256. </property>
  257. </widget>
  258. </item>
  259. <item>
  260. <widget class="QPushButton" name="pushButton_chooseFile">
  261. <property name="text">
  262. <string>选择文件</string>
  263. </property>
  264. </widget>
  265. </item>
  266. </layout>
  267. </item>
  268. <item>
  269. <widget class="QCheckBox" name="checkBox_canBeLinked">
  270. <property name="text">
  271. <string>可连接</string>
  272. </property>
  273. </widget>
  274. </item>
  275. <item>
  276. <widget class="QCheckBox" name="checkBox_canMoveAway">
  277. <property name="text">
  278. <string>可挤压</string>
  279. </property>
  280. </widget>
  281. </item>
  282. </layout>
  283. </item>
  284. <item>
  285. <spacer name="horizontalSpacer_3">
  286. <property name="orientation">
  287. <enum>Qt::Horizontal</enum>
  288. </property>
  289. <property name="sizeHint" stdset="0">
  290. <size>
  291. <width>68</width>
  292. <height>78</height>
  293. </size>
  294. </property>
  295. </spacer>
  296. </item>
  297. </layout>
  298. </item>
  299. <item>
  300. <widget class="QTabWidget" name="tabWidget">
  301. <property name="tabShape">
  302. <enum>QTabWidget::Triangular</enum>
  303. </property>
  304. <property name="currentIndex">
  305. <number>-1</number>
  306. </property>
  307. <property name="elideMode">
  308. <enum>Qt::ElideRight</enum>
  309. </property>
  310. </widget>
  311. </item>
  312. </layout>
  313. </item>
  314. </layout>
  315. </item>
  316. </layout>
  317. </widget>
  318. <widget class="QMenuBar" name="menubar">
  319. <property name="geometry">
  320. <rect>
  321. <x>0</x>
  322. <y>0</y>
  323. <width>1200</width>
  324. <height>24</height>
  325. </rect>
  326. </property>
  327. <widget class="QMenu" name="menu">
  328. <property name="title">
  329. <string>文件</string>
  330. </property>
  331. <addaction name="reloadTempFile"/>
  332. </widget>
  333. <addaction name="menu"/>
  334. </widget>
  335. <widget class="QStatusBar" name="statusbar"/>
  336. <action name="reloadTempFile">
  337. <property name="text">
  338. <string>Reload TempFile</string>
  339. </property>
  340. </action>
  341. </widget>
  342. <resources/>
  343. <connections/>
  344. </ui>