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
3cb4f124
Unverified
Commit
3cb4f124
authored
Feb 25, 2020
by
Don Gagne
Committed by
GitHub
Feb 25, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8410 from DonLakeFlyer/FlyPlanTitles
Put back ToolStrip titles which were mysteriously removed
parents
663a0867
2ca955fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+1
-0
PlanView.qml
src/PlanView/PlanView.qml
+1
-0
ToolStrip.qml
src/QmlControls/ToolStrip.qml
+10
-0
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
3cb4f124
...
...
@@ -571,6 +571,7 @@ Item {
anchors.top
:
parent
.
top
z
:
_mapAndVideo
.
z
+
4
maxHeight
:
parent
.
height
-
toolStrip
.
y
+
(
_flightVideo
.
visible
?
(
_flightVideo
.
y
-
parent
.
height
)
:
0
)
title
:
qsTr
(
"
Fly
"
)
property
bool
_anyActionAvailable
:
_guidedController
.
showStartMission
||
_guidedController
.
showResumeMission
||
_guidedController
.
showChangeAlt
||
_guidedController
.
showLandAbort
property
var
_actionModel
:
[
...
...
src/PlanView/PlanView.qml
View file @
3cb4f124
...
...
@@ -570,6 +570,7 @@ Item {
anchors.top
:
parent
.
top
z
:
QGroundControl
.
zOrderWidgets
maxHeight
:
parent
.
height
-
toolStrip
.
y
title
:
qsTr
(
"
Plan
"
)
//readonly property int flyButtonIndex: 0
readonly
property
int
fileButtonIndex
:
0
...
...
src/QmlControls/ToolStrip.qml
View file @
3cb4f124
...
...
@@ -24,6 +24,7 @@ Rectangle {
property
alias
model
:
repeater
.
model
property
real
maxHeight
///< Maximum height for control, determines whether text is hidden to make control shorter
property
alias
title
:
titleLabel
.
text
property
AbstractButton
lastClickedButton
:
null
...
...
@@ -71,6 +72,15 @@ Rectangle {
anchors.right
:
parent
.
right
spacing
:
ScreenTools
.
defaultFontPixelWidth
*
0.25
QGCLabel
{
id
:
titleLabel
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
horizontalAlignment
:
Text
.
AlignHCenter
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
title
!=
""
}
Repeater
{
id
:
repeater
...
...
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