mainwindow.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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>3</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="SelectValueForm" name="pageSelectValue"/>
  198. <widget class="PackDetailForm" name="pagePackDetail"/>
  199. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. <widget class="QMenuBar" name="menubar">
  205. <property name="geometry">
  206. <rect>
  207. <x>0</x>
  208. <y>0</y>
  209. <width>1033</width>
  210. <height>26</height>
  211. </rect>
  212. </property>
  213. <widget class="QMenu" name="menu">
  214. <property name="title">
  215. <string>设置</string>
  216. </property>
  217. <widget class="QMenu" name="menu_4">
  218. <property name="title">
  219. <string>规格设置</string>
  220. </property>
  221. <addaction name="actionAddNew"/>
  222. <addaction name="actionSelectvalue"/>
  223. <addaction name="action_4"/>
  224. </widget>
  225. <addaction name="menu_4"/>
  226. <addaction name="actionSetting"/>
  227. <addaction name="actionMax"/>
  228. <addaction name="actionLogout"/>
  229. </widget>
  230. <widget class="QMenu" name="menu_2">
  231. <property name="title">
  232. <string>入库</string>
  233. </property>
  234. <addaction name="actionPack"/>
  235. </widget>
  236. <widget class="QMenu" name="menu_3">
  237. <property name="title">
  238. <string>统计</string>
  239. </property>
  240. </widget>
  241. <widget class="QMenu" name="menu_5">
  242. <property name="title">
  243. <string>模板管理</string>
  244. </property>
  245. <addaction name="actionXiangDanModel"/>
  246. <addaction name="actionMaDanModel"/>
  247. </widget>
  248. <addaction name="menu"/>
  249. <addaction name="menu_2"/>
  250. <addaction name="menu_3"/>
  251. <addaction name="menu_5"/>
  252. </widget>
  253. <action name="actionSetting">
  254. <property name="text">
  255. <string>连接设置</string>
  256. </property>
  257. </action>
  258. <action name="action">
  259. <property name="text">
  260. <string>退出账号</string>
  261. </property>
  262. </action>
  263. <action name="actionAddNew">
  264. <property name="text">
  265. <string>新建规格</string>
  266. </property>
  267. </action>
  268. <action name="actionSelectvalue">
  269. <property name="text">
  270. <string>查看规格</string>
  271. </property>
  272. </action>
  273. <action name="action_4">
  274. <property name="text">
  275. <string>修改规格</string>
  276. </property>
  277. </action>
  278. <action name="actionPack">
  279. <property name="text">
  280. <string>打包</string>
  281. </property>
  282. </action>
  283. <action name="actionModify">
  284. <property name="text">
  285. <string>修改</string>
  286. </property>
  287. </action>
  288. <action name="actionMax">
  289. <property name="text">
  290. <string>最大化</string>
  291. </property>
  292. </action>
  293. <action name="actionLogout">
  294. <property name="text">
  295. <string>退出账号</string>
  296. </property>
  297. </action>
  298. <action name="actionShowModel">
  299. <property name="text">
  300. <string>模板管理</string>
  301. </property>
  302. </action>
  303. <action name="actionXiangDanModel">
  304. <property name="text">
  305. <string>箱单管理</string>
  306. </property>
  307. </action>
  308. <action name="actionMaDanModel">
  309. <property name="text">
  310. <string>码单管理</string>
  311. </property>
  312. </action>
  313. </widget>
  314. <customwidgets>
  315. <customwidget>
  316. <class>LoginForm</class>
  317. <extends>QWidget</extends>
  318. <header>widget/loginform.h</header>
  319. <container>1</container>
  320. </customwidget>
  321. <customwidget>
  322. <class>SelectValueForm</class>
  323. <extends>QWidget</extends>
  324. <header>widget/selectvalueform.h</header>
  325. <container>1</container>
  326. </customwidget>
  327. <customwidget>
  328. <class>PackDetailForm</class>
  329. <extends>QWidget</extends>
  330. <header>widget/packdetailform.h</header>
  331. <container>1</container>
  332. </customwidget>
  333. <customwidget>
  334. <class>SettingsForm</class>
  335. <extends>QWidget</extends>
  336. <header>widget/settingsform.h</header>
  337. <container>1</container>
  338. </customwidget>
  339. <customwidget>
  340. <class>FixedWeightPackForm</class>
  341. <extends>QWidget</extends>
  342. <header>widget/fixedweightpackform.h</header>
  343. <container>1</container>
  344. </customwidget>
  345. <customwidget>
  346. <class>UncertainWeightPackForm</class>
  347. <extends>QWidget</extends>
  348. <header>widget/uncertainweightpackform.h</header>
  349. <container>1</container>
  350. </customwidget>
  351. <customwidget>
  352. <class>AddNewSpecsForm</class>
  353. <extends>QWidget</extends>
  354. <header>widget/addnewspecsform.h</header>
  355. <container>1</container>
  356. </customwidget>
  357. <customwidget>
  358. <class>ShowMaDanLabelForm</class>
  359. <extends>QWidget</extends>
  360. <header>widget/showmadanlabelform.h</header>
  361. <container>1</container>
  362. </customwidget>
  363. <customwidget>
  364. <class>ShowXiangDanLabelForm</class>
  365. <extends>QWidget</extends>
  366. <header>widget/showxiangdanlabelform.h</header>
  367. <container>1</container>
  368. </customwidget>
  369. </customwidgets>
  370. <resources/>
  371. <connections/>
  372. </ui>