devicedialog.ui 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dialog</class>
  4. <widget class="QDialog" name="Dialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>357</width>
  10. <height>480</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Device Information</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item alignment="Qt::AlignTop">
  18. <widget class="QGroupBox" name="IdInfo">
  19. <property name="title">
  20. <string>Identifcation Information</string>
  21. </property>
  22. <layout class="QFormLayout" name="formLayout">
  23. <item row="0" column="0">
  24. <widget class="QLabel" name="label">
  25. <property name="text">
  26. <string>Device Alias:</string>
  27. </property>
  28. </widget>
  29. </item>
  30. <item row="0" column="1">
  31. <widget class="QLineEdit" name="lineAlias"/>
  32. </item>
  33. <item row="1" column="0">
  34. <widget class="QLabel" name="label_2">
  35. <property name="text">
  36. <string>Device MAC Address:</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="1" column="1">
  41. <widget class="QLabel" name="labelMAC">
  42. <property name="text">
  43. <string>TextLabel</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item row="2" column="0">
  48. <widget class="QLabel" name="label_24">
  49. <property name="text">
  50. <string>AP SSID: </string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item row="2" column="1">
  55. <widget class="QLabel" name="labelSSID">
  56. <property name="text">
  57. <string>TextLabel</string>
  58. </property>
  59. </widget>
  60. </item>
  61. <item row="3" column="0">
  62. <widget class="QLabel" name="label_26">
  63. <property name="text">
  64. <string>RSSI (dBm):</string>
  65. </property>
  66. </widget>
  67. </item>
  68. <item row="3" column="1">
  69. <widget class="QLabel" name="labelRSSI">
  70. <property name="text">
  71. <string>TextLabel</string>
  72. </property>
  73. </widget>
  74. </item>
  75. </layout>
  76. </widget>
  77. </item>
  78. <item alignment="Qt::AlignTop">
  79. <widget class="QGroupBox" name="HWSpecsAndStatus">
  80. <property name="title">
  81. <string>Hardware Specifications and Status</string>
  82. </property>
  83. <layout class="QFormLayout" name="formLayout_3">
  84. <item row="0" column="0">
  85. <widget class="QLabel" name="label_8">
  86. <property name="text">
  87. <string>Firmware Version:</string>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="1" column="0">
  92. <widget class="QLabel" name="label_9">
  93. <property name="text">
  94. <string>Hardware Version:</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="2" column="0">
  99. <widget class="QLabel" name="label_12">
  100. <property name="text">
  101. <string>ROM Slot:</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item row="0" column="1">
  106. <widget class="QLabel" name="labelFirmwareVersion">
  107. <property name="text">
  108. <string>TextLabel</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item row="1" column="1">
  113. <widget class="QLabel" name="labelHardwareVersion">
  114. <property name="text">
  115. <string>TextLabel</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="2" column="1">
  120. <widget class="QLabel" name="labelROMSlot">
  121. <property name="text">
  122. <string>TextLabel</string>
  123. </property>
  124. </widget>
  125. </item>
  126. <item row="3" column="0">
  127. <widget class="QLabel" name="label_18">
  128. <property name="text">
  129. <string>Alive Flag:</string>
  130. </property>
  131. </widget>
  132. </item>
  133. <item row="3" column="1">
  134. <widget class="QLabel" name="labelAliveFlag">
  135. <property name="text">
  136. <string>TextLabel</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item row="4" column="0">
  141. <widget class="QLabel" name="label_20">
  142. <property name="text">
  143. <string>Active Flag:</string>
  144. </property>
  145. </widget>
  146. </item>
  147. <item row="4" column="1">
  148. <widget class="QLabel" name="labelActiveFlag">
  149. <property name="text">
  150. <string>TextLabel</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item row="5" column="0">
  155. <widget class="QLabel" name="label_22">
  156. <property name="text">
  157. <string>OTA Flag:</string>
  158. </property>
  159. </widget>
  160. </item>
  161. <item row="5" column="1">
  162. <widget class="QLabel" name="labelOTAFlag">
  163. <property name="text">
  164. <string>TextLabel</string>
  165. </property>
  166. </widget>
  167. </item>
  168. </layout>
  169. </widget>
  170. </item>
  171. <item alignment="Qt::AlignTop">
  172. <widget class="QGroupBox" name="BatteryInfo">
  173. <property name="title">
  174. <string>Battery Information</string>
  175. </property>
  176. <layout class="QFormLayout" name="formLayout_2">
  177. <item row="0" column="0">
  178. <widget class="QLabel" name="label_4">
  179. <property name="text">
  180. <string>Voltage (V):</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item row="0" column="1">
  185. <widget class="QLabel" name="labelBatteryVoltage">
  186. <property name="text">
  187. <string>TextLabel</string>
  188. </property>
  189. </widget>
  190. </item>
  191. <item row="1" column="0">
  192. <widget class="QLabel" name="label_6">
  193. <property name="text">
  194. <string>Remaining Capacity:</string>
  195. </property>
  196. </widget>
  197. </item>
  198. <item row="1" column="1">
  199. <widget class="QLabel" name="labelBatteryCapacity">
  200. <property name="text">
  201. <string>TextLabel</string>
  202. </property>
  203. </widget>
  204. </item>
  205. <item row="2" column="0">
  206. <widget class="QLabel" name="label_10">
  207. <property name="text">
  208. <string>Charging State:</string>
  209. </property>
  210. </widget>
  211. </item>
  212. <item row="2" column="1">
  213. <widget class="QLabel" name="labelChargeState">
  214. <property name="text">
  215. <string>TextLabel</string>
  216. </property>
  217. </widget>
  218. </item>
  219. <item row="3" column="0">
  220. <widget class="QLabel" name="label_16">
  221. <property name="text">
  222. <string>Low Battery Indicator:</string>
  223. </property>
  224. </widget>
  225. </item>
  226. <item row="3" column="1">
  227. <widget class="QLabel" name="labelLowBattery">
  228. <property name="text">
  229. <string>TextLabel</string>
  230. </property>
  231. </widget>
  232. </item>
  233. </layout>
  234. </widget>
  235. </item>
  236. <item>
  237. <spacer name="verticalSpacer">
  238. <property name="orientation">
  239. <enum>Qt::Vertical</enum>
  240. </property>
  241. <property name="sizeHint" stdset="0">
  242. <size>
  243. <width>20</width>
  244. <height>40</height>
  245. </size>
  246. </property>
  247. </spacer>
  248. </item>
  249. </layout>
  250. </widget>
  251. <resources/>
  252. <connections/>
  253. </ui>