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
98c4bbe4
Commit
98c4bbe4
authored
Nov 28, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing black on black font issue.
parent
2a4b7c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
MainToolBar.qml
src/ui/toolbar/MainToolBar.qml
+26
-0
No files found.
src/ui/toolbar/MainToolBar.qml
View file @
98c4bbe4
...
@@ -228,6 +228,7 @@ Rectangle {
...
@@ -228,6 +228,7 @@ Rectangle {
id
:
gpsLabel
id
:
gpsLabel
text
:
(
activeVehicle
&&
(
activeVehicle
.
satelliteCount
>
0
))
?
"
GPS Status
"
:
"
GPS Data Unavailable
"
text
:
(
activeVehicle
&&
(
activeVehicle
.
satelliteCount
>
0
))
?
"
GPS Status
"
:
"
GPS Data Unavailable
"
font.weight
:
Font
.
DemiBold
font.weight
:
Font
.
DemiBold
color
:
colorWhite
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
GridLayout
{
GridLayout
{
...
@@ -239,15 +240,19 @@ Rectangle {
...
@@ -239,15 +240,19 @@ Rectangle {
columns
:
2
columns
:
2
QGCLabel
{
QGCLabel
{
text
:
"
GPS Count:
"
text
:
"
GPS Count:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
satelliteCount
)
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
satelliteCount
)
:
"
N/A
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
GPS Lock:
"
text
:
"
GPS Lock:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
getGpsLockStatus
()
text
:
getGpsLockStatus
()
color
:
colorWhite
}
}
}
}
}
}
...
@@ -277,6 +282,7 @@ Rectangle {
...
@@ -277,6 +282,7 @@ Rectangle {
QGCLabel
{
QGCLabel
{
id
:
battLabel
id
:
battLabel
text
:
(
activeVehicle
&&
(
activeVehicle
.
batteryVoltage
>
0
))
?
"
Battery Status
"
:
"
Battery Data Unavailable
"
text
:
(
activeVehicle
&&
(
activeVehicle
.
batteryVoltage
>
0
))
?
"
Battery Status
"
:
"
Battery Data Unavailable
"
color
:
colorWhite
font.weight
:
Font
.
DemiBold
font.weight
:
Font
.
DemiBold
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
...
@@ -289,6 +295,7 @@ Rectangle {
...
@@ -289,6 +295,7 @@ Rectangle {
columns
:
2
columns
:
2
QGCLabel
{
QGCLabel
{
text
:
"
Voltage:
"
text
:
"
Voltage:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
batteryVoltage
.
toFixed
(
1
)
+
"
V
"
)
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
batteryVoltage
.
toFixed
(
1
)
+
"
V
"
)
:
"
N/A
"
...
@@ -306,6 +313,7 @@ Rectangle {
...
@@ -306,6 +313,7 @@ Rectangle {
*/
*/
QGCLabel
{
QGCLabel
{
text
:
"
Accumulated Consumption:
"
text
:
"
Accumulated Consumption:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
batteryConsumed
+
"
mA
"
)
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
batteryConsumed
+
"
mA
"
)
:
"
N/A
"
...
@@ -339,6 +347,7 @@ Rectangle {
...
@@ -339,6 +347,7 @@ Rectangle {
QGCLabel
{
QGCLabel
{
id
:
rssiLabel
id
:
rssiLabel
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
>
0
?
"
RC RSSI Status
"
:
"
RC RSSI Data Unavailable
"
)
:
"
N/A
"
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
>
0
?
"
RC RSSI Status
"
:
"
RC RSSI Data Unavailable
"
)
:
"
N/A
"
color
:
colorWhite
font.weight
:
Font
.
DemiBold
font.weight
:
Font
.
DemiBold
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
...
@@ -351,9 +360,11 @@ Rectangle {
...
@@ -351,9 +360,11 @@ Rectangle {
columns
:
2
columns
:
2
QGCLabel
{
QGCLabel
{
text
:
"
RSSI:
"
text
:
"
RSSI:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
+
"
%
"
)
:
0
text
:
activeVehicle
?
(
activeVehicle
.
rcRSSI
+
"
%
"
)
:
0
color
:
colorWhite
}
}
}
}
}
}
...
@@ -383,6 +394,7 @@ Rectangle {
...
@@ -383,6 +394,7 @@ Rectangle {
QGCLabel
{
QGCLabel
{
id
:
telemLabel
id
:
telemLabel
text
:
"
Telemetry RSSI Status
"
text
:
"
Telemetry RSSI Status
"
color
:
colorWhite
font.weight
:
Font
.
DemiBold
font.weight
:
Font
.
DemiBold
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
...
@@ -394,45 +406,59 @@ Rectangle {
...
@@ -394,45 +406,59 @@ Rectangle {
columns
:
2
columns
:
2
QGCLabel
{
QGCLabel
{
text
:
"
Local RSSI:
"
text
:
"
Local RSSI:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryLRSSI
+
"
dBm
"
text
:
_controller
.
telemetryLRSSI
+
"
dBm
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
Remote RSSI:
"
text
:
"
Remote RSSI:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryRRSSI
+
"
dBm
"
text
:
_controller
.
telemetryRRSSI
+
"
dBm
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
RX Errors:
"
text
:
"
RX Errors:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryRXErrors
text
:
_controller
.
telemetryRXErrors
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
Errors Fixed:
"
text
:
"
Errors Fixed:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryFixed
text
:
_controller
.
telemetryFixed
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
TX Buffer:
"
text
:
"
TX Buffer:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryTXBuffer
text
:
_controller
.
telemetryTXBuffer
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
Local Noise:
"
text
:
"
Local Noise:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryLNoise
text
:
_controller
.
telemetryLNoise
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
"
Remote Noise:
"
text
:
"
Remote Noise:
"
color
:
colorWhite
}
}
QGCLabel
{
QGCLabel
{
text
:
_controller
.
telemetryRNoise
text
:
_controller
.
telemetryRNoise
color
:
colorWhite
}
}
}
}
}
}
...
...
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