page_main.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>page_main</class>
  4. <widget class="QMainWindow" name="page_main">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1066</width>
  10. <height>749</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">font: &quot;宋体&quot;;</string>
  18. </property>
  19. <widget class="QWidget" name="centralwidget">
  20. <layout class="QGridLayout" name="gridLayout">
  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. <property name="spacing">
  34. <number>0</number>
  35. </property>
  36. <item row="0" column="0">
  37. <widget class="QWidget" name="menu_widget" native="true">
  38. <property name="sizePolicy">
  39. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  40. <horstretch>0</horstretch>
  41. <verstretch>0</verstretch>
  42. </sizepolicy>
  43. </property>
  44. <property name="minimumSize">
  45. <size>
  46. <width>400</width>
  47. <height>40</height>
  48. </size>
  49. </property>
  50. <property name="maximumSize">
  51. <size>
  52. <width>16777215</width>
  53. <height>40</height>
  54. </size>
  55. </property>
  56. <property name="styleSheet">
  57. <string notr="true">QWidget#menu_widget {
  58. background-color:rgb(86, 104, 156)
  59. }</string>
  60. </property>
  61. <layout class="QHBoxLayout" name="horizontalLayout_2">
  62. <property name="spacing">
  63. <number>0</number>
  64. </property>
  65. <property name="leftMargin">
  66. <number>0</number>
  67. </property>
  68. <property name="topMargin">
  69. <number>0</number>
  70. </property>
  71. <property name="rightMargin">
  72. <number>0</number>
  73. </property>
  74. <property name="bottomMargin">
  75. <number>0</number>
  76. </property>
  77. <item>
  78. <spacer name="horizontalSpacer_7">
  79. <property name="orientation">
  80. <enum>Qt::Horizontal</enum>
  81. </property>
  82. <property name="sizeType">
  83. <enum>QSizePolicy::Fixed</enum>
  84. </property>
  85. <property name="sizeHint" stdset="0">
  86. <size>
  87. <width>23</width>
  88. <height>20</height>
  89. </size>
  90. </property>
  91. </spacer>
  92. </item>
  93. <item>
  94. <widget class="QLabel" name="label">
  95. <property name="styleSheet">
  96. <string notr="true">QLabel {
  97. font:bold 28px;
  98. color:rgb(225, 215, 183);
  99. }</string>
  100. </property>
  101. <property name="text">
  102. <string>NGS仿真</string>
  103. </property>
  104. </widget>
  105. </item>
  106. <item>
  107. <spacer name="horizontalSpacer">
  108. <property name="orientation">
  109. <enum>Qt::Horizontal</enum>
  110. </property>
  111. <property name="sizeHint" stdset="0">
  112. <size>
  113. <width>40</width>
  114. <height>20</height>
  115. </size>
  116. </property>
  117. </spacer>
  118. </item>
  119. <item>
  120. <widget class="QPushButton" name="logout_button">
  121. <property name="minimumSize">
  122. <size>
  123. <width>58</width>
  124. <height>30</height>
  125. </size>
  126. </property>
  127. <property name="maximumSize">
  128. <size>
  129. <width>58</width>
  130. <height>30</height>
  131. </size>
  132. </property>
  133. <property name="cursor">
  134. <cursorShape>PointingHandCursor</cursorShape>
  135. </property>
  136. <property name="focusPolicy">
  137. <enum>Qt::NoFocus</enum>
  138. </property>
  139. <property name="styleSheet">
  140. <string notr="true">QPushButton {
  141. border:1px solid rgb(170, 0, 0);
  142. background-color:transparent;
  143. font-size:18px;
  144. color:rgb(170, 0, 0);
  145. border-radius:4px;
  146. }
  147. QPushButton:hover {
  148. background-color:rgba(254,134,55,1);
  149. color:rgba(255,255,255,1);
  150. }
  151. </string>
  152. </property>
  153. <property name="text">
  154. <string>退出</string>
  155. </property>
  156. <property name="flat">
  157. <bool>true</bool>
  158. </property>
  159. </widget>
  160. </item>
  161. <item>
  162. <spacer name="horizontalSpacer_6">
  163. <property name="orientation">
  164. <enum>Qt::Horizontal</enum>
  165. </property>
  166. <property name="sizeType">
  167. <enum>QSizePolicy::Fixed</enum>
  168. </property>
  169. <property name="sizeHint" stdset="0">
  170. <size>
  171. <width>11</width>
  172. <height>20</height>
  173. </size>
  174. </property>
  175. </spacer>
  176. </item>
  177. </layout>
  178. </widget>
  179. </item>
  180. <item row="1" column="0">
  181. <layout class="QHBoxLayout" name="horizontalLayout">
  182. <property name="spacing">
  183. <number>0</number>
  184. </property>
  185. <item>
  186. <widget class="QWidget" name="main_fun_widget" native="true">
  187. <property name="sizePolicy">
  188. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  189. <horstretch>0</horstretch>
  190. <verstretch>0</verstretch>
  191. </sizepolicy>
  192. </property>
  193. <property name="minimumSize">
  194. <size>
  195. <width>105</width>
  196. <height>400</height>
  197. </size>
  198. </property>
  199. <property name="font">
  200. <font>
  201. <family>Microsoft Sans Serif</family>
  202. <italic>false</italic>
  203. <bold>false</bold>
  204. </font>
  205. </property>
  206. <property name="styleSheet">
  207. <string notr="true">QWidget#main_fun_widget {
  208. border-right:6px solid qlineargradient(x0: 0, x1: 1, stop: 0 rgba(0, 0, 0, 0), stop: 1 rgba(0, 0, 0, 0.18));
  209. background-color:rgba(246,246,246,1);
  210. }
  211. QPushButton {
  212. font: 12pt &quot;宋体&quot;;
  213. font-size:16px;
  214. color:rgba(51,51,51,1);
  215. background-color:transparent;
  216. text-align:left;
  217. border-top:none;
  218. border-left:none;
  219. border-right:none;
  220. border-bottom:2px solid transparent;
  221. padding:0px 0px 0px 20px;
  222. margin:0px 0px;
  223. }
  224. QPushButton:checked {
  225. background-color:rgb(125, 147, 195);
  226. }
  227. QPushButton:hover {
  228. border-bottom:2px solid rgb(225, 215, 183);
  229. }</string>
  230. </property>
  231. <widget class="QPushButton" name="btn_model_select">
  232. <property name="geometry">
  233. <rect>
  234. <x>0</x>
  235. <y>0</y>
  236. <width>100</width>
  237. <height>44</height>
  238. </rect>
  239. </property>
  240. <property name="cursor">
  241. <cursorShape>PointingHandCursor</cursorShape>
  242. </property>
  243. <property name="focusPolicy">
  244. <enum>Qt::NoFocus</enum>
  245. </property>
  246. <property name="text">
  247. <string>模型设置</string>
  248. </property>
  249. <property name="icon">
  250. <iconset>
  251. <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
  252. </property>
  253. <property name="iconSize">
  254. <size>
  255. <width>20</width>
  256. <height>20</height>
  257. </size>
  258. </property>
  259. <property name="checkable">
  260. <bool>true</bool>
  261. </property>
  262. </widget>
  263. <widget class="QPushButton" name="btn_chart_file">
  264. <property name="geometry">
  265. <rect>
  266. <x>0</x>
  267. <y>40</y>
  268. <width>100</width>
  269. <height>44</height>
  270. </rect>
  271. </property>
  272. <property name="cursor">
  273. <cursorShape>PointingHandCursor</cursorShape>
  274. </property>
  275. <property name="focusPolicy">
  276. <enum>Qt::NoFocus</enum>
  277. </property>
  278. <property name="text">
  279. <string>曲线显示</string>
  280. </property>
  281. <property name="icon">
  282. <iconset>
  283. <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
  284. </property>
  285. <property name="iconSize">
  286. <size>
  287. <width>20</width>
  288. <height>20</height>
  289. </size>
  290. </property>
  291. <property name="checkable">
  292. <bool>true</bool>
  293. </property>
  294. </widget>
  295. <widget class="QPushButton" name="btn_database">
  296. <property name="geometry">
  297. <rect>
  298. <x>0</x>
  299. <y>80</y>
  300. <width>100</width>
  301. <height>44</height>
  302. </rect>
  303. </property>
  304. <property name="cursor">
  305. <cursorShape>PointingHandCursor</cursorShape>
  306. </property>
  307. <property name="focusPolicy">
  308. <enum>Qt::NoFocus</enum>
  309. </property>
  310. <property name="text">
  311. <string>历史数据</string>
  312. </property>
  313. <property name="icon">
  314. <iconset>
  315. <normaloff>:/mainwindow/images/mainwindow/home.png</normaloff>:/mainwindow/images/mainwindow/home.png</iconset>
  316. </property>
  317. <property name="iconSize">
  318. <size>
  319. <width>20</width>
  320. <height>20</height>
  321. </size>
  322. </property>
  323. <property name="checkable">
  324. <bool>true</bool>
  325. </property>
  326. </widget>
  327. </widget>
  328. </item>
  329. <item>
  330. <widget class="QStackedWidget" name="fun_stacked_widget">
  331. <property name="sizePolicy">
  332. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  333. <horstretch>0</horstretch>
  334. <verstretch>0</verstretch>
  335. </sizepolicy>
  336. </property>
  337. <property name="minimumSize">
  338. <size>
  339. <width>848</width>
  340. <height>424</height>
  341. </size>
  342. </property>
  343. <property name="styleSheet">
  344. <string notr="true">QStackedWidget#fun_stacked_widget {
  345. background-color:rgba(242,242,242,1);
  346. }</string>
  347. </property>
  348. <property name="lineWidth">
  349. <number>1</number>
  350. </property>
  351. <property name="currentIndex">
  352. <number>-1</number>
  353. </property>
  354. </widget>
  355. </item>
  356. </layout>
  357. </item>
  358. </layout>
  359. </widget>
  360. <widget class="QMenuBar" name="menubar">
  361. <property name="geometry">
  362. <rect>
  363. <x>0</x>
  364. <y>0</y>
  365. <width>1066</width>
  366. <height>25</height>
  367. </rect>
  368. </property>
  369. </widget>
  370. <widget class="QStatusBar" name="statusbar"/>
  371. </widget>
  372. <resources/>
  373. <connections/>
  374. </ui>