mainwindow.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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>800</width>
  10. <height>600</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">
  18. <item>
  19. <widget class="QStackedWidget" name="stackedWidget">
  20. <property name="currentIndex">
  21. <number>0</number>
  22. </property>
  23. <widget class="QWidget" name="pageMain">
  24. <layout class="QHBoxLayout" name="horizontalLayout_2">
  25. <item>
  26. <layout class="QVBoxLayout" name="verticalLayout">
  27. <item>
  28. <widget class="QWidget" name="widget" native="true">
  29. <property name="maximumSize">
  30. <size>
  31. <width>999999</width>
  32. <height>52</height>
  33. </size>
  34. </property>
  35. <property name="styleSheet">
  36. <string notr="true">background-color: rgb(0, 170, 255);</string>
  37. </property>
  38. <layout class="QGridLayout" name="gridLayout_5">
  39. <item row="0" column="0">
  40. <widget class="QLabel" name="label_9">
  41. <property name="minimumSize">
  42. <size>
  43. <width>0</width>
  44. <height>30</height>
  45. </size>
  46. </property>
  47. <property name="maximumSize">
  48. <size>
  49. <width>16777215</width>
  50. <height>30</height>
  51. </size>
  52. </property>
  53. <property name="styleSheet">
  54. <string notr="true">font: 12pt &quot;黑体&quot;;
  55. color: rgb(255, 255, 255);</string>
  56. </property>
  57. <property name="text">
  58. <string>打包选择</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="0" column="1">
  63. <widget class="QLabel" name="p2_user_lb">
  64. <property name="minimumSize">
  65. <size>
  66. <width>100</width>
  67. <height>30</height>
  68. </size>
  69. </property>
  70. <property name="maximumSize">
  71. <size>
  72. <width>16777215</width>
  73. <height>30</height>
  74. </size>
  75. </property>
  76. <property name="text">
  77. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;right&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  78. </property>
  79. </widget>
  80. </item>
  81. </layout>
  82. </widget>
  83. </item>
  84. <item>
  85. <layout class="QGridLayout" name="gridLayout_4">
  86. <item row="0" column="0">
  87. <widget class="QPushButton" name="pushDingZHong">
  88. <property name="minimumSize">
  89. <size>
  90. <width>80</width>
  91. <height>115</height>
  92. </size>
  93. </property>
  94. <property name="styleSheet">
  95. <string notr="true">background-color: rgb(0, 170, 255);</string>
  96. </property>
  97. <property name="text">
  98. <string>定重箱单打印</string>
  99. </property>
  100. <property name="iconSize">
  101. <size>
  102. <width>20</width>
  103. <height>20</height>
  104. </size>
  105. </property>
  106. </widget>
  107. </item>
  108. <item row="0" column="1">
  109. <widget class="QPushButton" name="pushBuDingZhong">
  110. <property name="minimumSize">
  111. <size>
  112. <width>80</width>
  113. <height>115</height>
  114. </size>
  115. </property>
  116. <property name="styleSheet">
  117. <string notr="true">background-color: rgb(0, 255, 127);</string>
  118. </property>
  119. <property name="text">
  120. <string>不定重箱单打印</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item row="0" column="2">
  125. <widget class="QPushButton" name="pushXiaoBiaoqian">
  126. <property name="minimumSize">
  127. <size>
  128. <width>80</width>
  129. <height>115</height>
  130. </size>
  131. </property>
  132. <property name="styleSheet">
  133. <string notr="true">background-color: rgb(0, 170, 255);</string>
  134. </property>
  135. <property name="text">
  136. <string>小标签打印</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item row="0" column="3">
  141. <widget class="QPushButton" name="pushConfig">
  142. <property name="minimumSize">
  143. <size>
  144. <width>80</width>
  145. <height>115</height>
  146. </size>
  147. </property>
  148. <property name="styleSheet">
  149. <string notr="true">background-color: rgb(0, 85, 255);</string>
  150. </property>
  151. <property name="text">
  152. <string>硬件配置</string>
  153. </property>
  154. </widget>
  155. </item>
  156. <item row="1" column="0">
  157. <widget class="QPushButton" name="pushList">
  158. <property name="minimumSize">
  159. <size>
  160. <width>80</width>
  161. <height>115</height>
  162. </size>
  163. </property>
  164. <property name="styleSheet">
  165. <string notr="true">background-color: rgb(255, 170, 0);</string>
  166. </property>
  167. <property name="text">
  168. <string>打包明细</string>
  169. </property>
  170. </widget>
  171. </item>
  172. <item row="1" column="1">
  173. <widget class="QPushButton" name="pushBanZiDong">
  174. <property name="minimumSize">
  175. <size>
  176. <width>80</width>
  177. <height>115</height>
  178. </size>
  179. </property>
  180. <property name="styleSheet">
  181. <string notr="true">background-color: rgb(85, 255, 0);</string>
  182. </property>
  183. <property name="text">
  184. <string>半自动箱单打印</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="1" column="2">
  189. <widget class="QPushButton" name="pushAuto">
  190. <property name="minimumSize">
  191. <size>
  192. <width>80</width>
  193. <height>115</height>
  194. </size>
  195. </property>
  196. <property name="styleSheet">
  197. <string notr="true">background-color: rgb(0, 170, 255);</string>
  198. </property>
  199. <property name="text">
  200. <string>自动箱单打印</string>
  201. </property>
  202. </widget>
  203. </item>
  204. </layout>
  205. </item>
  206. </layout>
  207. </item>
  208. </layout>
  209. </widget>
  210. <widget class="QWidget" name="pageLogin">
  211. <layout class="QVBoxLayout" name="verticalLayout_2">
  212. <item>
  213. <spacer name="verticalSpacer">
  214. <property name="orientation">
  215. <enum>Qt::Vertical</enum>
  216. </property>
  217. <property name="sizeHint" stdset="0">
  218. <size>
  219. <width>20</width>
  220. <height>150</height>
  221. </size>
  222. </property>
  223. </spacer>
  224. </item>
  225. <item>
  226. <layout class="QHBoxLayout" name="horizontalLayout_3">
  227. <item>
  228. <spacer name="horizontalSpacer">
  229. <property name="orientation">
  230. <enum>Qt::Horizontal</enum>
  231. </property>
  232. <property name="sizeHint" stdset="0">
  233. <size>
  234. <width>40</width>
  235. <height>20</height>
  236. </size>
  237. </property>
  238. </spacer>
  239. </item>
  240. <item>
  241. <widget class="LoginForm" name="widgetLogin" native="true">
  242. <property name="minimumSize">
  243. <size>
  244. <width>350</width>
  245. <height>200</height>
  246. </size>
  247. </property>
  248. <property name="maximumSize">
  249. <size>
  250. <width>350</width>
  251. <height>200</height>
  252. </size>
  253. </property>
  254. </widget>
  255. </item>
  256. <item>
  257. <spacer name="horizontalSpacer_2">
  258. <property name="orientation">
  259. <enum>Qt::Horizontal</enum>
  260. </property>
  261. <property name="sizeHint" stdset="0">
  262. <size>
  263. <width>40</width>
  264. <height>20</height>
  265. </size>
  266. </property>
  267. </spacer>
  268. </item>
  269. </layout>
  270. </item>
  271. <item>
  272. <spacer name="verticalSpacer_2">
  273. <property name="orientation">
  274. <enum>Qt::Vertical</enum>
  275. </property>
  276. <property name="sizeHint" stdset="0">
  277. <size>
  278. <width>20</width>
  279. <height>150</height>
  280. </size>
  281. </property>
  282. </spacer>
  283. </item>
  284. </layout>
  285. </widget>
  286. <widget class="AutoPackForm" name="pageAutoPack"/>
  287. <widget class="SelectValueForm" name="pageSelectValue"/>
  288. </widget>
  289. </item>
  290. </layout>
  291. </widget>
  292. <widget class="QMenuBar" name="menubar">
  293. <property name="geometry">
  294. <rect>
  295. <x>0</x>
  296. <y>0</y>
  297. <width>800</width>
  298. <height>26</height>
  299. </rect>
  300. </property>
  301. </widget>
  302. <widget class="QStatusBar" name="statusbar"/>
  303. </widget>
  304. <customwidgets>
  305. <customwidget>
  306. <class>LoginForm</class>
  307. <extends>QWidget</extends>
  308. <header>widget/loginform.h</header>
  309. <container>1</container>
  310. </customwidget>
  311. <customwidget>
  312. <class>AutoPackForm</class>
  313. <extends>QWidget</extends>
  314. <header>widget/autopackform.h</header>
  315. <container>1</container>
  316. </customwidget>
  317. <customwidget>
  318. <class>SelectValueForm</class>
  319. <extends>QWidget</extends>
  320. <header>widget/selectvalueform.h</header>
  321. <container>1</container>
  322. </customwidget>
  323. </customwidgets>
  324. <resources/>
  325. <connections/>
  326. </ui>