main.ui 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  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>1337</width>
  10. <height>879</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>BEXUS</string>
  21. </property>
  22. <property name="windowIcon">
  23. <iconset>
  24. <normaloff>../../../.designer/backup/pp.png</normaloff>../../../.designer/backup/pp.png</iconset>
  25. </property>
  26. <widget class="QWidget" name="centralwidget">
  27. <layout class="QGridLayout" name="gridLayout_2">
  28. <item row="0" column="1">
  29. <layout class="QGridLayout" name="gridLayout">
  30. <item row="0" column="0">
  31. <layout class="QVBoxLayout" name="verticalLayout_2">
  32. <item>
  33. <widget class="QGroupBox" name="groupBox">
  34. <property name="minimumSize">
  35. <size>
  36. <width>306</width>
  37. <height>0</height>
  38. </size>
  39. </property>
  40. <property name="title">
  41. <string>Stats</string>
  42. </property>
  43. <layout class="QGridLayout" name="gridLayout_5">
  44. <item row="4" column="1">
  45. <widget class="QLabel" name="labelLink_MCU2">
  46. <property name="font">
  47. <font>
  48. <weight>75</weight>
  49. <bold>true</bold>
  50. </font>
  51. </property>
  52. <property name="styleSheet">
  53. <string notr="true">color:#ad6d00</string>
  54. </property>
  55. <property name="text">
  56. <string>Unknown</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="3" column="1">
  61. <widget class="QLabel" name="labelLink_MCU1">
  62. <property name="font">
  63. <font>
  64. <weight>75</weight>
  65. <bold>true</bold>
  66. </font>
  67. </property>
  68. <property name="styleSheet">
  69. <string notr="true">color:#ad6d00</string>
  70. </property>
  71. <property name="text">
  72. <string>Unknown</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="1" column="0">
  77. <widget class="QLabel" name="label_2">
  78. <property name="text">
  79. <string>Link:</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item row="4" column="0">
  84. <widget class="QLabel" name="label_25">
  85. <property name="text">
  86. <string>MCU 2:</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item row="2" column="1">
  91. <widget class="QLabel" name="labelLatency">
  92. <property name="text">
  93. <string>20ms</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="1" column="1">
  98. <widget class="QLabel" name="labelLink">
  99. <property name="font">
  100. <font>
  101. <weight>75</weight>
  102. <bold>true</bold>
  103. </font>
  104. </property>
  105. <property name="styleSheet">
  106. <string notr="true">color:red</string>
  107. </property>
  108. <property name="text">
  109. <string>Offline</string>
  110. </property>
  111. </widget>
  112. </item>
  113. <item row="2" column="0">
  114. <widget class="QLabel" name="label_6">
  115. <property name="text">
  116. <string>Latency:</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item row="3" column="0">
  121. <widget class="QLabel" name="label_3">
  122. <property name="text">
  123. <string>MCU 1:</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="0" column="0">
  128. <widget class="QLabel" name="label">
  129. <property name="text">
  130. <string>Address:</string>
  131. </property>
  132. </widget>
  133. </item>
  134. <item row="0" column="1">
  135. <widget class="QLabel" name="labelAddress">
  136. <property name="text">
  137. <string>192.168.0.8:1234</string>
  138. </property>
  139. </widget>
  140. </item>
  141. </layout>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="QGroupBox" name="groupBox_6">
  146. <property name="title">
  147. <string>Position</string>
  148. </property>
  149. <layout class="QGridLayout" name="gridLayout_11">
  150. <item row="0" column="1">
  151. <widget class="QLabel" name="label_lat_1">
  152. <property name="text">
  153. <string>51.4562</string>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="0" column="0">
  158. <widget class="QLabel" name="label_27">
  159. <property name="text">
  160. <string>Latitude</string>
  161. </property>
  162. </widget>
  163. </item>
  164. <item row="2" column="1">
  165. <widget class="QLabel" name="label_alt_1">
  166. <property name="text">
  167. <string>165.07 m</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item row="2" column="0">
  172. <widget class="QLabel" name="label_21">
  173. <property name="text">
  174. <string>Altitude:</string>
  175. </property>
  176. </widget>
  177. </item>
  178. <item row="1" column="0">
  179. <widget class="QLabel" name="label_29">
  180. <property name="text">
  181. <string>Longitude</string>
  182. </property>
  183. </widget>
  184. </item>
  185. <item row="1" column="1">
  186. <widget class="QLabel" name="label_lon_1">
  187. <property name="text">
  188. <string>10.2452</string>
  189. </property>
  190. </widget>
  191. </item>
  192. </layout>
  193. </widget>
  194. </item>
  195. <item>
  196. <widget class="QGroupBox" name="groupBox_4">
  197. <property name="title">
  198. <string>Gyro</string>
  199. </property>
  200. <layout class="QGridLayout" name="gridLayout_7">
  201. <item row="0" column="6">
  202. <widget class="QLabel" name="label_AcZ">
  203. <property name="text">
  204. <string>0</string>
  205. </property>
  206. </widget>
  207. </item>
  208. <item row="0" column="0">
  209. <widget class="QLabel" name="label_5">
  210. <property name="text">
  211. <string>AcX:</string>
  212. </property>
  213. </widget>
  214. </item>
  215. <item row="1" column="5">
  216. <widget class="QLabel" name="label_17">
  217. <property name="text">
  218. <string>GyZ:</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item row="1" column="3">
  223. <widget class="QLabel" name="label_16">
  224. <property name="text">
  225. <string>GyY:</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item row="0" column="4">
  230. <widget class="QLabel" name="label_AcY">
  231. <property name="text">
  232. <string>0</string>
  233. </property>
  234. </widget>
  235. </item>
  236. <item row="1" column="0">
  237. <widget class="QLabel" name="label_15">
  238. <property name="text">
  239. <string>GyX:</string>
  240. </property>
  241. </widget>
  242. </item>
  243. <item row="0" column="3">
  244. <widget class="QLabel" name="label_11">
  245. <property name="text">
  246. <string>AcY:</string>
  247. </property>
  248. </widget>
  249. </item>
  250. <item row="0" column="1">
  251. <widget class="QLabel" name="label_AcX">
  252. <property name="text">
  253. <string>0</string>
  254. </property>
  255. </widget>
  256. </item>
  257. <item row="0" column="5">
  258. <widget class="QLabel" name="label_13">
  259. <property name="text">
  260. <string>AcZ:</string>
  261. </property>
  262. </widget>
  263. </item>
  264. <item row="1" column="1">
  265. <widget class="QLabel" name="label_GyX">
  266. <property name="text">
  267. <string>0</string>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="1" column="4">
  272. <widget class="QLabel" name="label_GyY">
  273. <property name="text">
  274. <string>0</string>
  275. </property>
  276. </widget>
  277. </item>
  278. <item row="1" column="6">
  279. <widget class="QLabel" name="label_GyZ">
  280. <property name="text">
  281. <string>0</string>
  282. </property>
  283. </widget>
  284. </item>
  285. </layout>
  286. </widget>
  287. </item>
  288. <item>
  289. <widget class="QGroupBox" name="groupBox_3">
  290. <property name="title">
  291. <string>Magnetic</string>
  292. </property>
  293. <layout class="QGridLayout" name="gridLayout_8">
  294. <item row="0" column="0">
  295. <widget class="QLabel" name="label_8">
  296. <property name="text">
  297. <string>X:</string>
  298. </property>
  299. </widget>
  300. </item>
  301. <item row="0" column="4">
  302. <widget class="QLabel" name="label_18">
  303. <property name="text">
  304. <string>Z:</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item row="0" column="1">
  309. <widget class="QLabel" name="label_MaX">
  310. <property name="text">
  311. <string>0</string>
  312. </property>
  313. </widget>
  314. </item>
  315. <item row="0" column="2">
  316. <widget class="QLabel" name="label_12">
  317. <property name="text">
  318. <string>Y:</string>
  319. </property>
  320. </widget>
  321. </item>
  322. <item row="0" column="3">
  323. <widget class="QLabel" name="label_MaY">
  324. <property name="text">
  325. <string>0</string>
  326. </property>
  327. </widget>
  328. </item>
  329. <item row="0" column="5">
  330. <widget class="QLabel" name="label_MaZ">
  331. <property name="text">
  332. <string>0</string>
  333. </property>
  334. </widget>
  335. </item>
  336. </layout>
  337. </widget>
  338. </item>
  339. <item>
  340. <widget class="QGroupBox" name="groupBox_5">
  341. <property name="title">
  342. <string>Pressure</string>
  343. </property>
  344. <layout class="QGridLayout" name="gridLayout_9">
  345. <item row="0" column="0">
  346. <widget class="QLabel" name="label_9">
  347. <property name="text">
  348. <string>Cis</string>
  349. </property>
  350. </widget>
  351. </item>
  352. <item row="1" column="0">
  353. <widget class="QLabel" name="label_20">
  354. <property name="text">
  355. <string>SPI</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item row="0" column="1">
  360. <widget class="QLabel" name="label_pres_cis_1">
  361. <property name="text">
  362. <string>99999.4 Pa</string>
  363. </property>
  364. </widget>
  365. </item>
  366. <item row="1" column="1">
  367. <widget class="QLabel" name="label_pres_i2c_1">
  368. <property name="text">
  369. <string>99355.0 Pa</string>
  370. </property>
  371. </widget>
  372. </item>
  373. </layout>
  374. </widget>
  375. </item>
  376. <item>
  377. <widget class="QGroupBox" name="groupBox_2">
  378. <property name="title">
  379. <string>Temperature</string>
  380. </property>
  381. <layout class="QGridLayout" name="gridLayout_6">
  382. <item row="0" column="0">
  383. <widget class="QLabel" name="label_4">
  384. <property name="text">
  385. <string>ADC</string>
  386. </property>
  387. </widget>
  388. </item>
  389. <item row="2" column="1">
  390. <widget class="QLabel" name="label_temp_mpu_1">
  391. <property name="text">
  392. <string>39.20 °C</string>
  393. </property>
  394. </widget>
  395. </item>
  396. <item row="1" column="1">
  397. <widget class="QLabel" name="label_temp_cis_1">
  398. <property name="text">
  399. <string>36.43 °C</string>
  400. </property>
  401. </widget>
  402. </item>
  403. <item row="2" column="0">
  404. <widget class="QLabel" name="label_24">
  405. <property name="text">
  406. <string>MPU</string>
  407. </property>
  408. </widget>
  409. </item>
  410. <item row="0" column="1">
  411. <widget class="QLabel" name="label_temp_adc_1">
  412. <property name="text">
  413. <string>20.21 °C</string>
  414. </property>
  415. </widget>
  416. </item>
  417. <item row="1" column="0">
  418. <widget class="QLabel" name="label_22">
  419. <property name="text">
  420. <string>Cis</string>
  421. </property>
  422. </widget>
  423. </item>
  424. <item row="3" column="0">
  425. <widget class="QLabel" name="label_37">
  426. <property name="text">
  427. <string>Mag</string>
  428. </property>
  429. </widget>
  430. </item>
  431. <item row="3" column="1">
  432. <widget class="QLabel" name="label_temp_mag_1">
  433. <property name="text">
  434. <string>36.01 °C</string>
  435. </property>
  436. </widget>
  437. </item>
  438. </layout>
  439. </widget>
  440. </item>
  441. <item>
  442. <widget class="QGroupBox" name="groupBox_7">
  443. <property name="title">
  444. <string>GPS</string>
  445. </property>
  446. <layout class="QGridLayout" name="gridLayout_12">
  447. <item row="0" column="1">
  448. <widget class="QLabel" name="label_time_1">
  449. <property name="text">
  450. <string>12:00</string>
  451. </property>
  452. </widget>
  453. </item>
  454. <item row="1" column="1">
  455. <widget class="QLabel" name="label_date_1">
  456. <property name="text">
  457. <string>01.01.1970</string>
  458. </property>
  459. </widget>
  460. </item>
  461. <item row="1" column="0">
  462. <widget class="QLabel" name="label_32">
  463. <property name="text">
  464. <string>Date</string>
  465. </property>
  466. </widget>
  467. </item>
  468. <item row="0" column="0">
  469. <widget class="QLabel" name="label_31">
  470. <property name="text">
  471. <string>Time</string>
  472. </property>
  473. </widget>
  474. </item>
  475. <item row="2" column="0">
  476. <widget class="QLabel" name="label_35">
  477. <property name="text">
  478. <string>Hdop</string>
  479. </property>
  480. </widget>
  481. </item>
  482. <item row="2" column="1">
  483. <widget class="QLabel" name="label_hdop_1">
  484. <property name="text">
  485. <string>0</string>
  486. </property>
  487. </widget>
  488. </item>
  489. </layout>
  490. </widget>
  491. </item>
  492. <item>
  493. <spacer name="verticalSpacer">
  494. <property name="orientation">
  495. <enum>Qt::Vertical</enum>
  496. </property>
  497. <property name="sizeType">
  498. <enum>QSizePolicy::Expanding</enum>
  499. </property>
  500. <property name="sizeHint" stdset="0">
  501. <size>
  502. <width>20</width>
  503. <height>40</height>
  504. </size>
  505. </property>
  506. </spacer>
  507. </item>
  508. <item>
  509. <widget class="QProgressBar" name="progressBar_reset">
  510. <property name="sizePolicy">
  511. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  512. <horstretch>0</horstretch>
  513. <verstretch>0</verstretch>
  514. </sizepolicy>
  515. </property>
  516. <property name="value">
  517. <number>0</number>
  518. </property>
  519. <property name="textVisible">
  520. <bool>true</bool>
  521. </property>
  522. </widget>
  523. </item>
  524. <item>
  525. <widget class="QPushButton" name="pushButton_reset">
  526. <property name="sizePolicy">
  527. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  528. <horstretch>0</horstretch>
  529. <verstretch>0</verstretch>
  530. </sizepolicy>
  531. </property>
  532. <property name="text">
  533. <string>Restart</string>
  534. </property>
  535. </widget>
  536. </item>
  537. </layout>
  538. </item>
  539. </layout>
  540. </item>
  541. <item row="0" column="0">
  542. <widget class="QTabWidget" name="tabWidget">
  543. <property name="currentIndex">
  544. <number>0</number>
  545. </property>
  546. <widget class="QWidget" name="tab">
  547. <attribute name="title">
  548. <string>3D View</string>
  549. </attribute>
  550. <layout class="QGridLayout" name="gridLayout_4">
  551. <item row="0" column="0">
  552. <widget class="QOpenGLWidget" name="openGLWidget">
  553. <property name="sizePolicy">
  554. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  555. <horstretch>0</horstretch>
  556. <verstretch>0</verstretch>
  557. </sizepolicy>
  558. </property>
  559. <property name="mouseTracking">
  560. <bool>false</bool>
  561. </property>
  562. </widget>
  563. </item>
  564. </layout>
  565. </widget>
  566. <widget class="QWidget" name="tab_3">
  567. <attribute name="title">
  568. <string>Orthogonal View</string>
  569. </attribute>
  570. <layout class="QGridLayout" name="gridLayout_3">
  571. <item row="0" column="0">
  572. <widget class="QOpenGLWidget" name="openGLWidgetQuad"/>
  573. </item>
  574. </layout>
  575. </widget>
  576. <widget class="QWidget" name="tab_2">
  577. <attribute name="title">
  578. <string>Raw data</string>
  579. </attribute>
  580. <layout class="QGridLayout" name="gridLayout_10">
  581. <item row="1" column="0">
  582. <widget class="QScrollArea" name="scrollArea">
  583. <property name="widgetResizable">
  584. <bool>true</bool>
  585. </property>
  586. <widget class="QWidget" name="scrollAreaWidgetContents">
  587. <property name="geometry">
  588. <rect>
  589. <x>0</x>
  590. <y>0</y>
  591. <width>98</width>
  592. <height>28</height>
  593. </rect>
  594. </property>
  595. </widget>
  596. </widget>
  597. </item>
  598. <item row="0" column="0">
  599. <widget class="QLabel" name="labelTestData">
  600. <property name="text">
  601. <string>Test Data</string>
  602. </property>
  603. </widget>
  604. </item>
  605. </layout>
  606. </widget>
  607. </widget>
  608. </item>
  609. </layout>
  610. </widget>
  611. <widget class="QMenuBar" name="menubar">
  612. <property name="geometry">
  613. <rect>
  614. <x>0</x>
  615. <y>0</y>
  616. <width>1337</width>
  617. <height>26</height>
  618. </rect>
  619. </property>
  620. <widget class="QMenu" name="menuFile">
  621. <property name="title">
  622. <string>File</string>
  623. </property>
  624. <addaction name="actionSave"/>
  625. <addaction name="actionSettings"/>
  626. <addaction name="actionClose"/>
  627. </widget>
  628. <widget class="QMenu" name="menuCamera_Settings">
  629. <property name="title">
  630. <string>Camera Settings</string>
  631. </property>
  632. <addaction name="actionFollow"/>
  633. </widget>
  634. <addaction name="menuFile"/>
  635. <addaction name="menuCamera_Settings"/>
  636. </widget>
  637. <widget class="QStatusBar" name="statusbar"/>
  638. <action name="actionClose">
  639. <property name="text">
  640. <string>Close</string>
  641. </property>
  642. </action>
  643. <action name="actionFollow">
  644. <property name="checkable">
  645. <bool>true</bool>
  646. </property>
  647. <property name="checked">
  648. <bool>true</bool>
  649. </property>
  650. <property name="text">
  651. <string>Follow</string>
  652. </property>
  653. </action>
  654. <action name="actionReset">
  655. <property name="text">
  656. <string>Reset</string>
  657. </property>
  658. </action>
  659. <action name="actionSave">
  660. <property name="text">
  661. <string>Save</string>
  662. </property>
  663. </action>
  664. <action name="actionSettings">
  665. <property name="text">
  666. <string>Settings</string>
  667. </property>
  668. </action>
  669. </widget>
  670. <resources/>
  671. <connections/>
  672. </ui>