mainwindow.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  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>1</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="AddNewSpecsForm" name="pageAddNew"/>
  236. <widget class="QWidget" name="pageTest">
  237. <layout class="QGridLayout" name="gridLayout">
  238. <item row="0" column="0">
  239. <widget class="QLabel" name="djmb">
  240. <property name="text">
  241. <string/>
  242. </property>
  243. </widget>
  244. </item>
  245. </layout>
  246. </widget>
  247. <widget class="SettingsForm" name="pageSettings"/>
  248. <widget class="QWidget" name="pageLogin">
  249. <property name="styleSheet">
  250. <string notr="true">background-color: rgb(119, 185, 255);</string>
  251. </property>
  252. <layout class="QVBoxLayout" name="verticalLayout_2">
  253. <item>
  254. <spacer name="verticalSpacer">
  255. <property name="orientation">
  256. <enum>Qt::Vertical</enum>
  257. </property>
  258. <property name="sizeHint" stdset="0">
  259. <size>
  260. <width>20</width>
  261. <height>150</height>
  262. </size>
  263. </property>
  264. </spacer>
  265. </item>
  266. <item>
  267. <layout class="QHBoxLayout" name="horizontalLayout_3">
  268. <item>
  269. <spacer name="horizontalSpacer">
  270. <property name="orientation">
  271. <enum>Qt::Horizontal</enum>
  272. </property>
  273. <property name="sizeHint" stdset="0">
  274. <size>
  275. <width>40</width>
  276. <height>20</height>
  277. </size>
  278. </property>
  279. </spacer>
  280. </item>
  281. <item>
  282. <widget class="LoginForm" name="widgetLogin" native="true">
  283. <property name="minimumSize">
  284. <size>
  285. <width>400</width>
  286. <height>270</height>
  287. </size>
  288. </property>
  289. <property name="maximumSize">
  290. <size>
  291. <width>400</width>
  292. <height>270</height>
  293. </size>
  294. </property>
  295. <property name="styleSheet">
  296. <string notr="true">background-color: rgb(185, 229, 255);</string>
  297. </property>
  298. </widget>
  299. </item>
  300. <item>
  301. <spacer name="horizontalSpacer_2">
  302. <property name="orientation">
  303. <enum>Qt::Horizontal</enum>
  304. </property>
  305. <property name="sizeHint" stdset="0">
  306. <size>
  307. <width>40</width>
  308. <height>20</height>
  309. </size>
  310. </property>
  311. </spacer>
  312. </item>
  313. </layout>
  314. </item>
  315. <item>
  316. <spacer name="verticalSpacer_2">
  317. <property name="orientation">
  318. <enum>Qt::Vertical</enum>
  319. </property>
  320. <property name="sizeHint" stdset="0">
  321. <size>
  322. <width>20</width>
  323. <height>150</height>
  324. </size>
  325. </property>
  326. </spacer>
  327. </item>
  328. </layout>
  329. </widget>
  330. <widget class="QWidget" name="pageAutoPack">
  331. <layout class="QGridLayout" name="gridLayout_3">
  332. <property name="leftMargin">
  333. <number>0</number>
  334. </property>
  335. <property name="topMargin">
  336. <number>0</number>
  337. </property>
  338. <property name="rightMargin">
  339. <number>0</number>
  340. </property>
  341. <property name="bottomMargin">
  342. <number>0</number>
  343. </property>
  344. <property name="spacing">
  345. <number>0</number>
  346. </property>
  347. <item row="0" column="0">
  348. <widget class="QWidget" name="widget_2" native="true">
  349. <property name="minimumSize">
  350. <size>
  351. <width>0</width>
  352. <height>40</height>
  353. </size>
  354. </property>
  355. <layout class="QGridLayout" name="gridLayout_6">
  356. <item row="0" column="3">
  357. <widget class="QCheckBox" name="checkBox">
  358. <property name="text">
  359. <string>打包是否入库</string>
  360. </property>
  361. </widget>
  362. </item>
  363. <item row="0" column="1">
  364. <widget class="QRadioButton" name="dingzhongButton">
  365. <property name="text">
  366. <string>定重打包</string>
  367. </property>
  368. </widget>
  369. </item>
  370. <item row="0" column="4">
  371. <spacer name="horizontalSpacer_5">
  372. <property name="orientation">
  373. <enum>Qt::Horizontal</enum>
  374. </property>
  375. <property name="sizeHint" stdset="0">
  376. <size>
  377. <width>311</width>
  378. <height>20</height>
  379. </size>
  380. </property>
  381. </spacer>
  382. </item>
  383. <item row="0" column="2">
  384. <widget class="QRadioButton" name="budingButton">
  385. <property name="text">
  386. <string>不定重打包</string>
  387. </property>
  388. </widget>
  389. </item>
  390. <item row="0" column="0">
  391. <spacer name="horizontalSpacer_4">
  392. <property name="orientation">
  393. <enum>Qt::Horizontal</enum>
  394. </property>
  395. <property name="sizeHint" stdset="0">
  396. <size>
  397. <width>338</width>
  398. <height>20</height>
  399. </size>
  400. </property>
  401. </spacer>
  402. </item>
  403. </layout>
  404. </widget>
  405. </item>
  406. <item row="1" column="0">
  407. <widget class="QStackedWidget" name="stackedWidget_2">
  408. <widget class="FixedWeightPackForm" name="dingzhong"/>
  409. <widget class="UncertainWeightPackForm" name="buding"/>
  410. </widget>
  411. </item>
  412. </layout>
  413. </widget>
  414. <widget class="SelectValueForm" name="pageSelectValue"/>
  415. <widget class="PackDetailForm" name="pagePackDetail"/>
  416. <widget class="FixedWeightPackForm" name="pageDingZhong"/>
  417. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  418. </widget>
  419. </item>
  420. </layout>
  421. </widget>
  422. <widget class="QMenuBar" name="menubar">
  423. <property name="geometry">
  424. <rect>
  425. <x>0</x>
  426. <y>0</y>
  427. <width>1033</width>
  428. <height>26</height>
  429. </rect>
  430. </property>
  431. <widget class="QMenu" name="menu">
  432. <property name="title">
  433. <string>设置</string>
  434. </property>
  435. <widget class="QMenu" name="menu_4">
  436. <property name="title">
  437. <string>规格设置</string>
  438. </property>
  439. <addaction name="actionAddNew"/>
  440. <addaction name="action_3"/>
  441. <addaction name="action_4"/>
  442. </widget>
  443. <addaction name="menu_4"/>
  444. <addaction name="actionSetting"/>
  445. <addaction name="actionMax"/>
  446. <addaction name="actionLogout"/>
  447. </widget>
  448. <widget class="QMenu" name="menu_2">
  449. <property name="title">
  450. <string>入库</string>
  451. </property>
  452. <addaction name="actionPack"/>
  453. <addaction name="actionModify"/>
  454. </widget>
  455. <widget class="QMenu" name="menu_3">
  456. <property name="title">
  457. <string>统计</string>
  458. </property>
  459. </widget>
  460. <addaction name="menu"/>
  461. <addaction name="menu_2"/>
  462. <addaction name="menu_3"/>
  463. </widget>
  464. <widget class="QStatusBar" name="statusbar"/>
  465. <action name="actionSetting">
  466. <property name="text">
  467. <string>连接设置</string>
  468. </property>
  469. </action>
  470. <action name="action">
  471. <property name="text">
  472. <string>退出账号</string>
  473. </property>
  474. </action>
  475. <action name="actionAddNew">
  476. <property name="text">
  477. <string>新建规格</string>
  478. </property>
  479. </action>
  480. <action name="action_3">
  481. <property name="text">
  482. <string>查看规格</string>
  483. </property>
  484. </action>
  485. <action name="action_4">
  486. <property name="text">
  487. <string>修改规格</string>
  488. </property>
  489. </action>
  490. <action name="actionPack">
  491. <property name="text">
  492. <string>打包</string>
  493. </property>
  494. </action>
  495. <action name="actionModify">
  496. <property name="text">
  497. <string>修改</string>
  498. </property>
  499. </action>
  500. <action name="actionMax">
  501. <property name="text">
  502. <string>最大化</string>
  503. </property>
  504. </action>
  505. <action name="actionLogout">
  506. <property name="text">
  507. <string>退出账号</string>
  508. </property>
  509. </action>
  510. </widget>
  511. <customwidgets>
  512. <customwidget>
  513. <class>LoginForm</class>
  514. <extends>QWidget</extends>
  515. <header>widget/loginform.h</header>
  516. <container>1</container>
  517. </customwidget>
  518. <customwidget>
  519. <class>SelectValueForm</class>
  520. <extends>QWidget</extends>
  521. <header>widget/selectvalueform.h</header>
  522. <container>1</container>
  523. </customwidget>
  524. <customwidget>
  525. <class>PackDetailForm</class>
  526. <extends>QWidget</extends>
  527. <header>widget/packdetailform.h</header>
  528. <container>1</container>
  529. </customwidget>
  530. <customwidget>
  531. <class>SettingsForm</class>
  532. <extends>QWidget</extends>
  533. <header>widget/settingsform.h</header>
  534. <container>1</container>
  535. </customwidget>
  536. <customwidget>
  537. <class>FixedWeightPackForm</class>
  538. <extends>QWidget</extends>
  539. <header>widget/fixedweightpackform.h</header>
  540. <container>1</container>
  541. </customwidget>
  542. <customwidget>
  543. <class>UncertainWeightPackForm</class>
  544. <extends>QWidget</extends>
  545. <header>widget/uncertainweightpackform.h</header>
  546. <container>1</container>
  547. </customwidget>
  548. <customwidget>
  549. <class>AddNewSpecsForm</class>
  550. <extends>QWidget</extends>
  551. <header>widget/addnewspecsform.h</header>
  552. <container>1</container>
  553. </customwidget>
  554. </customwidgets>
  555. <resources/>
  556. <connections/>
  557. </ui>