mainwindow.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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. <widget class="QWidget" name="centralwidget">
  17. <layout class="QGridLayout" name="gridLayout_2">
  18. <item row="0" column="0">
  19. <widget class="QStackedWidget" name="stackedWidget">
  20. <property name="currentIndex">
  21. <number>4</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. <property name="spacing">
  28. <number>7</number>
  29. </property>
  30. <item>
  31. <widget class="QWidget" name="widget" native="true">
  32. <property name="maximumSize">
  33. <size>
  34. <width>999999</width>
  35. <height>52</height>
  36. </size>
  37. </property>
  38. <property name="styleSheet">
  39. <string notr="true">background-color: rgb(0, 170, 255);</string>
  40. </property>
  41. <layout class="QGridLayout" name="gridLayout_5">
  42. <item row="0" column="0">
  43. <widget class="QLabel" name="label_9">
  44. <property name="minimumSize">
  45. <size>
  46. <width>0</width>
  47. <height>30</height>
  48. </size>
  49. </property>
  50. <property name="maximumSize">
  51. <size>
  52. <width>16777215</width>
  53. <height>30</height>
  54. </size>
  55. </property>
  56. <property name="styleSheet">
  57. <string notr="true">font: 12pt &quot;黑体&quot;;
  58. color: rgb(255, 255, 255);</string>
  59. </property>
  60. <property name="text">
  61. <string>打包选择</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="0" column="2">
  66. <widget class="QLabel" name="p2_user_lb">
  67. <property name="minimumSize">
  68. <size>
  69. <width>100</width>
  70. <height>30</height>
  71. </size>
  72. </property>
  73. <property name="maximumSize">
  74. <size>
  75. <width>16777215</width>
  76. <height>30</height>
  77. </size>
  78. </property>
  79. <property name="text">
  80. <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>
  81. </property>
  82. <property name="alignment">
  83. <set>Qt::AlignCenter</set>
  84. </property>
  85. </widget>
  86. </item>
  87. <item row="0" column="1">
  88. <spacer name="horizontalSpacer_3">
  89. <property name="orientation">
  90. <enum>Qt::Horizontal</enum>
  91. </property>
  92. <property name="sizeHint" stdset="0">
  93. <size>
  94. <width>40</width>
  95. <height>20</height>
  96. </size>
  97. </property>
  98. </spacer>
  99. </item>
  100. </layout>
  101. </widget>
  102. </item>
  103. <item>
  104. <layout class="QGridLayout" name="gridLayout_4">
  105. <property name="sizeConstraint">
  106. <enum>QLayout::SetDefaultConstraint</enum>
  107. </property>
  108. <property name="spacing">
  109. <number>7</number>
  110. </property>
  111. <item row="0" column="3">
  112. <widget class="QPushButton" name="pushConfig">
  113. <property name="minimumSize">
  114. <size>
  115. <width>80</width>
  116. <height>115</height>
  117. </size>
  118. </property>
  119. <property name="styleSheet">
  120. <string notr="true">background-color: rgb(0, 85, 255);</string>
  121. </property>
  122. <property name="text">
  123. <string>硬件配置</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="0" column="2">
  128. <widget class="QPushButton" name="pushXiaoBiaoqian">
  129. <property name="minimumSize">
  130. <size>
  131. <width>80</width>
  132. <height>115</height>
  133. </size>
  134. </property>
  135. <property name="styleSheet">
  136. <string notr="true">background-color: rgb(0, 170, 255);</string>
  137. </property>
  138. <property name="text">
  139. <string>小标签打印</string>
  140. </property>
  141. </widget>
  142. </item>
  143. <item row="0" column="0">
  144. <widget class="QPushButton" name="pushDingZHong">
  145. <property name="minimumSize">
  146. <size>
  147. <width>80</width>
  148. <height>115</height>
  149. </size>
  150. </property>
  151. <property name="styleSheet">
  152. <string notr="true">background-color: rgb(0, 170, 255);</string>
  153. </property>
  154. <property name="text">
  155. <string>定重箱单打印</string>
  156. </property>
  157. <property name="iconSize">
  158. <size>
  159. <width>20</width>
  160. <height>20</height>
  161. </size>
  162. </property>
  163. </widget>
  164. </item>
  165. <item row="1" column="0">
  166. <widget class="QPushButton" name="pushList">
  167. <property name="minimumSize">
  168. <size>
  169. <width>80</width>
  170. <height>115</height>
  171. </size>
  172. </property>
  173. <property name="styleSheet">
  174. <string notr="true">background-color: rgb(255, 170, 0);</string>
  175. </property>
  176. <property name="text">
  177. <string>打包明细</string>
  178. </property>
  179. </widget>
  180. </item>
  181. <item row="1" column="1">
  182. <widget class="QPushButton" name="pushBanZiDong">
  183. <property name="minimumSize">
  184. <size>
  185. <width>80</width>
  186. <height>115</height>
  187. </size>
  188. </property>
  189. <property name="styleSheet">
  190. <string notr="true">background-color: rgb(85, 255, 0);</string>
  191. </property>
  192. <property name="text">
  193. <string>半自动箱单打印</string>
  194. </property>
  195. </widget>
  196. </item>
  197. <item row="0" column="1">
  198. <widget class="QPushButton" name="pushBuDingZhong">
  199. <property name="minimumSize">
  200. <size>
  201. <width>80</width>
  202. <height>115</height>
  203. </size>
  204. </property>
  205. <property name="styleSheet">
  206. <string notr="true">background-color: rgb(0, 255, 127);</string>
  207. </property>
  208. <property name="text">
  209. <string>不定重箱单打印</string>
  210. </property>
  211. </widget>
  212. </item>
  213. <item row="1" column="2">
  214. <widget class="QPushButton" name="pushAuto">
  215. <property name="minimumSize">
  216. <size>
  217. <width>80</width>
  218. <height>115</height>
  219. </size>
  220. </property>
  221. <property name="styleSheet">
  222. <string notr="true">background-color: rgb(0, 170, 255);</string>
  223. </property>
  224. <property name="text">
  225. <string>自动箱单打印</string>
  226. </property>
  227. </widget>
  228. </item>
  229. </layout>
  230. </item>
  231. </layout>
  232. </item>
  233. </layout>
  234. </widget>
  235. <widget class="QWidget" name="pageTest">
  236. <layout class="QGridLayout" name="gridLayout">
  237. <item row="0" column="0">
  238. <widget class="QLabel" name="djmb">
  239. <property name="text">
  240. <string/>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </widget>
  246. <widget class="SettingsForm" name="pageSettings"/>
  247. <widget class="QWidget" name="pageLogin">
  248. <property name="styleSheet">
  249. <string notr="true">background-color: rgb(119, 185, 255);</string>
  250. </property>
  251. <layout class="QVBoxLayout" name="verticalLayout_2">
  252. <item>
  253. <spacer name="verticalSpacer">
  254. <property name="orientation">
  255. <enum>Qt::Vertical</enum>
  256. </property>
  257. <property name="sizeHint" stdset="0">
  258. <size>
  259. <width>20</width>
  260. <height>150</height>
  261. </size>
  262. </property>
  263. </spacer>
  264. </item>
  265. <item>
  266. <layout class="QHBoxLayout" name="horizontalLayout_3">
  267. <item>
  268. <spacer name="horizontalSpacer">
  269. <property name="orientation">
  270. <enum>Qt::Horizontal</enum>
  271. </property>
  272. <property name="sizeHint" stdset="0">
  273. <size>
  274. <width>40</width>
  275. <height>20</height>
  276. </size>
  277. </property>
  278. </spacer>
  279. </item>
  280. <item>
  281. <widget class="LoginForm" name="widgetLogin" native="true">
  282. <property name="minimumSize">
  283. <size>
  284. <width>400</width>
  285. <height>270</height>
  286. </size>
  287. </property>
  288. <property name="maximumSize">
  289. <size>
  290. <width>400</width>
  291. <height>270</height>
  292. </size>
  293. </property>
  294. <property name="styleSheet">
  295. <string notr="true">background-color: rgb(185, 229, 255);</string>
  296. </property>
  297. </widget>
  298. </item>
  299. <item>
  300. <spacer name="horizontalSpacer_2">
  301. <property name="orientation">
  302. <enum>Qt::Horizontal</enum>
  303. </property>
  304. <property name="sizeHint" stdset="0">
  305. <size>
  306. <width>40</width>
  307. <height>20</height>
  308. </size>
  309. </property>
  310. </spacer>
  311. </item>
  312. </layout>
  313. </item>
  314. <item>
  315. <spacer name="verticalSpacer_2">
  316. <property name="orientation">
  317. <enum>Qt::Vertical</enum>
  318. </property>
  319. <property name="sizeHint" stdset="0">
  320. <size>
  321. <width>20</width>
  322. <height>150</height>
  323. </size>
  324. </property>
  325. </spacer>
  326. </item>
  327. </layout>
  328. </widget>
  329. <widget class="QWidget" name="pageAutoPack">
  330. <layout class="QGridLayout" name="gridLayout_3">
  331. <property name="leftMargin">
  332. <number>0</number>
  333. </property>
  334. <property name="topMargin">
  335. <number>0</number>
  336. </property>
  337. <property name="rightMargin">
  338. <number>0</number>
  339. </property>
  340. <property name="bottomMargin">
  341. <number>0</number>
  342. </property>
  343. <property name="spacing">
  344. <number>0</number>
  345. </property>
  346. <item row="0" column="0">
  347. <widget class="QWidget" name="widget_2" native="true">
  348. <property name="minimumSize">
  349. <size>
  350. <width>0</width>
  351. <height>40</height>
  352. </size>
  353. </property>
  354. <layout class="QGridLayout" name="gridLayout_6">
  355. <item row="0" column="3">
  356. <widget class="QCheckBox" name="checkBox">
  357. <property name="text">
  358. <string>打包是否入库</string>
  359. </property>
  360. </widget>
  361. </item>
  362. <item row="0" column="1">
  363. <widget class="QRadioButton" name="dingzhongButton">
  364. <property name="text">
  365. <string>定重打包</string>
  366. </property>
  367. </widget>
  368. </item>
  369. <item row="0" column="4">
  370. <spacer name="horizontalSpacer_5">
  371. <property name="orientation">
  372. <enum>Qt::Horizontal</enum>
  373. </property>
  374. <property name="sizeHint" stdset="0">
  375. <size>
  376. <width>311</width>
  377. <height>20</height>
  378. </size>
  379. </property>
  380. </spacer>
  381. </item>
  382. <item row="0" column="2">
  383. <widget class="QRadioButton" name="budingButton">
  384. <property name="text">
  385. <string>不定重打包</string>
  386. </property>
  387. </widget>
  388. </item>
  389. <item row="0" column="0">
  390. <spacer name="horizontalSpacer_4">
  391. <property name="orientation">
  392. <enum>Qt::Horizontal</enum>
  393. </property>
  394. <property name="sizeHint" stdset="0">
  395. <size>
  396. <width>338</width>
  397. <height>20</height>
  398. </size>
  399. </property>
  400. </spacer>
  401. </item>
  402. </layout>
  403. </widget>
  404. </item>
  405. <item row="1" column="0">
  406. <widget class="QStackedWidget" name="stackedWidget_2">
  407. <widget class="FixedWeightPackForm" name="dingzhong"/>
  408. <widget class="UncertainWeightPackForm" name="buding"/>
  409. </widget>
  410. </item>
  411. </layout>
  412. </widget>
  413. <widget class="SelectValueForm" name="pageSelectValue"/>
  414. <widget class="PackDetailForm" name="pagePackDetail"/>
  415. <widget class="FixedWeightPackForm" name="pageDingZhong"/>
  416. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  417. </widget>
  418. </item>
  419. </layout>
  420. </widget>
  421. <widget class="QMenuBar" name="menubar">
  422. <property name="geometry">
  423. <rect>
  424. <x>0</x>
  425. <y>0</y>
  426. <width>1033</width>
  427. <height>26</height>
  428. </rect>
  429. </property>
  430. <widget class="QMenu" name="menu">
  431. <property name="title">
  432. <string>设置</string>
  433. </property>
  434. <widget class="QMenu" name="menu_4">
  435. <property name="title">
  436. <string>规格设置</string>
  437. </property>
  438. <addaction name="action_2"/>
  439. <addaction name="action_3"/>
  440. <addaction name="action_4"/>
  441. </widget>
  442. <addaction name="menu_4"/>
  443. <addaction name="actionMax"/>
  444. <addaction name="action"/>
  445. </widget>
  446. <widget class="QMenu" name="menu_2">
  447. <property name="title">
  448. <string>入库</string>
  449. </property>
  450. <addaction name="action_5"/>
  451. <addaction name="action_6"/>
  452. </widget>
  453. <widget class="QMenu" name="menu_3">
  454. <property name="title">
  455. <string>统计</string>
  456. </property>
  457. </widget>
  458. <addaction name="menu"/>
  459. <addaction name="menu_2"/>
  460. <addaction name="menu_3"/>
  461. </widget>
  462. <widget class="QStatusBar" name="statusbar"/>
  463. <action name="actionMax">
  464. <property name="text">
  465. <string>连接设置</string>
  466. </property>
  467. </action>
  468. <action name="action">
  469. <property name="text">
  470. <string>退出账号</string>
  471. </property>
  472. </action>
  473. <action name="action_2">
  474. <property name="text">
  475. <string>新建规格</string>
  476. </property>
  477. </action>
  478. <action name="action_3">
  479. <property name="text">
  480. <string>查看规格</string>
  481. </property>
  482. </action>
  483. <action name="action_4">
  484. <property name="text">
  485. <string>修改规格</string>
  486. </property>
  487. </action>
  488. <action name="action_5">
  489. <property name="text">
  490. <string>打包</string>
  491. </property>
  492. </action>
  493. <action name="action_6">
  494. <property name="text">
  495. <string>修改</string>
  496. </property>
  497. </action>
  498. </widget>
  499. <customwidgets>
  500. <customwidget>
  501. <class>LoginForm</class>
  502. <extends>QWidget</extends>
  503. <header>widget/loginform.h</header>
  504. <container>1</container>
  505. </customwidget>
  506. <customwidget>
  507. <class>SelectValueForm</class>
  508. <extends>QWidget</extends>
  509. <header>widget/selectvalueform.h</header>
  510. <container>1</container>
  511. </customwidget>
  512. <customwidget>
  513. <class>PackDetailForm</class>
  514. <extends>QWidget</extends>
  515. <header>widget/packdetailform.h</header>
  516. <container>1</container>
  517. </customwidget>
  518. <customwidget>
  519. <class>SettingsForm</class>
  520. <extends>QWidget</extends>
  521. <header>widget/settingsform.h</header>
  522. <container>1</container>
  523. </customwidget>
  524. <customwidget>
  525. <class>FixedWeightPackForm</class>
  526. <extends>QWidget</extends>
  527. <header>widget/fixedweightpackform.h</header>
  528. <container>1</container>
  529. </customwidget>
  530. <customwidget>
  531. <class>UncertainWeightPackForm</class>
  532. <extends>QWidget</extends>
  533. <header>widget/uncertainweightpackform.h</header>
  534. <container>1</container>
  535. </customwidget>
  536. </customwidgets>
  537. <resources/>
  538. <connections/>
  539. </ui>