wether station gui client
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

gui.wxg 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <?xml version="1.0"?>
  2. <!-- generated by wxGlade 0.9.3 on Wed Sep 9 07:31:12 2020 -->
  3. <application class="MyApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" mark_blocks="1" name="app" option="0" overwrite="1" path="./gui.py" source_extension=".cpp" top_window="wetation" use_gettext="0" use_new_namespace="1">
  4. <object class="Wetation" name="wetation" base="EditFrame">
  5. <size>800, 655</size>
  6. <background>#faf9ff</background>
  7. <foreground>#23238e</foreground>
  8. <title>frame</title>
  9. <style>wxDEFAULT_FRAME_STYLE</style>
  10. <object class="wxBoxSizer" name="sizer_main" base="EditBoxSizer">
  11. <orient>wxVERTICAL</orient>
  12. <object class="sizeritem">
  13. <option>0</option>
  14. <border>0</border>
  15. <flag>wxEXPAND</flag>
  16. <object class="wxStaticText" name="spacer_1" base="EditStaticText">
  17. <background>#23238e</background>
  18. <font>
  19. <size>5</size>
  20. <family>default</family>
  21. <style>normal</style>
  22. <weight>normal</weight>
  23. <underlined>0</underlined>
  24. <face />
  25. </font>
  26. </object>
  27. </object>
  28. <object class="sizeritem">
  29. <option>0</option>
  30. <border>0</border>
  31. <flag>wxEXPAND</flag>
  32. <object class="wxBoxSizer" name="sizer_date_time" base="EditBoxSizer">
  33. <orient>wxHORIZONTAL</orient>
  34. <object class="sizeritem">
  35. <option>1</option>
  36. <border>0</border>
  37. <flag>wxLEFT|wxEXPAND</flag>
  38. <object class="wxStaticText" name="date" base="EditStaticText">
  39. <background>#23238e</background>
  40. <foreground>#ffffff</foreground>
  41. <font>
  42. <size>24</size>
  43. <family>default</family>
  44. <style>normal</style>
  45. <weight>normal</weight>
  46. <underlined>0</underlined>
  47. <face />
  48. </font>
  49. <style>wxALIGN_LEFT</style>
  50. <label>xx.xx.xxxx</label>
  51. <attribute>1</attribute>
  52. </object>
  53. </object>
  54. <object class="sizeritem">
  55. <option>1</option>
  56. <border>0</border>
  57. <flag>wxRIGHT|wxEXPAND</flag>
  58. <object class="wxStaticText" name="time" base="EditStaticText">
  59. <background>#23238e</background>
  60. <foreground>#ffffff</foreground>
  61. <font>
  62. <size>24</size>
  63. <family>default</family>
  64. <style>normal</style>
  65. <weight>normal</weight>
  66. <underlined>0</underlined>
  67. <face />
  68. </font>
  69. <style>wxALIGN_RIGHT</style>
  70. <label>xx:xx</label>
  71. <attribute>1</attribute>
  72. </object>
  73. </object>
  74. </object>
  75. </object>
  76. <object class="sizeritem">
  77. <option>0</option>
  78. <border>0</border>
  79. <flag>wxEXPAND</flag>
  80. <object class="wxStaticText" name="spacer_2" base="EditStaticText">
  81. <background>#23238e</background>
  82. <font>
  83. <size>5</size>
  84. <family>default</family>
  85. <style>normal</style>
  86. <weight>normal</weight>
  87. <underlined>0</underlined>
  88. <face />
  89. </font>
  90. </object>
  91. </object>
  92. <object class="sizeritem">
  93. <option>0</option>
  94. <border>0</border>
  95. <object class="spacer" name="spacer" base="EditSpacer">
  96. <width>20</width>
  97. <height>20</height>
  98. </object>
  99. </object>
  100. <object class="sizeritem">
  101. <option>0</option>
  102. <border>0</border>
  103. <flag>wxEXPAND</flag>
  104. <object class="wxStaticText" name="heading_out_envdata" base="EditStaticText">
  105. <background>#23238e</background>
  106. <foreground>#faf9ff</foreground>
  107. <font>
  108. <size>16</size>
  109. <family>default</family>
  110. <style>normal</style>
  111. <weight>normal</weight>
  112. <underlined>0</underlined>
  113. <face />
  114. </font>
  115. <label>Außen</label>
  116. <attribute>1</attribute>
  117. </object>
  118. </object>
  119. <object class="sizeritem">
  120. <option>0</option>
  121. <border>0</border>
  122. <flag>wxEXPAND</flag>
  123. <object class="wxBoxSizer" name="sizer_env_data_out" base="EditBoxSizer">
  124. <orient>wxHORIZONTAL</orient>
  125. <object class="sizeritem">
  126. <option>1</option>
  127. <border>0</border>
  128. <flag>wxEXPAND</flag>
  129. <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
  130. <orient>wxVERTICAL</orient>
  131. <object class="sizeritem">
  132. <option>1</option>
  133. <border>0</border>
  134. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  135. <object class="wxStaticText" name="out_humidity" base="EditStaticText">
  136. <font>
  137. <size>24</size>
  138. <family>default</family>
  139. <style>normal</style>
  140. <weight>normal</weight>
  141. <underlined>0</underlined>
  142. <face />
  143. </font>
  144. <style>wxALIGN_RIGHT</style>
  145. <label>- %</label>
  146. <attribute>1</attribute>
  147. </object>
  148. </object>
  149. <object class="sizeritem">
  150. <option>1</option>
  151. <border>0</border>
  152. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  153. <object class="wxStaticText" name="out_pressure" base="EditStaticText">
  154. <font>
  155. <size>24</size>
  156. <family>default</family>
  157. <style>normal</style>
  158. <weight>normal</weight>
  159. <underlined>0</underlined>
  160. <face />
  161. </font>
  162. <style>wxALIGN_RIGHT</style>
  163. <label>- hPa</label>
  164. <attribute>1</attribute>
  165. </object>
  166. </object>
  167. </object>
  168. </object>
  169. <object class="sizeritem">
  170. <option>1</option>
  171. <border>0</border>
  172. <flag>wxEXPAND</flag>
  173. <object class="wxBoxSizer" name="sizer_7" base="EditBoxSizer">
  174. <orient>wxVERTICAL</orient>
  175. <object class="sizeritem">
  176. <option>1</option>
  177. <border>0</border>
  178. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  179. <object class="wxStaticText" name="out_temperature_min" base="EditStaticText">
  180. <font>
  181. <size>24</size>
  182. <family>default</family>
  183. <style>normal</style>
  184. <weight>normal</weight>
  185. <underlined>0</underlined>
  186. <face />
  187. </font>
  188. <style>wxALIGN_RIGHT</style>
  189. <label>-.- °C</label>
  190. <attribute>1</attribute>
  191. </object>
  192. </object>
  193. <object class="sizeritem">
  194. <option>1</option>
  195. <border>0</border>
  196. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  197. <object class="wxStaticText" name="out_temperature_max" base="EditStaticText">
  198. <font>
  199. <size>24</size>
  200. <family>default</family>
  201. <style>normal</style>
  202. <weight>normal</weight>
  203. <underlined>0</underlined>
  204. <face />
  205. </font>
  206. <style>wxALIGN_RIGHT</style>
  207. <label>-.- °C</label>
  208. <attribute>1</attribute>
  209. </object>
  210. </object>
  211. </object>
  212. </object>
  213. <object class="sizeritem">
  214. <option>0</option>
  215. <border>0</border>
  216. <object class="spacer" name="spacer" base="EditSpacer">
  217. <width>50</width>
  218. <height>20</height>
  219. </object>
  220. </object>
  221. <object class="sizeritem">
  222. <option>2</option>
  223. <border>0</border>
  224. <flag>wxRIGHT|wxALIGN_RIGHT</flag>
  225. <object class="wxStaticText" name="out_temperature" base="EditStaticText">
  226. <font>
  227. <size>48</size>
  228. <family>default</family>
  229. <style>normal</style>
  230. <weight>normal</weight>
  231. <underlined>0</underlined>
  232. <face />
  233. </font>
  234. <style>wxALIGN_RIGHT</style>
  235. <label>-.- °C</label>
  236. <attribute>1</attribute>
  237. </object>
  238. </object>
  239. </object>
  240. </object>
  241. <object class="sizeritem">
  242. <option>0</option>
  243. <border>0</border>
  244. <object class="spacer" name="spacer" base="EditSpacer">
  245. <width>20</width>
  246. <height>20</height>
  247. </object>
  248. </object>
  249. <object class="sizeritem">
  250. <option>0</option>
  251. <border>0</border>
  252. <flag>wxEXPAND</flag>
  253. <object class="wxStaticText" name="heading_in_envdata" base="EditStaticText">
  254. <background>#23238e</background>
  255. <foreground>#faf9ff</foreground>
  256. <font>
  257. <size>16</size>
  258. <family>default</family>
  259. <style>normal</style>
  260. <weight>normal</weight>
  261. <underlined>0</underlined>
  262. <face />
  263. </font>
  264. <label>Innen</label>
  265. <attribute>1</attribute>
  266. </object>
  267. </object>
  268. <object class="sizeritem">
  269. <option>0</option>
  270. <border>0</border>
  271. <flag>wxEXPAND</flag>
  272. <object class="wxBoxSizer" name="sizer_env_data_in" base="EditBoxSizer">
  273. <orient>wxHORIZONTAL</orient>
  274. <object class="sizeritem">
  275. <option>1</option>
  276. <border>0</border>
  277. <flag>wxEXPAND</flag>
  278. <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer">
  279. <orient>wxVERTICAL</orient>
  280. <object class="sizeritem">
  281. <option>1</option>
  282. <border>0</border>
  283. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  284. <object class="wxStaticText" name="in_humidity" base="EditStaticText">
  285. <font>
  286. <size>24</size>
  287. <family>default</family>
  288. <style>normal</style>
  289. <weight>normal</weight>
  290. <underlined>0</underlined>
  291. <face />
  292. </font>
  293. <style>wxALIGN_RIGHT</style>
  294. <label>- %</label>
  295. <attribute>1</attribute>
  296. </object>
  297. </object>
  298. <object class="sizeritem">
  299. <option>1</option>
  300. <border>0</border>
  301. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  302. <object class="wxStaticText" name="in_pressure" base="EditStaticText">
  303. <font>
  304. <size>24</size>
  305. <family>default</family>
  306. <style>normal</style>
  307. <weight>normal</weight>
  308. <underlined>0</underlined>
  309. <face />
  310. </font>
  311. <style>wxALIGN_RIGHT</style>
  312. <label>- hPa</label>
  313. <attribute>1</attribute>
  314. </object>
  315. </object>
  316. </object>
  317. </object>
  318. <object class="sizeritem">
  319. <option>1</option>
  320. <border>0</border>
  321. <flag>wxEXPAND</flag>
  322. <object class="wxBoxSizer" name="sizer_9" base="EditBoxSizer">
  323. <orient>wxVERTICAL</orient>
  324. <object class="sizeritem">
  325. <option>1</option>
  326. <border>0</border>
  327. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  328. <object class="wxStaticText" name="in_temperature_min" base="EditStaticText">
  329. <font>
  330. <size>24</size>
  331. <family>default</family>
  332. <style>normal</style>
  333. <weight>normal</weight>
  334. <underlined>0</underlined>
  335. <face />
  336. </font>
  337. <style>wxALIGN_RIGHT</style>
  338. <label>-.- °C</label>
  339. <attribute>1</attribute>
  340. </object>
  341. </object>
  342. <object class="sizeritem">
  343. <option>1</option>
  344. <border>0</border>
  345. <flag>wxRIGHT|wxEXPAND|wxALIGN_RIGHT</flag>
  346. <object class="wxStaticText" name="in_temperature_max" base="EditStaticText">
  347. <font>
  348. <size>24</size>
  349. <family>default</family>
  350. <style>normal</style>
  351. <weight>normal</weight>
  352. <underlined>0</underlined>
  353. <face />
  354. </font>
  355. <style>wxALIGN_RIGHT</style>
  356. <label>-.- °C</label>
  357. <attribute>1</attribute>
  358. </object>
  359. </object>
  360. </object>
  361. </object>
  362. <object class="sizeritem">
  363. <option>0</option>
  364. <border>0</border>
  365. <object class="spacer" name="spacer" base="EditSpacer">
  366. <width>50</width>
  367. <height>20</height>
  368. </object>
  369. </object>
  370. <object class="sizeritem">
  371. <option>2</option>
  372. <border>0</border>
  373. <flag>wxRIGHT|wxALIGN_RIGHT</flag>
  374. <object class="wxStaticText" name="in_temperature" base="EditStaticText">
  375. <font>
  376. <size>48</size>
  377. <family>default</family>
  378. <style>normal</style>
  379. <weight>normal</weight>
  380. <underlined>0</underlined>
  381. <face />
  382. </font>
  383. <style>wxALIGN_RIGHT</style>
  384. <label>-.- °C</label>
  385. <attribute>1</attribute>
  386. </object>
  387. </object>
  388. </object>
  389. </object>
  390. <object class="sizeritem">
  391. <option>1</option>
  392. <border>0</border>
  393. <object class="spacer" name="spacer" base="EditSpacer">
  394. <width>10</width>
  395. <height>10</height>
  396. </object>
  397. </object>
  398. <object class="sizeritem">
  399. <option>0</option>
  400. <border>0</border>
  401. <flag>wxEXPAND</flag>
  402. <object class="wxStaticText" name="heading_garage" base="EditStaticText">
  403. <background>#23238e</background>
  404. <foreground>#faf9ff</foreground>
  405. <font>
  406. <size>16</size>
  407. <family>default</family>
  408. <style>normal</style>
  409. <weight>normal</weight>
  410. <underlined>0</underlined>
  411. <face />
  412. </font>
  413. <label>Garage</label>
  414. <attribute>1</attribute>
  415. </object>
  416. </object>
  417. <object class="sizeritem">
  418. <option>0</option>
  419. <border>0</border>
  420. <flag>wxEXPAND</flag>
  421. <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer">
  422. <orient>wxHORIZONTAL</orient>
  423. <object class="sizeritem">
  424. <option>0</option>
  425. <border>0</border>
  426. <object class="wxButton" name="gate_oc" base="EditButton">
  427. <events>
  428. <handler event="EVT_BUTTON">gate_oc_evt</handler>
  429. </events>
  430. <size>100, 50</size>
  431. <label>Garage</label>
  432. </object>
  433. </object>
  434. <object class="sizeritem">
  435. <option>0</option>
  436. <border>0</border>
  437. <flag>wxALIGN_CENTER</flag>
  438. <object class="wxStaticText" name="gate_close" base="EditStaticText">
  439. <label>Close</label>
  440. <attribute>1</attribute>
  441. </object>
  442. </object>
  443. <object class="sizeritem">
  444. <option>1</option>
  445. <border>0</border>
  446. <flag>wxEXPAND</flag>
  447. <object class="wxSlider" name="gate_position" base="EditSlider">
  448. <disabled>1</disabled>
  449. <style>wxSL_HORIZONTAL</style>
  450. <range>0, 100</range>
  451. <value>50</value>
  452. </object>
  453. </object>
  454. <object class="sizeritem">
  455. <option>0</option>
  456. <border>0</border>
  457. <flag>wxALIGN_CENTER</flag>
  458. <object class="wxStaticText" name="gate_open" base="EditStaticText">
  459. <label>Open</label>
  460. <attribute>1</attribute>
  461. </object>
  462. </object>
  463. </object>
  464. </object>
  465. </object>
  466. </object>
  467. </application>