DebugConsole.ui 10.3 KB
Newer Older
1 2 3 4 5 6 7 8
<?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>
9 10
    <width>570</width>
    <height>211</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QGridLayout" name="gridLayout" columnstretch="0,0">
17 18 19 20 21 22 23 24 25 26
   <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">
27
    <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="10,0,0,0,0,0,0,0,0">
28 29 30 31 32 33 34 35 36 37 38 39 40 41
     <item>
      <widget class="QComboBox" name="linkComboBox">
       <property name="maximumSize">
        <size>
         <width>130</width>
         <height>16777215</height>
        </size>
       </property>
       <property name="toolTip">
        <string>Select the link to monitor</string>
       </property>
      </widget>
     </item>
     <item>
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
      <widget class="QLabel" name="downArrow">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>12</width>
         <height>16</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>12</width>
         <height>16</height>
        </size>
       </property>
       <property name="baseSize">
        <size>
         <width>12</width>
         <height>16</height>
        </size>
       </property>
       <property name="autoFillBackground">
        <bool>false</bool>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="pixmap">
        <pixmap resource="../../qgroundcontrol.qrc">:/files/images/actions/go-down.svg</pixmap>
       </property>
       <property name="scaledContents">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="downSpeedLabel">
       <property name="text">
        <string>00.0 kB/s</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="upArrow">
       <property name="maximumSize">
        <size>
         <width>12</width>
         <height>16</height>
        </size>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="pixmap">
        <pixmap resource="../../qgroundcontrol.qrc">:/files/images/actions/go-up.svg</pixmap>
       </property>
       <property name="scaledContents">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="upSpeedLabel">
109
       <property name="text">
110
        <string>00.0 kB/s</string>
111 112 113 114 115 116 117 118
       </property>
      </widget>
     </item>
     <item>
      <widget class="QCheckBox" name="mavlinkCheckBox">
       <property name="toolTip">
        <string>Ignore MAVLINK protocol messages in display</string>
       </property>
119 120 121
       <property name="statusTip">
        <string>Ignore MAVLINK protocol messages in display</string>
       </property>
122
       <property name="text">
123
        <string>Hide MAVLink</string>
124 125 126 127 128 129
       </property>
      </widget>
     </item>
     <item>
      <widget class="QCheckBox" name="hexCheckBox">
       <property name="toolTip">
130 131 132 133
        <string>Display and enter bytes in HEX representation (e.g. 0xAA)</string>
       </property>
       <property name="statusTip">
        <string>Display and enter bytes in HEX representation (e.g. 0xAA)</string>
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
       </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">
152
        <string>Auto Hold</string>
153 154 155
       </property>
      </widget>
     </item>
156 157 158 159 160 161 162 163 164 165 166 167 168
     <item>
      <spacer name="horizontalSpacer_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
169 170 171
    </layout>
   </item>
   <item row="1" column="0" colspan="2">
172 173 174 175 176 177 178
    <widget class="QPlainTextEdit" name="receiveText">
     <property name="minimumSize">
      <size>
       <width>300</width>
       <height>50</height>
      </size>
     </property>
179 180 181
     <property name="readOnly">
      <bool>true</bool>
     </property>
182 183 184 185
     <property name="tabStopWidth">
      <number>60</number>
     </property>
    </widget>
186 187 188 189 190 191 192 193 194 195 196
   </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>
197
   <item row="4" column="1">
198
    <layout class="QHBoxLayout" name="horizontalLayout" stretch="100,0,0,1,10,1,1,1">
199 200 201
     <property name="spacing">
      <number>5</number>
     </property>
202 203
     <item>
      <widget class="QComboBox" name="specialComboBox">
204 205 206 207 208 209
       <property name="maximumSize">
        <size>
         <width>100</width>
         <height>16777215</height>
        </size>
       </property>
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
       <property name="maxVisibleItems">
        <number>10</number>
       </property>
       <property name="sizeAdjustPolicy">
        <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
       </property>
       <property name="minimumContentsLength">
        <number>1</number>
       </property>
       <item>
        <property name="text">
         <string>Add..</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>CR+LF</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>LF</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>FF</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>CR</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>TAB</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>ESC</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>~</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>&lt;Space&gt;</string>
        </property>
       </item>
      </widget>
     </item>
266 267 268 269 270 271
     <item>
      <widget class="QPushButton" name="addSymbolButton">
       <property name="text">
        <string/>
       </property>
       <property name="icon">
272
        <iconset resource="../../qgroundcontrol.qrc">
273
         <normaloff>:/files/images/actions/list-add.svg</normaloff>:/files/images/actions/list-add.svg</iconset>
274 275 276
       </property>
      </widget>
     </item>
277 278 279 280 281 282 283 284 285 286
     <item>
      <widget class="QCheckBox" name="specialCheckBox">
       <property name="toolTip">
        <string>Automatically send special char at end of message</string>
       </property>
       <property name="text">
        <string>Auto-Add</string>
       </property>
      </widget>
     </item>
287 288 289 290 291 292 293 294 295
     <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">
296
        <iconset resource="../../qgroundcontrol.qrc">
297
         <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
298 299 300
       </property>
      </widget>
     </item>
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeType">
        <enum>QSizePolicy::Expanding</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>5</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
     <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>
334 335 336 337 338 339 340
     <item>
      <widget class="QPushButton" name="connectButton">
       <property name="text">
        <string>Disconn.</string>
       </property>
      </widget>
     </item>
341 342
    </layout>
   </item>
343 344 345 346 347 348 349 350 351 352 353 354 355
   <item row="3" column="0" colspan="2">
    <widget class="QLineEdit" name="sendText">
     <property name="minimumSize">
      <size>
       <width>80</width>
       <height>0</height>
      </size>
     </property>
     <property name="toolTip">
      <string>Type the bytes to send here, use 0xAA format for HEX (Check HEX checkbox above)</string>
     </property>
    </widget>
   </item>
356 357 358
  </layout>
 </widget>
 <resources>
359
  <include location="../../qgroundcontrol.qrc"/>
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
 </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>