mainwindow.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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>896</width>
  10. <height>584</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="2">
  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. <property name="alignment">
  98. <set>Qt::AlignCenter</set>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="0" column="1">
  103. <spacer name="horizontalSpacer_3">
  104. <property name="orientation">
  105. <enum>Qt::Horizontal</enum>
  106. </property>
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>40</width>
  110. <height>20</height>
  111. </size>
  112. </property>
  113. </spacer>
  114. </item>
  115. </layout>
  116. </widget>
  117. </item>
  118. <item>
  119. <layout class="QGridLayout" name="gridLayout_4">
  120. <property name="sizeConstraint">
  121. <enum>QLayout::SetDefaultConstraint</enum>
  122. </property>
  123. <property name="spacing">
  124. <number>7</number>
  125. </property>
  126. <item row="0" column="3">
  127. <widget class="QPushButton" name="pushConfig">
  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, 85, 255);</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="0">
  159. <widget class="QPushButton" name="pushDingZHong">
  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, 170, 255);</string>
  168. </property>
  169. <property name="text">
  170. <string>定重箱单打印</string>
  171. </property>
  172. <property name="iconSize">
  173. <size>
  174. <width>20</width>
  175. <height>20</height>
  176. </size>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="1" column="0">
  181. <widget class="QPushButton" name="pushList">
  182. <property name="minimumSize">
  183. <size>
  184. <width>80</width>
  185. <height>115</height>
  186. </size>
  187. </property>
  188. <property name="styleSheet">
  189. <string notr="true">background-color: rgb(255, 170, 0);</string>
  190. </property>
  191. <property name="text">
  192. <string>打包明细</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item row="1" column="1">
  197. <widget class="QPushButton" name="pushBanZiDong">
  198. <property name="minimumSize">
  199. <size>
  200. <width>80</width>
  201. <height>115</height>
  202. </size>
  203. </property>
  204. <property name="styleSheet">
  205. <string notr="true">background-color: rgb(85, 255, 0);</string>
  206. </property>
  207. <property name="text">
  208. <string>半自动箱单打印</string>
  209. </property>
  210. </widget>
  211. </item>
  212. <item row="0" column="1">
  213. <widget class="QPushButton" name="pushBuDingZhong">
  214. <property name="minimumSize">
  215. <size>
  216. <width>80</width>
  217. <height>115</height>
  218. </size>
  219. </property>
  220. <property name="styleSheet">
  221. <string notr="true">background-color: rgb(0, 255, 127);</string>
  222. </property>
  223. <property name="text">
  224. <string>不定重箱单打印</string>
  225. </property>
  226. </widget>
  227. </item>
  228. <item row="1" column="2">
  229. <widget class="QPushButton" name="pushAuto">
  230. <property name="minimumSize">
  231. <size>
  232. <width>80</width>
  233. <height>115</height>
  234. </size>
  235. </property>
  236. <property name="styleSheet">
  237. <string notr="true">background-color: rgb(0, 170, 255);</string>
  238. </property>
  239. <property name="text">
  240. <string>自动箱单打印</string>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </item>
  246. </layout>
  247. </item>
  248. </layout>
  249. </widget>
  250. <widget class="QWidget" name="pageTest">
  251. <layout class="QGridLayout" name="gridLayout">
  252. <item row="0" column="0">
  253. <widget class="QLabel" name="djmb">
  254. <property name="text">
  255. <string/>
  256. </property>
  257. </widget>
  258. </item>
  259. </layout>
  260. </widget>
  261. <widget class="SettingsForm" name="pageSettings"/>
  262. <widget class="QWidget" name="pageLogin">
  263. <property name="styleSheet">
  264. <string notr="true">background-color: rgb(119, 185, 255);</string>
  265. </property>
  266. <layout class="QVBoxLayout" name="verticalLayout_2">
  267. <item>
  268. <spacer name="verticalSpacer">
  269. <property name="orientation">
  270. <enum>Qt::Vertical</enum>
  271. </property>
  272. <property name="sizeHint" stdset="0">
  273. <size>
  274. <width>20</width>
  275. <height>150</height>
  276. </size>
  277. </property>
  278. </spacer>
  279. </item>
  280. <item>
  281. <layout class="QHBoxLayout" name="horizontalLayout_3">
  282. <item>
  283. <spacer name="horizontalSpacer">
  284. <property name="orientation">
  285. <enum>Qt::Horizontal</enum>
  286. </property>
  287. <property name="sizeHint" stdset="0">
  288. <size>
  289. <width>40</width>
  290. <height>20</height>
  291. </size>
  292. </property>
  293. </spacer>
  294. </item>
  295. <item>
  296. <widget class="LoginForm" name="widgetLogin" native="true">
  297. <property name="minimumSize">
  298. <size>
  299. <width>400</width>
  300. <height>270</height>
  301. </size>
  302. </property>
  303. <property name="maximumSize">
  304. <size>
  305. <width>400</width>
  306. <height>270</height>
  307. </size>
  308. </property>
  309. </widget>
  310. </item>
  311. <item>
  312. <spacer name="horizontalSpacer_2">
  313. <property name="orientation">
  314. <enum>Qt::Horizontal</enum>
  315. </property>
  316. <property name="sizeHint" stdset="0">
  317. <size>
  318. <width>40</width>
  319. <height>20</height>
  320. </size>
  321. </property>
  322. </spacer>
  323. </item>
  324. </layout>
  325. </item>
  326. <item>
  327. <spacer name="verticalSpacer_2">
  328. <property name="orientation">
  329. <enum>Qt::Vertical</enum>
  330. </property>
  331. <property name="sizeHint" stdset="0">
  332. <size>
  333. <width>20</width>
  334. <height>150</height>
  335. </size>
  336. </property>
  337. </spacer>
  338. </item>
  339. </layout>
  340. </widget>
  341. <widget class="AutoPackForm" name="pageAutoPack"/>
  342. <widget class="SelectValueForm" name="pageSelectValue"/>
  343. <widget class="PackDetailForm" name="pagePackDetail"/>
  344. <widget class="FixedWeightPackForm" name="pageDingZhong"/>
  345. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  346. </widget>
  347. </item>
  348. </layout>
  349. </widget>
  350. <widget class="QMenuBar" name="menubar">
  351. <property name="geometry">
  352. <rect>
  353. <x>0</x>
  354. <y>0</y>
  355. <width>896</width>
  356. <height>26</height>
  357. </rect>
  358. </property>
  359. <widget class="QMenu" name="menu">
  360. <property name="title">
  361. <string>显示</string>
  362. </property>
  363. <addaction name="actionQuanping"/>
  364. <addaction name="actionMax"/>
  365. </widget>
  366. <addaction name="menu"/>
  367. </widget>
  368. <widget class="QStatusBar" name="statusbar"/>
  369. <action name="actionQuanping">
  370. <property name="text">
  371. <string>全屏</string>
  372. </property>
  373. </action>
  374. <action name="actionMax">
  375. <property name="text">
  376. <string>最大化</string>
  377. </property>
  378. </action>
  379. </widget>
  380. <customwidgets>
  381. <customwidget>
  382. <class>LoginForm</class>
  383. <extends>QWidget</extends>
  384. <header>widget/loginform.h</header>
  385. <container>1</container>
  386. </customwidget>
  387. <customwidget>
  388. <class>AutoPackForm</class>
  389. <extends>QWidget</extends>
  390. <header>widget/autopackform.h</header>
  391. <container>1</container>
  392. </customwidget>
  393. <customwidget>
  394. <class>SelectValueForm</class>
  395. <extends>QWidget</extends>
  396. <header>widget/selectvalueform.h</header>
  397. <container>1</container>
  398. </customwidget>
  399. <customwidget>
  400. <class>PackDetailForm</class>
  401. <extends>QWidget</extends>
  402. <header>widget/packdetailform.h</header>
  403. <container>1</container>
  404. </customwidget>
  405. <customwidget>
  406. <class>SettingsForm</class>
  407. <extends>QWidget</extends>
  408. <header>widget/settingsform.h</header>
  409. <container>1</container>
  410. </customwidget>
  411. <customwidget>
  412. <class>FixedWeightPackForm</class>
  413. <extends>QWidget</extends>
  414. <header>widget/fixedweightpackform.h</header>
  415. <container>1</container>
  416. </customwidget>
  417. <customwidget>
  418. <class>UncertainWeightPackForm</class>
  419. <extends>QWidget</extends>
  420. <header>widget/uncertainweightpackform.h</header>
  421. <container>1</container>
  422. </customwidget>
  423. </customwidgets>
  424. <resources/>
  425. <connections/>
  426. </ui>