mainwindow.ui 12 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>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>3</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="SettingsForm" name="pageSettings"/>
  240. <widget class="QWidget" name="pageLogin">
  241. <property name="styleSheet">
  242. <string notr="true">background-color: rgb(119, 185, 255);</string>
  243. </property>
  244. <layout class="QVBoxLayout" name="verticalLayout_2">
  245. <item>
  246. <spacer name="verticalSpacer">
  247. <property name="orientation">
  248. <enum>Qt::Vertical</enum>
  249. </property>
  250. <property name="sizeHint" stdset="0">
  251. <size>
  252. <width>20</width>
  253. <height>150</height>
  254. </size>
  255. </property>
  256. </spacer>
  257. </item>
  258. <item>
  259. <layout class="QHBoxLayout" name="horizontalLayout_3">
  260. <item>
  261. <spacer name="horizontalSpacer">
  262. <property name="orientation">
  263. <enum>Qt::Horizontal</enum>
  264. </property>
  265. <property name="sizeHint" stdset="0">
  266. <size>
  267. <width>40</width>
  268. <height>20</height>
  269. </size>
  270. </property>
  271. </spacer>
  272. </item>
  273. <item>
  274. <widget class="LoginForm" name="widgetLogin" native="true">
  275. <property name="minimumSize">
  276. <size>
  277. <width>350</width>
  278. <height>200</height>
  279. </size>
  280. </property>
  281. <property name="maximumSize">
  282. <size>
  283. <width>350</width>
  284. <height>200</height>
  285. </size>
  286. </property>
  287. </widget>
  288. </item>
  289. <item>
  290. <spacer name="horizontalSpacer_2">
  291. <property name="orientation">
  292. <enum>Qt::Horizontal</enum>
  293. </property>
  294. <property name="sizeHint" stdset="0">
  295. <size>
  296. <width>40</width>
  297. <height>20</height>
  298. </size>
  299. </property>
  300. </spacer>
  301. </item>
  302. </layout>
  303. </item>
  304. <item>
  305. <spacer name="verticalSpacer_2">
  306. <property name="orientation">
  307. <enum>Qt::Vertical</enum>
  308. </property>
  309. <property name="sizeHint" stdset="0">
  310. <size>
  311. <width>20</width>
  312. <height>150</height>
  313. </size>
  314. </property>
  315. </spacer>
  316. </item>
  317. </layout>
  318. </widget>
  319. <widget class="AutoPackForm" name="pageAutoPack"/>
  320. <widget class="SelectValueForm" name="pageSelectValue"/>
  321. <widget class="PackDetailForm" name="pagePackDetail"/>
  322. </widget>
  323. </item>
  324. </layout>
  325. </widget>
  326. <widget class="QMenuBar" name="menubar">
  327. <property name="geometry">
  328. <rect>
  329. <x>0</x>
  330. <y>0</y>
  331. <width>800</width>
  332. <height>26</height>
  333. </rect>
  334. </property>
  335. </widget>
  336. <widget class="QStatusBar" name="statusbar"/>
  337. </widget>
  338. <customwidgets>
  339. <customwidget>
  340. <class>LoginForm</class>
  341. <extends>QWidget</extends>
  342. <header>widget/loginform.h</header>
  343. <container>1</container>
  344. </customwidget>
  345. <customwidget>
  346. <class>AutoPackForm</class>
  347. <extends>QWidget</extends>
  348. <header>widget/autopackform.h</header>
  349. <container>1</container>
  350. </customwidget>
  351. <customwidget>
  352. <class>SelectValueForm</class>
  353. <extends>QWidget</extends>
  354. <header>widget/selectvalueform.h</header>
  355. <container>1</container>
  356. </customwidget>
  357. <customwidget>
  358. <class>PackDetailForm</class>
  359. <extends>QWidget</extends>
  360. <header>widget/packdetailform.h</header>
  361. <container>1</container>
  362. </customwidget>
  363. <customwidget>
  364. <class>SettingsForm</class>
  365. <extends>QWidget</extends>
  366. <header>widget/settingsform.h</header>
  367. <container>1</container>
  368. </customwidget>
  369. </customwidgets>
  370. <resources/>
  371. <connections/>
  372. </ui>