mainwindow.ui 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <widget class="QWidget" name="centralwidget">
  20. <layout class="QGridLayout" name="gridLayout_2">
  21. <item row="0" column="0">
  22. <widget class="QStackedWidget" name="stackedWidget">
  23. <property name="currentIndex">
  24. <number>5</number>
  25. </property>
  26. <widget class="QWidget" name="pageMain">
  27. <layout class="QGridLayout" name="gridLayout_4">
  28. <item row="0" column="1">
  29. <widget class="QPushButton" name="pushList">
  30. <property name="minimumSize">
  31. <size>
  32. <width>80</width>
  33. <height>115</height>
  34. </size>
  35. </property>
  36. <property name="maximumSize">
  37. <size>
  38. <width>300</width>
  39. <height>16777215</height>
  40. </size>
  41. </property>
  42. <property name="font">
  43. <font>
  44. <pointsize>18</pointsize>
  45. </font>
  46. </property>
  47. <property name="styleSheet">
  48. <string notr="true">background-color: rgb(0, 170, 255);</string>
  49. </property>
  50. <property name="text">
  51. <string>明细</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="0" column="0">
  56. <widget class="QPushButton" name="pushAuto">
  57. <property name="minimumSize">
  58. <size>
  59. <width>80</width>
  60. <height>115</height>
  61. </size>
  62. </property>
  63. <property name="maximumSize">
  64. <size>
  65. <width>300</width>
  66. <height>16777215</height>
  67. </size>
  68. </property>
  69. <property name="font">
  70. <font>
  71. <pointsize>18</pointsize>
  72. </font>
  73. </property>
  74. <property name="styleSheet">
  75. <string notr="true">background-color: rgb(255, 170, 0);</string>
  76. </property>
  77. <property name="text">
  78. <string>打包</string>
  79. </property>
  80. </widget>
  81. </item>
  82. </layout>
  83. </widget>
  84. <widget class="AddNewSpecsForm" name="pageAddNew"/>
  85. <widget class="QWidget" name="pageTest">
  86. <layout class="QGridLayout" name="gridLayout">
  87. <item row="0" column="0">
  88. <widget class="QLabel" name="djmb">
  89. <property name="text">
  90. <string/>
  91. </property>
  92. </widget>
  93. </item>
  94. </layout>
  95. </widget>
  96. <widget class="SettingsForm" name="pageSettings"/>
  97. <widget class="QWidget" name="pageLogin">
  98. <property name="styleSheet">
  99. <string notr="true">background-color: rgb(119, 185, 255);</string>
  100. </property>
  101. <layout class="QVBoxLayout" name="verticalLayout_2">
  102. <item>
  103. <spacer name="verticalSpacer">
  104. <property name="orientation">
  105. <enum>Qt::Vertical</enum>
  106. </property>
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>20</width>
  110. <height>150</height>
  111. </size>
  112. </property>
  113. </spacer>
  114. </item>
  115. <item>
  116. <layout class="QHBoxLayout" name="horizontalLayout_3">
  117. <item>
  118. <spacer name="horizontalSpacer">
  119. <property name="orientation">
  120. <enum>Qt::Horizontal</enum>
  121. </property>
  122. <property name="sizeHint" stdset="0">
  123. <size>
  124. <width>40</width>
  125. <height>20</height>
  126. </size>
  127. </property>
  128. </spacer>
  129. </item>
  130. <item>
  131. <widget class="LoginForm" name="widgetLogin" native="true">
  132. <property name="minimumSize">
  133. <size>
  134. <width>400</width>
  135. <height>270</height>
  136. </size>
  137. </property>
  138. <property name="maximumSize">
  139. <size>
  140. <width>400</width>
  141. <height>270</height>
  142. </size>
  143. </property>
  144. <property name="styleSheet">
  145. <string notr="true">background-color: rgb(185, 229, 255);</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <spacer name="horizontalSpacer_2">
  151. <property name="orientation">
  152. <enum>Qt::Horizontal</enum>
  153. </property>
  154. <property name="sizeHint" stdset="0">
  155. <size>
  156. <width>40</width>
  157. <height>20</height>
  158. </size>
  159. </property>
  160. </spacer>
  161. </item>
  162. </layout>
  163. </item>
  164. <item>
  165. <spacer name="verticalSpacer_2">
  166. <property name="orientation">
  167. <enum>Qt::Vertical</enum>
  168. </property>
  169. <property name="sizeHint" stdset="0">
  170. <size>
  171. <width>20</width>
  172. <height>150</height>
  173. </size>
  174. </property>
  175. </spacer>
  176. </item>
  177. </layout>
  178. </widget>
  179. <widget class="QWidget" name="pageAutoPack">
  180. <layout class="QGridLayout" name="gridLayout_3">
  181. <property name="leftMargin">
  182. <number>0</number>
  183. </property>
  184. <property name="topMargin">
  185. <number>0</number>
  186. </property>
  187. <property name="rightMargin">
  188. <number>0</number>
  189. </property>
  190. <property name="bottomMargin">
  191. <number>0</number>
  192. </property>
  193. <property name="spacing">
  194. <number>0</number>
  195. </property>
  196. <item row="0" column="0">
  197. <widget class="QStackedWidget" name="stackedWidget_2">
  198. <widget class="FixedWeightPackForm" name="dingzhong"/>
  199. <widget class="UncertainWeightPackForm" name="buding"/>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. <widget class="SelectValueForm" name="pageSelectValue"/>
  205. <widget class="PackDetailForm" name="pagePackDetail"/>
  206. <widget class="UncertainWeightPackForm" name="pageBuDing"/>
  207. </widget>
  208. </item>
  209. </layout>
  210. </widget>
  211. <widget class="QMenuBar" name="menubar">
  212. <property name="geometry">
  213. <rect>
  214. <x>0</x>
  215. <y>0</y>
  216. <width>1033</width>
  217. <height>23</height>
  218. </rect>
  219. </property>
  220. <widget class="QMenu" name="menu">
  221. <property name="title">
  222. <string>设置</string>
  223. </property>
  224. <widget class="QMenu" name="menu_4">
  225. <property name="title">
  226. <string>规格设置</string>
  227. </property>
  228. <addaction name="actionAddNew"/>
  229. <addaction name="actionSelectvalue"/>
  230. <addaction name="action_4"/>
  231. </widget>
  232. <addaction name="menu_4"/>
  233. <addaction name="actionSetting"/>
  234. <addaction name="actionMax"/>
  235. <addaction name="actionLogout"/>
  236. </widget>
  237. <widget class="QMenu" name="menu_2">
  238. <property name="title">
  239. <string>入库</string>
  240. </property>
  241. <addaction name="actionPack"/>
  242. </widget>
  243. <widget class="QMenu" name="menu_3">
  244. <property name="title">
  245. <string>统计</string>
  246. </property>
  247. </widget>
  248. <addaction name="menu"/>
  249. <addaction name="menu_2"/>
  250. <addaction name="menu_3"/>
  251. </widget>
  252. <action name="actionSetting">
  253. <property name="text">
  254. <string>连接设置</string>
  255. </property>
  256. </action>
  257. <action name="action">
  258. <property name="text">
  259. <string>退出账号</string>
  260. </property>
  261. </action>
  262. <action name="actionAddNew">
  263. <property name="text">
  264. <string>新建规格</string>
  265. </property>
  266. </action>
  267. <action name="actionSelectvalue">
  268. <property name="text">
  269. <string>查看规格</string>
  270. </property>
  271. </action>
  272. <action name="action_4">
  273. <property name="text">
  274. <string>修改规格</string>
  275. </property>
  276. </action>
  277. <action name="actionPack">
  278. <property name="text">
  279. <string>打包</string>
  280. </property>
  281. </action>
  282. <action name="actionModify">
  283. <property name="text">
  284. <string>修改</string>
  285. </property>
  286. </action>
  287. <action name="actionMax">
  288. <property name="text">
  289. <string>最大化</string>
  290. </property>
  291. </action>
  292. <action name="actionLogout">
  293. <property name="text">
  294. <string>退出账号</string>
  295. </property>
  296. </action>
  297. </widget>
  298. <customwidgets>
  299. <customwidget>
  300. <class>LoginForm</class>
  301. <extends>QWidget</extends>
  302. <header>widget/loginform.h</header>
  303. <container>1</container>
  304. </customwidget>
  305. <customwidget>
  306. <class>SelectValueForm</class>
  307. <extends>QWidget</extends>
  308. <header>widget/selectvalueform.h</header>
  309. <container>1</container>
  310. </customwidget>
  311. <customwidget>
  312. <class>PackDetailForm</class>
  313. <extends>QWidget</extends>
  314. <header>widget/packdetailform.h</header>
  315. <container>1</container>
  316. </customwidget>
  317. <customwidget>
  318. <class>SettingsForm</class>
  319. <extends>QWidget</extends>
  320. <header>widget/settingsform.h</header>
  321. <container>1</container>
  322. </customwidget>
  323. <customwidget>
  324. <class>FixedWeightPackForm</class>
  325. <extends>QWidget</extends>
  326. <header>widget/fixedweightpackform.h</header>
  327. <container>1</container>
  328. </customwidget>
  329. <customwidget>
  330. <class>UncertainWeightPackForm</class>
  331. <extends>QWidget</extends>
  332. <header>widget/uncertainweightpackform.h</header>
  333. <container>1</container>
  334. </customwidget>
  335. <customwidget>
  336. <class>AddNewSpecsForm</class>
  337. <extends>QWidget</extends>
  338. <header>widget/addnewspecsform.h</header>
  339. <container>1</container>
  340. </customwidget>
  341. </customwidgets>
  342. <resources/>
  343. <connections/>
  344. </ui>