You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
4.8 KiB
165 lines
4.8 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>DebugConsole</class> |
|
<widget class="QWidget" name="DebugConsole"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>488</width> |
|
<height>390</height> |
|
</rect> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>Form</string> |
|
</property> |
|
<layout class="QGridLayout" name="gridLayout"> |
|
<property name="horizontalSpacing"> |
|
<number>6</number> |
|
</property> |
|
<property name="verticalSpacing"> |
|
<number>4</number> |
|
</property> |
|
<property name="margin"> |
|
<number>6</number> |
|
</property> |
|
<item row="0" column="0" colspan="2"> |
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,10,0,0,0,0"> |
|
<item> |
|
<widget class="QLabel" name="label"> |
|
<property name="text"> |
|
<string>Link</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QComboBox" name="linkComboBox"> |
|
<property name="toolTip"> |
|
<string>Select the link to monitor</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="speedLabel"> |
|
<property name="text"> |
|
<string>0.0 kB/s</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="mavlinkCheckBox"> |
|
<property name="toolTip"> |
|
<string>Ignore MAVLINK protocol messages in display</string> |
|
</property> |
|
<property name="text"> |
|
<string>Ignore MAVLINK</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="hexCheckBox"> |
|
<property name="toolTip"> |
|
<string>Display and send bytes in HEX representation</string> |
|
</property> |
|
<property name="text"> |
|
<string>HEX</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="holdCheckBox"> |
|
<property name="toolTip"> |
|
<string>Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling</string> |
|
</property> |
|
<property name="whatsThis"> |
|
<string>Enable auto hold to lower the CPU consumption</string> |
|
</property> |
|
<property name="text"> |
|
<string>Auto hold</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item row="1" column="0" colspan="2"> |
|
<widget class="QPlainTextEdit" name="receiveText"/> |
|
</item> |
|
<item row="2" column="0" colspan="2"> |
|
<widget class="QLineEdit" name="sentText"> |
|
<property name="text"> |
|
<string>Enter data/text below to send</string> |
|
</property> |
|
<property name="readOnly"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="3" column="0"> |
|
<widget class="QLineEdit" name="sendText"> |
|
<property name="toolTip"> |
|
<string>Type the bytes to send here, use 0xAA format for HEX (Check HEX checkbox above)</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="3" column="1"> |
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
<item> |
|
<widget class="QPushButton" name="transmitButton"> |
|
<property name="toolTip"> |
|
<string>Send the ASCII text or HEX values over the link</string> |
|
</property> |
|
<property name="text"> |
|
<string>Send</string> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="../../mavground.qrc"> |
|
<normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="holdButton"> |
|
<property name="text"> |
|
<string>Hold</string> |
|
</property> |
|
<property name="checkable"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="clearButton"> |
|
<property name="text"> |
|
<string>Clear</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
<resources> |
|
<include location="../../mavground.qrc"/> |
|
</resources> |
|
<connections> |
|
<connection> |
|
<sender>clearButton</sender> |
|
<signal>clicked()</signal> |
|
<receiver>receiveText</receiver> |
|
<slot>clear()</slot> |
|
<hints> |
|
<hint type="sourcelabel"> |
|
<x>356</x> |
|
<y>278</y> |
|
</hint> |
|
<hint type="destinationlabel"> |
|
<x>199</x> |
|
<y>146</y> |
|
</hint> |
|
</hints> |
|
</connection> |
|
</connections> |
|
</ui>
|
|
|