<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>BatteryMonitorConfig</class> <widget class="QWidget" name="BatteryMonitorConfig"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>745</width> <height>494</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <widget class="QLabel" name="label"> <property name="geometry"> <rect> <x>20</x> <y>20</y> <width>141</width> <height>31</height> </rect> </property> <property name="text"> <string><h2>Battery Monitor</h2></string> </property> <property name="scaledContents"> <bool>false</bool> </property> </widget> <widget class="QLabel" name="label_2"> <property name="geometry"> <rect> <x>10</x> <y>70</y> <width>141</width> <height>51</height> </rect> </property> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="../../../qgroundcontrol.qrc">:/files/images/devices/BR-APMPWRDEAN-2.jpg</pixmap> </property> <property name="scaledContents"> <bool>true</bool> </property> </widget> <widget class="QCheckBox" name="alertOnLowCheckBox"> <property name="geometry"> <rect> <x>480</x> <y>120</y> <width>91</width> <height>17</height> </rect> </property> <property name="text"> <string>Alert On Low</string> </property> </widget> <widget class="QGroupBox" name="groupBox"> <property name="geometry"> <rect> <x>160</x> <y>170</y> <width>241</width> <height>141</height> </rect> </property> <property name="title"> <string>Calibration</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLabel" name="label_9"> <property name="text"> <string>1. Measured battery voltage:</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_8"> <property name="text"> <string>2. Battery voltage (Calc'ed):</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_10"> <property name="text"> <string>3. Voltage divider (Calc'ed):</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_11"> <property name="text"> <string>4. Amperes per volt:</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLineEdit" name="measuredVoltsLineEdit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLineEdit" name="calcVoltsLineEdit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLineEdit" name="calcDividerLineEdit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QLineEdit" name="ampsPerVoltsLineEdit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="horizontalLayoutWidget_2"> <property name="geometry"> <rect> <x>160</x> <y>70</y> <width>281</width> <height>91</height> </rect> </property> <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,1"> <item> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>Monitor</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_4"> <property name="text"> <string>Sensor</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_5"> <property name="text"> <string>APM Version</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QComboBox" name="monitorComboBox"/> </item> <item> <widget class="QComboBox" name="sensorComboBox"/> </item> <item> <widget class="QComboBox" name="apmVerComboBox"/> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="horizontalLayoutWidget_3"> <property name="geometry"> <rect> <x>470</x> <y>70</y> <width>195</width> <height>41</height> </rect> </property> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QLabel" name="label_13"> <property name="text"> <string>Battery Capacity:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="battCapacityLineEdit"/> </item> <item> <widget class="QLabel" name="label_12"> <property name="text"> <string>mAh</string> </property> </widget> </item> </layout> </widget> </widget> <resources> <include location="../../../qgroundcontrol.qrc"/> </resources> <connections/> </ui>