mainwindow.ui 11 KB

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