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
bdaa0e3d
Commit
bdaa0e3d
authored
Aug 26, 2019
by
Gus Grubba
Browse files
Pairing in toolbar when not connected (to the right of toolbar)
parent
5bd09707
Changes
1
Hide whitespace changes
Inline
Side-by-side
custom-example/res/MainToolbar/CustomMainToolBarIndicators.qml
View file @
bdaa0e3d
...
...
@@ -34,7 +34,6 @@ Item {
anchors.left
:
parent
.
left
QGCColoredImage
{
id
:
menuEdge
visible
:
!
QGroundControl
.
supportsPairing
||
!
QGroundControl
.
settingsManager
.
appSettings
.
usePairing
.
rawValue
anchors.verticalCenter
:
parent
.
verticalCenter
height
:
ScreenTools
.
defaultFontPixelHeight
width
:
height
...
...
@@ -44,14 +43,23 @@ Item {
color
:
qgcPal
.
buttonText
}
QGCLabel
{
visible
:
menuEdge
.
visible
anchors.verticalCenter
:
parent
.
verticalCenter
text
:
qsTr
(
"
Waiting for a vehicle
"
)
font.pointSize
:
ScreenTools
.
mediumFontPointSize
font.family
:
ScreenTools
.
demiboldFontFamily
}
}
//-------------------------------------------------------------------------
//-- Pairing Indicator (not connected)
Row
{
id
:
pairingRow
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.right
:
parent
.
right
anchors.rightMargin
:
ScreenTools
.
defaultFontPixelWidth
*
2
spacing
:
ScreenTools
.
defaultFontPixelWidth
*
2
visible
:
!
indicatorRow
.
visible
Loader
{
visible
:
!
menuEdge
.
visible
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.margins
:
_indicatorMargins
...
...
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