Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
56da98ee
Commit
56da98ee
authored
Dec 22, 2013
by
Bryant Mairs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a downstream text label to the debug console.
parent
17883dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
6 deletions
+72
-6
DebugConsole.cc
src/ui/DebugConsole.cc
+1
-1
DebugConsole.ui
src/ui/DebugConsole.ui
+71
-5
No files found.
src/ui/DebugConsole.cc
View file @
56da98ee
...
...
@@ -341,7 +341,7 @@ void DebugConsole::updateTrafficMeasurements()
QString
speed
;
speed
=
speed
.
sprintf
(
"%04.1f kB/s"
,
dataRate
/
1000.0
f
);
m_ui
->
s
peedLabel
->
setText
(
speed
);
m_ui
->
downS
peedLabel
->
setText
(
speed
);
if
(
holdOn
)
{
//repaint();
...
...
src/ui/DebugConsole.ui
View file @
56da98ee
...
...
@@ -6,8 +6,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
5
66
</width>
<height>
190
</height>
<width>
5
70
</width>
<height>
211
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -24,7 +24,7 @@
<number>
6
</number>
</property>
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
stretch=
"10,0,0,0,0,0"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
stretch=
"10,0,0,0,0,0
,0,0,0
"
>
<item>
<widget
class=
"QComboBox"
name=
"linkComboBox"
>
<property
name=
"maximumSize"
>
...
...
@@ -39,9 +39,75 @@
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"speedLabel"
>
<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"
>
<property
name=
"text"
>
<string>
0.0 kB/s
</string>
<string>
0
0
.0 kB/s
</string>
</property>
</widget>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment