mainwindow.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  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>0</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">background-color: rgb(119, 185, 255);</string>
  93. </property>
  94. <layout class="QVBoxLayout" name="verticalLayout_2">
  95. <item>
  96. <spacer name="verticalSpacer">
  97. <property name="orientation">
  98. <enum>Qt::Vertical</enum>
  99. </property>
  100. <property name="sizeHint" stdset="0">
  101. <size>
  102. <width>20</width>
  103. <height>150</height>
  104. </size>
  105. </property>
  106. </spacer>
  107. </item>
  108. <item>
  109. <layout class="QHBoxLayout" name="horizontalLayout_3">
  110. <item>
  111. <spacer name="horizontalSpacer">
  112. <property name="orientation">
  113. <enum>Qt::Horizontal</enum>
  114. </property>
  115. <property name="sizeHint" stdset="0">
  116. <size>
  117. <width>40</width>
  118. <height>20</height>
  119. </size>
  120. </property>
  121. </spacer>
  122. </item>
  123. <item>
  124. <widget class="LoginForm" name="widgetLogin" native="true">
  125. <property name="minimumSize">
  126. <size>
  127. <width>400</width>
  128. <height>270</height>
  129. </size>
  130. </property>
  131. <property name="maximumSize">
  132. <size>
  133. <width>400</width>
  134. <height>270</height>
  135. </size>
  136. </property>
  137. <property name="styleSheet">
  138. <string notr="true">background-color: rgb(185, 229, 255);</string>
  139. </property>
  140. </widget>
  141. </item>
  142. <item>
  143. <spacer name="horizontalSpacer_2">
  144. <property name="orientation">
  145. <enum>Qt::Horizontal</enum>
  146. </property>
  147. <property name="sizeHint" stdset="0">
  148. <size>
  149. <width>40</width>
  150. <height>20</height>
  151. </size>
  152. </property>
  153. </spacer>
  154. </item>
  155. </layout>
  156. </item>
  157. <item>
  158. <spacer name="verticalSpacer_2">
  159. <property name="orientation">
  160. <enum>Qt::Vertical</enum>
  161. </property>
  162. <property name="sizeHint" stdset="0">
  163. <size>
  164. <width>20</width>
  165. <height>150</height>
  166. </size>
  167. </property>
  168. </spacer>
  169. </item>
  170. </layout>
  171. </widget>
  172. <widget class="QWidget" name="pageAutoPack">
  173. <layout class="QGridLayout" name="gridLayout_3">
  174. <property name="leftMargin">
  175. <number>0</number>
  176. </property>
  177. <property name="topMargin">
  178. <number>0</number>
  179. </property>
  180. <property name="rightMargin">
  181. <number>0</number>
  182. </property>
  183. <property name="bottomMargin">
  184. <number>0</number>
  185. </property>
  186. <property name="spacing">
  187. <number>0</number>
  188. </property>
  189. <item row="0" column="0">
  190. <widget class="QStackedWidget" name="stackedWidget_2">
  191. <widget class="FixedWeightPackForm" name="dingzhong"/>
  192. <widget class="UncertainWeightPackForm" name="buding"/>
  193. </widget>
  194. </item>
  195. </layout>
  196. </widget>
  197. <widget class="ModelSelectForm" name="pageSelectModel"/>
  198. <widget class="SelectValueForm" name="pageSelectValue"/>
  199. <widget class="PackDetailForm" name="pagePackDetail"/>
  200. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  201. </widget>
  202. </item>
  203. </layout>
  204. </widget>
  205. <widget class="QMenuBar" name="menubar">
  206. <property name="geometry">
  207. <rect>
  208. <x>0</x>
  209. <y>0</y>
  210. <width>1033</width>
  211. <height>26</height>
  212. </rect>
  213. </property>
  214. <widget class="QMenu" name="menu">
  215. <property name="title">
  216. <string>设置</string>
  217. </property>
  218. <widget class="QMenu" name="menu_4">
  219. <property name="title">
  220. <string>规格设置</string>
  221. </property>
  222. <addaction name="actionAddNew"/>
  223. <addaction name="actionSelectvalue"/>
  224. <addaction name="action_4"/>
  225. </widget>
  226. <addaction name="menu_4"/>
  227. <addaction name="actionSetting"/>
  228. <addaction name="actionMax"/>
  229. <addaction name="actionLogout"/>
  230. </widget>
  231. <widget class="QMenu" name="menu_2">
  232. <property name="title">
  233. <string>入库</string>
  234. </property>
  235. <addaction name="actionPack"/>
  236. </widget>
  237. <widget class="QMenu" name="menu_3">
  238. <property name="title">
  239. <string>统计</string>
  240. </property>
  241. </widget>
  242. <widget class="QMenu" name="menu_5">
  243. <property name="enabled">
  244. <bool>true</bool>
  245. </property>
  246. <property name="title">
  247. <string>模板管理</string>
  248. </property>
  249. <addaction name="actionXiangDan"/>
  250. <addaction name="actionMaDan"/>
  251. </widget>
  252. <addaction name="menu"/>
  253. <addaction name="menu_2"/>
  254. <addaction name="menu_3"/>
  255. <addaction name="menu_5"/>
  256. </widget>
  257. <action name="actionSetting">
  258. <property name="text">
  259. <string>连接设置</string>
  260. </property>
  261. </action>
  262. <action name="action">
  263. <property name="text">
  264. <string>退出账号</string>
  265. </property>
  266. </action>
  267. <action name="actionAddNew">
  268. <property name="text">
  269. <string>新建规格</string>
  270. </property>
  271. </action>
  272. <action name="actionSelectvalue">
  273. <property name="text">
  274. <string>查看规格</string>
  275. </property>
  276. </action>
  277. <action name="action_4">
  278. <property name="text">
  279. <string>修改规格</string>
  280. </property>
  281. </action>
  282. <action name="actionPack">
  283. <property name="text">
  284. <string>打包</string>
  285. </property>
  286. </action>
  287. <action name="actionModify">
  288. <property name="text">
  289. <string>修改</string>
  290. </property>
  291. </action>
  292. <action name="actionMax">
  293. <property name="text">
  294. <string>最大化</string>
  295. </property>
  296. </action>
  297. <action name="actionLogout">
  298. <property name="text">
  299. <string>退出账号</string>
  300. </property>
  301. </action>
  302. <action name="actionShowModel">
  303. <property name="text">
  304. <string>模板管理</string>
  305. </property>
  306. </action>
  307. <action name="actionXiangDanModel">
  308. <property name="text">
  309. <string>箱单管理</string>
  310. </property>
  311. <property name="visible">
  312. <bool>true</bool>
  313. </property>
  314. </action>
  315. <action name="actionMaDanModel">
  316. <property name="text">
  317. <string>码单管理</string>
  318. </property>
  319. <property name="visible">
  320. <bool>true</bool>
  321. </property>
  322. </action>
  323. <action name="actionXiangDan">
  324. <property name="text">
  325. <string>箱单模板</string>
  326. </property>
  327. </action>
  328. <action name="actionMaDan">
  329. <property name="text">
  330. <string>码单模板</string>
  331. </property>
  332. </action>
  333. </widget>
  334. <customwidgets>
  335. <customwidget>
  336. <class>LoginForm</class>
  337. <extends>QWidget</extends>
  338. <header>widget/loginform.h</header>
  339. <container>1</container>
  340. </customwidget>
  341. <customwidget>
  342. <class>SelectValueForm</class>
  343. <extends>QWidget</extends>
  344. <header>widget/selectvalueform.h</header>
  345. <container>1</container>
  346. </customwidget>
  347. <customwidget>
  348. <class>PackDetailForm</class>
  349. <extends>QWidget</extends>
  350. <header>widget/packdetailform.h</header>
  351. <container>1</container>
  352. </customwidget>
  353. <customwidget>
  354. <class>SettingsForm</class>
  355. <extends>QWidget</extends>
  356. <header>widget/settingsform.h</header>
  357. <container>1</container>
  358. </customwidget>
  359. <customwidget>
  360. <class>FixedWeightPackForm</class>
  361. <extends>QWidget</extends>
  362. <header>widget/fixedweightpackform.h</header>
  363. <container>1</container>
  364. </customwidget>
  365. <customwidget>
  366. <class>UncertainWeightPackForm</class>
  367. <extends>QWidget</extends>
  368. <header>widget/uncertainweightpackform.h</header>
  369. <container>1</container>
  370. </customwidget>
  371. <customwidget>
  372. <class>AddNewSpecsForm</class>
  373. <extends>QWidget</extends>
  374. <header>widget/addnewspecsform.h</header>
  375. <container>1</container>
  376. </customwidget>
  377. <customwidget>
  378. <class>ShowMaDanLabelForm</class>
  379. <extends>QWidget</extends>
  380. <header>widget/showmadanlabelform.h</header>
  381. <container>1</container>
  382. </customwidget>
  383. <customwidget>
  384. <class>ShowXiangDanLabelForm</class>
  385. <extends>QWidget</extends>
  386. <header>widget/showxiangdanlabelform.h</header>
  387. <container>1</container>
  388. </customwidget>
  389. <customwidget>
  390. <class>ModelSelectForm</class>
  391. <extends>QWidget</extends>
  392. <header>widget/modelselectform.h</header>
  393. <container>1</container>
  394. </customwidget>
  395. </customwidgets>
  396. <resources/>
  397. <connections/>
  398. </ui>