mainwindow.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  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>1033</width>
  10. <height>668</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <widget class="QWidget" name="centralwidget">
  20. <layout class="QGridLayout" name="gridLayout_2">
  21. <item row="0" column="0">
  22. <widget class="QStackedWidget" name="stackedWidget">
  23. <property name="currentIndex">
  24. <number>5</number>
  25. </property>
  26. <widget class="QWidget" name="pageMain">
  27. <layout class="QGridLayout" name="gridLayout_4">
  28. <item row="0" column="1">
  29. <widget class="QPushButton" name="pushList">
  30. <property name="minimumSize">
  31. <size>
  32. <width>80</width>
  33. <height>115</height>
  34. </size>
  35. </property>
  36. <property name="maximumSize">
  37. <size>
  38. <width>300</width>
  39. <height>16777215</height>
  40. </size>
  41. </property>
  42. <property name="font">
  43. <font>
  44. <pointsize>18</pointsize>
  45. </font>
  46. </property>
  47. <property name="styleSheet">
  48. <string notr="true">background-color: rgb(0, 170, 255);</string>
  49. </property>
  50. <property name="text">
  51. <string>明细</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="0" column="0">
  56. <widget class="QPushButton" name="pushAuto">
  57. <property name="minimumSize">
  58. <size>
  59. <width>80</width>
  60. <height>115</height>
  61. </size>
  62. </property>
  63. <property name="maximumSize">
  64. <size>
  65. <width>300</width>
  66. <height>16777215</height>
  67. </size>
  68. </property>
  69. <property name="font">
  70. <font>
  71. <pointsize>18</pointsize>
  72. </font>
  73. </property>
  74. <property name="styleSheet">
  75. <string notr="true">background-color: rgb(255, 170, 0);</string>
  76. </property>
  77. <property name="text">
  78. <string>打包</string>
  79. </property>
  80. </widget>
  81. </item>
  82. </layout>
  83. </widget>
  84. <widget class="AddNewSpecsForm" name="pageAddNew"/>
  85. <widget class="ShowMaDanLabelForm" name="pageShowMaDan">
  86. <layout class="QGridLayout" name="gridLayout"/>
  87. </widget>
  88. <widget class="ShowXiangDanLabelForm" name="pageShowXiangDan"/>
  89. <widget class="SettingsForm" name="pageSettings"/>
  90. <widget class="QWidget" name="pageLogin">
  91. <property name="styleSheet">
  92. <string notr="true"/>
  93. </property>
  94. <layout class="QVBoxLayout" name="verticalLayout_2">
  95. <property name="spacing">
  96. <number>0</number>
  97. </property>
  98. <property name="leftMargin">
  99. <number>0</number>
  100. </property>
  101. <property name="topMargin">
  102. <number>0</number>
  103. </property>
  104. <property name="rightMargin">
  105. <number>0</number>
  106. </property>
  107. <property name="bottomMargin">
  108. <number>0</number>
  109. </property>
  110. <item>
  111. <widget class="QWidget" name="bg_widget" native="true">
  112. <property name="styleSheet">
  113. <string notr="true">background-color: rgb(116, 190, 255);</string>
  114. </property>
  115. <layout class="QGridLayout" name="gridLayout_5">
  116. <item row="0" column="0">
  117. <spacer name="verticalSpacer">
  118. <property name="orientation">
  119. <enum>Qt::Vertical</enum>
  120. </property>
  121. <property name="sizeHint" stdset="0">
  122. <size>
  123. <width>20</width>
  124. <height>150</height>
  125. </size>
  126. </property>
  127. </spacer>
  128. </item>
  129. <item row="2" column="0">
  130. <spacer name="verticalSpacer_2">
  131. <property name="orientation">
  132. <enum>Qt::Vertical</enum>
  133. </property>
  134. <property name="sizeHint" stdset="0">
  135. <size>
  136. <width>20</width>
  137. <height>134</height>
  138. </size>
  139. </property>
  140. </spacer>
  141. </item>
  142. <item row="1" column="0">
  143. <layout class="QHBoxLayout" name="horizontalLayout_3">
  144. <item>
  145. <spacer name="horizontalSpacer">
  146. <property name="orientation">
  147. <enum>Qt::Horizontal</enum>
  148. </property>
  149. <property name="sizeHint" stdset="0">
  150. <size>
  151. <width>40</width>
  152. <height>20</height>
  153. </size>
  154. </property>
  155. </spacer>
  156. </item>
  157. <item>
  158. <widget class="LoginForm" name="widgetLogin" native="true">
  159. <property name="minimumSize">
  160. <size>
  161. <width>400</width>
  162. <height>270</height>
  163. </size>
  164. </property>
  165. <property name="maximumSize">
  166. <size>
  167. <width>400</width>
  168. <height>270</height>
  169. </size>
  170. </property>
  171. <property name="styleSheet">
  172. <string notr="true">background-color: rgb(185, 229, 255);</string>
  173. </property>
  174. </widget>
  175. </item>
  176. <item>
  177. <spacer name="horizontalSpacer_2">
  178. <property name="orientation">
  179. <enum>Qt::Horizontal</enum>
  180. </property>
  181. <property name="sizeHint" stdset="0">
  182. <size>
  183. <width>40</width>
  184. <height>20</height>
  185. </size>
  186. </property>
  187. </spacer>
  188. </item>
  189. </layout>
  190. </item>
  191. </layout>
  192. </widget>
  193. </item>
  194. </layout>
  195. </widget>
  196. <widget class="QWidget" name="pageAutoPack">
  197. <layout class="QGridLayout" name="gridLayout_3">
  198. <property name="leftMargin">
  199. <number>0</number>
  200. </property>
  201. <property name="topMargin">
  202. <number>0</number>
  203. </property>
  204. <property name="rightMargin">
  205. <number>0</number>
  206. </property>
  207. <property name="bottomMargin">
  208. <number>0</number>
  209. </property>
  210. <property name="spacing">
  211. <number>0</number>
  212. </property>
  213. <item row="0" column="0">
  214. <widget class="QStackedWidget" name="stackedWidget_2">
  215. <widget class="FixedWeightPackForm" name="dingzhong"/>
  216. <widget class="UncertainWeightPackForm" name="buding"/>
  217. </widget>
  218. </item>
  219. </layout>
  220. </widget>
  221. <widget class="ModelSelectForm" name="pageSelectModel"/>
  222. <widget class="SelectValueForm" name="pageSelectValue"/>
  223. <widget class="PackDetailForm" name="pagePackDetail"/>
  224. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  225. </widget>
  226. </item>
  227. </layout>
  228. </widget>
  229. <widget class="QMenuBar" name="menubar">
  230. <property name="geometry">
  231. <rect>
  232. <x>0</x>
  233. <y>0</y>
  234. <width>1033</width>
  235. <height>23</height>
  236. </rect>
  237. </property>
  238. <widget class="QMenu" name="menu">
  239. <property name="title">
  240. <string>设置</string>
  241. </property>
  242. <widget class="QMenu" name="menu_4">
  243. <property name="title">
  244. <string>规格设置</string>
  245. </property>
  246. <addaction name="actionAddNew"/>
  247. <addaction name="actionSelectvalue"/>
  248. <addaction name="action_4"/>
  249. </widget>
  250. <addaction name="menu_4"/>
  251. <addaction name="actionSetting"/>
  252. <addaction name="actionMax"/>
  253. <addaction name="actionLogout"/>
  254. </widget>
  255. <widget class="QMenu" name="menu_2">
  256. <property name="title">
  257. <string>入库</string>
  258. </property>
  259. <addaction name="actionPack"/>
  260. </widget>
  261. <widget class="QMenu" name="menu_3">
  262. <property name="title">
  263. <string>统计</string>
  264. </property>
  265. </widget>
  266. <widget class="QMenu" name="menu_5">
  267. <property name="enabled">
  268. <bool>true</bool>
  269. </property>
  270. <property name="title">
  271. <string>模板管理</string>
  272. </property>
  273. <addaction name="actionXiangDan"/>
  274. <addaction name="actionMaDan"/>
  275. </widget>
  276. <widget class="QMenu" name="menu_6">
  277. <property name="title">
  278. <string>设置</string>
  279. </property>
  280. <addaction name="action_2"/>
  281. </widget>
  282. <addaction name="menu"/>
  283. <addaction name="menu_2"/>
  284. <addaction name="menu_3"/>
  285. <addaction name="menu_5"/>
  286. <addaction name="menu_6"/>
  287. </widget>
  288. <action name="actionSetting">
  289. <property name="text">
  290. <string>连接设置</string>
  291. </property>
  292. </action>
  293. <action name="action">
  294. <property name="text">
  295. <string>退出账号</string>
  296. </property>
  297. </action>
  298. <action name="actionAddNew">
  299. <property name="text">
  300. <string>新建规格</string>
  301. </property>
  302. </action>
  303. <action name="actionSelectvalue">
  304. <property name="text">
  305. <string>查看规格</string>
  306. </property>
  307. </action>
  308. <action name="action_4">
  309. <property name="text">
  310. <string>修改规格</string>
  311. </property>
  312. </action>
  313. <action name="actionPack">
  314. <property name="text">
  315. <string>打包</string>
  316. </property>
  317. </action>
  318. <action name="actionModify">
  319. <property name="text">
  320. <string>修改</string>
  321. </property>
  322. </action>
  323. <action name="actionMax">
  324. <property name="text">
  325. <string>最大化</string>
  326. </property>
  327. </action>
  328. <action name="actionLogout">
  329. <property name="text">
  330. <string>退出账号</string>
  331. </property>
  332. </action>
  333. <action name="actionShowModel">
  334. <property name="text">
  335. <string>模板管理</string>
  336. </property>
  337. </action>
  338. <action name="actionXiangDanModel">
  339. <property name="text">
  340. <string>箱单管理</string>
  341. </property>
  342. <property name="visible">
  343. <bool>true</bool>
  344. </property>
  345. </action>
  346. <action name="actionMaDanModel">
  347. <property name="text">
  348. <string>码单管理</string>
  349. </property>
  350. <property name="visible">
  351. <bool>true</bool>
  352. </property>
  353. </action>
  354. <action name="actionXiangDan">
  355. <property name="text">
  356. <string>箱单模板</string>
  357. </property>
  358. </action>
  359. <action name="actionMaDan">
  360. <property name="text">
  361. <string>码单模板</string>
  362. </property>
  363. </action>
  364. <action name="action_2">
  365. <property name="text">
  366. <string>快捷键设置</string>
  367. </property>
  368. </action>
  369. </widget>
  370. <customwidgets>
  371. <customwidget>
  372. <class>LoginForm</class>
  373. <extends>QWidget</extends>
  374. <header>widget/loginform.h</header>
  375. <container>1</container>
  376. </customwidget>
  377. <customwidget>
  378. <class>SelectValueForm</class>
  379. <extends>QWidget</extends>
  380. <header>widget/selectvalueform.h</header>
  381. <container>1</container>
  382. </customwidget>
  383. <customwidget>
  384. <class>PackDetailForm</class>
  385. <extends>QWidget</extends>
  386. <header>widget/packdetailform.h</header>
  387. <container>1</container>
  388. </customwidget>
  389. <customwidget>
  390. <class>SettingsForm</class>
  391. <extends>QWidget</extends>
  392. <header>widget/settingsform.h</header>
  393. <container>1</container>
  394. </customwidget>
  395. <customwidget>
  396. <class>FixedWeightPackForm</class>
  397. <extends>QWidget</extends>
  398. <header>widget/fixedweightpackform.h</header>
  399. <container>1</container>
  400. </customwidget>
  401. <customwidget>
  402. <class>UncertainWeightPackForm</class>
  403. <extends>QWidget</extends>
  404. <header>widget/uncertainweightpackform.h</header>
  405. <container>1</container>
  406. </customwidget>
  407. <customwidget>
  408. <class>AddNewSpecsForm</class>
  409. <extends>QWidget</extends>
  410. <header>widget/addnewspecsform.h</header>
  411. <container>1</container>
  412. </customwidget>
  413. <customwidget>
  414. <class>ShowMaDanLabelForm</class>
  415. <extends>QWidget</extends>
  416. <header>widget/showmadanlabelform.h</header>
  417. <container>1</container>
  418. </customwidget>
  419. <customwidget>
  420. <class>ShowXiangDanLabelForm</class>
  421. <extends>QWidget</extends>
  422. <header>widget/showxiangdanlabelform.h</header>
  423. <container>1</container>
  424. </customwidget>
  425. <customwidget>
  426. <class>ModelSelectForm</class>
  427. <extends>QWidget</extends>
  428. <header>widget/modelselectform.h</header>
  429. <container>1</container>
  430. </customwidget>
  431. </customwidgets>
  432. <resources/>
  433. <connections/>
  434. </ui>