Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
c479b09d
Commit
c479b09d
authored
Jul 03, 2010
by
lm
Browse files
Minor improvements
parent
dffd1ce9
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/ui/HSIDisplay.cc
View file @
c479b09d
...
...
@@ -665,6 +665,7 @@ void HSIDisplay::drawWaypoints(QPainter& painter)
QPen
pen
(
color
);
pen
.
setWidthF
(
refLineWidthToPen
(
0.4
f
));
painter
.
setPen
(
pen
);
painter
.
setBrush
(
Qt
::
NoBrush
);
// Draw line from last waypoint to this one
if
(
!
lastWaypoint
.
isNull
())
...
...
src/ui/UASControl.ui
View file @
c479b09d
...
...
@@ -6,14 +6,20 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
3
80
</width>
<height>
1
90
</height>
<width>
2
80
</width>
<height>
1
64
</height>
</rect>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
280
</width>
<height>
130
</height>
</size>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
rowminimumheight=
"
0,
0,0,0,0,
0,10
0"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
rowminimumheight=
"
5,1
0,
1
0,0,
1
0,
5,
0"
>
<property
name=
"leftMargin"
>
<number>
6
</number>
</property>
...
...
@@ -147,10 +153,13 @@
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Expanding
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
2
0
</width>
<height>
0
</height>
<width>
0
</width>
<height>
1
</height>
</size>
</property>
</spacer>
...
...
src/ui/UASInfo.ui
View file @
c479b09d
...
...
@@ -287,7 +287,7 @@
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_3"
>
<property
name=
"text"
>
<string>
C
P
U Load
</string>
<string>
M
CU Load
</string>
</property>
</widget>
</item>
...
...
@@ -370,14 +370,14 @@
</property>
</widget>
</item>
<item
row=
"
4
"
column=
"0"
colspan=
"6"
>
<item
row=
"
5
"
column=
"0"
colspan=
"6"
>
<widget
class=
"Line"
name=
"line"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"
6
"
column=
"0"
colspan=
"7"
>
<item
row=
"
7
"
column=
"0"
colspan=
"7"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
@@ -393,13 +393,69 @@
</property>
</spacer>
</item>
<item
row=
"
5
"
column=
"0"
colspan=
"6"
>
<item
row=
"
6
"
column=
"0"
colspan=
"6"
>
<widget
class=
"QLabel"
name=
"errorLabel"
>
<property
name=
"text"
>
<string>
No error status received yet
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_4"
>
<property
name=
"text"
>
<string>
CPU Load
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"2"
>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"text"
>
<string>
0
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
</widget>
</item>
<item
row=
"4"
column=
"3"
>
<widget
class=
"QLabel"
name=
"label_10"
>
<property
name=
"text"
>
<string>
%
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"4"
colspan=
"2"
>
<widget
class=
"QProgressBar"
name=
"progressBar"
>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
20
</height>
</size>
</property>
<property
name=
"baseSize"
>
<size>
<width>
0
</width>
<height>
18
</height>
</size>
</property>
<property
name=
"value"
>
<number>
24
</number>
</property>
</widget>
</item>
<item
row=
"4"
column=
"1"
>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
13
</width>
<height>
15
</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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