set.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>set</class>
  4. <widget class="QMainWindow" name="set">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>810</width>
  10. <height>648</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QVBoxLayout" name="verticalLayout_4">
  18. <item>
  19. <layout class="QVBoxLayout" name="verticalLayout_2" stretch="3,10">
  20. <item>
  21. <widget class="QGroupBox" name="groupBox">
  22. <property name="title">
  23. <string/>
  24. </property>
  25. <layout class="QHBoxLayout" name="horizontalLayout_4">
  26. <item>
  27. <widget class="QLabel" name="page_label">
  28. <property name="font">
  29. <font>
  30. <pointsize>26</pointsize>
  31. </font>
  32. </property>
  33. <property name="layoutDirection">
  34. <enum>Qt::LeftToRight</enum>
  35. </property>
  36. <property name="text">
  37. <string>仿真设置</string>
  38. </property>
  39. <property name="alignment">
  40. <set>Qt::AlignCenter</set>
  41. </property>
  42. </widget>
  43. </item>
  44. </layout>
  45. </widget>
  46. </item>
  47. <item>
  48. <layout class="QHBoxLayout" name="horizontalLayout_2">
  49. <item>
  50. <widget class="QTreeView" name="tree_set">
  51. <property name="maximumSize">
  52. <size>
  53. <width>150</width>
  54. <height>16777215</height>
  55. </size>
  56. </property>
  57. </widget>
  58. </item>
  59. <item>
  60. <layout class="QVBoxLayout" name="verticalLayout" stretch="3,10">
  61. <item>
  62. <widget class="QGroupBox" name="groupBox_2">
  63. <property name="title">
  64. <string>GroupBox</string>
  65. </property>
  66. <layout class="QHBoxLayout" name="horizontalLayout">
  67. <item>
  68. <spacer name="horizontalSpacer">
  69. <property name="orientation">
  70. <enum>Qt::Horizontal</enum>
  71. </property>
  72. <property name="sizeType">
  73. <enum>QSizePolicy::Minimum</enum>
  74. </property>
  75. <property name="sizeHint" stdset="0">
  76. <size>
  77. <width>20</width>
  78. <height>20</height>
  79. </size>
  80. </property>
  81. </spacer>
  82. </item>
  83. <item>
  84. <widget class="QLabel" name="label">
  85. <property name="text">
  86. <string>工况选择</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <spacer name="horizontalSpacer_2">
  92. <property name="orientation">
  93. <enum>Qt::Horizontal</enum>
  94. </property>
  95. <property name="sizeType">
  96. <enum>QSizePolicy::Minimum</enum>
  97. </property>
  98. <property name="sizeHint" stdset="0">
  99. <size>
  100. <width>20</width>
  101. <height>20</height>
  102. </size>
  103. </property>
  104. </spacer>
  105. </item>
  106. <item>
  107. <widget class="QComboBox" name="situation_switch">
  108. <property name="minimumSize">
  109. <size>
  110. <width>150</width>
  111. <height>0</height>
  112. </size>
  113. </property>
  114. <item>
  115. <property name="text">
  116. <string>稳态工况</string>
  117. </property>
  118. </item>
  119. <item>
  120. <property name="text">
  121. <string>切换工况</string>
  122. </property>
  123. </item>
  124. </widget>
  125. </item>
  126. <item>
  127. <spacer name="horizontalSpacer_3">
  128. <property name="orientation">
  129. <enum>Qt::Horizontal</enum>
  130. </property>
  131. <property name="sizeHint" stdset="0">
  132. <size>
  133. <width>310</width>
  134. <height>20</height>
  135. </size>
  136. </property>
  137. </spacer>
  138. </item>
  139. </layout>
  140. </widget>
  141. </item>
  142. <item>
  143. <widget class="QStackedWidget" name="stackedWidget">
  144. <property name="currentIndex">
  145. <number>0</number>
  146. </property>
  147. <widget class="QWidget" name="page">
  148. <layout class="QVBoxLayout" name="verticalLayout_5">
  149. <item>
  150. <widget class="QGroupBox" name="groupBox_3">
  151. <property name="title">
  152. <string>工况设置</string>
  153. </property>
  154. <layout class="QHBoxLayout" name="horizontalLayout_7" stretch="1,1">
  155. <item>
  156. <widget class="QGroupBox" name="groupBox_7">
  157. <property name="title">
  158. <string/>
  159. </property>
  160. <layout class="QHBoxLayout" name="horizontalLayout_5">
  161. <item>
  162. <widget class="QLabel" name="label_2">
  163. <property name="text">
  164. <string>稳态工况</string>
  165. </property>
  166. </widget>
  167. </item>
  168. <item>
  169. <widget class="QComboBox" name="situation_wt"/>
  170. </item>
  171. </layout>
  172. </widget>
  173. </item>
  174. <item>
  175. <widget class="QGroupBox" name="groupBox_8">
  176. <property name="title">
  177. <string/>
  178. </property>
  179. <layout class="QHBoxLayout" name="horizontalLayout_8">
  180. <item>
  181. <widget class="QLabel" name="label_6">
  182. <property name="text">
  183. <string>仿真时间</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QTextEdit" name="textEdit">
  189. <property name="maximumSize">
  190. <size>
  191. <width>100</width>
  192. <height>30</height>
  193. </size>
  194. </property>
  195. </widget>
  196. </item>
  197. </layout>
  198. </widget>
  199. </item>
  200. </layout>
  201. </widget>
  202. </item>
  203. <item>
  204. <widget class="QGroupBox" name="groupBox_4">
  205. <property name="title">
  206. <string>干扰设置</string>
  207. </property>
  208. <layout class="QVBoxLayout" name="verticalLayout_3">
  209. <item>
  210. <widget class="QCheckBox" name="checkBox">
  211. <property name="text">
  212. <string>干扰开启</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item>
  217. <widget class="QGroupBox" name="groupBox_5">
  218. <property name="title">
  219. <string/>
  220. </property>
  221. <layout class="QHBoxLayout" name="horizontalLayout_3">
  222. <item>
  223. <widget class="QLabel" name="label_4">
  224. <property name="text">
  225. <string>开始时间</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item>
  230. <widget class="QPlainTextEdit" name="plainTextEdit">
  231. <property name="maximumSize">
  232. <size>
  233. <width>100</width>
  234. <height>30</height>
  235. </size>
  236. </property>
  237. </widget>
  238. </item>
  239. <item>
  240. <spacer name="horizontalSpacer_4">
  241. <property name="orientation">
  242. <enum>Qt::Horizontal</enum>
  243. </property>
  244. <property name="sizeHint" stdset="0">
  245. <size>
  246. <width>370</width>
  247. <height>20</height>
  248. </size>
  249. </property>
  250. </spacer>
  251. </item>
  252. </layout>
  253. </widget>
  254. </item>
  255. <item>
  256. <widget class="QGroupBox" name="groupBox_6">
  257. <property name="title">
  258. <string/>
  259. </property>
  260. <layout class="QHBoxLayout" name="horizontalLayout_6">
  261. <item>
  262. <widget class="QLabel" name="label_5">
  263. <property name="text">
  264. <string>结束时间</string>
  265. </property>
  266. </widget>
  267. </item>
  268. <item>
  269. <widget class="QPlainTextEdit" name="plainTextEdit_2">
  270. <property name="maximumSize">
  271. <size>
  272. <width>100</width>
  273. <height>30</height>
  274. </size>
  275. </property>
  276. </widget>
  277. </item>
  278. <item>
  279. <spacer name="horizontalSpacer_5">
  280. <property name="orientation">
  281. <enum>Qt::Horizontal</enum>
  282. </property>
  283. <property name="sizeHint" stdset="0">
  284. <size>
  285. <width>370</width>
  286. <height>20</height>
  287. </size>
  288. </property>
  289. </spacer>
  290. </item>
  291. </layout>
  292. </widget>
  293. </item>
  294. </layout>
  295. </widget>
  296. </item>
  297. <item>
  298. <widget class="QPushButton" name="pushButton">
  299. <property name="text">
  300. <string>确认设置</string>
  301. </property>
  302. </widget>
  303. </item>
  304. </layout>
  305. </widget>
  306. <widget class="QWidget" name="page_2">
  307. <widget class="QLabel" name="label_3">
  308. <property name="geometry">
  309. <rect>
  310. <x>40</x>
  311. <y>30</y>
  312. <width>67</width>
  313. <height>20</height>
  314. </rect>
  315. </property>
  316. <property name="text">
  317. <string>TextLabel</string>
  318. </property>
  319. </widget>
  320. <widget class="QComboBox" name="comboBox_3">
  321. <property name="geometry">
  322. <rect>
  323. <x>180</x>
  324. <y>20</y>
  325. <width>89</width>
  326. <height>28</height>
  327. </rect>
  328. </property>
  329. </widget>
  330. </widget>
  331. </widget>
  332. </item>
  333. </layout>
  334. </item>
  335. </layout>
  336. </item>
  337. </layout>
  338. </item>
  339. </layout>
  340. </widget>
  341. <widget class="QMenuBar" name="menubar">
  342. <property name="geometry">
  343. <rect>
  344. <x>0</x>
  345. <y>0</y>
  346. <width>810</width>
  347. <height>25</height>
  348. </rect>
  349. </property>
  350. </widget>
  351. <widget class="QStatusBar" name="statusbar"/>
  352. </widget>
  353. <resources/>
  354. <connections/>
  355. </ui>