mainwindow.ui 12 KB

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