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
8176e73e
Commit
8176e73e
authored
Jun 06, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3498 from DonLakeFlyer/ComplexFMSmallScreen
Advanced Flight Mode: Small screen updates
parents
2e816711
bf6b4a2d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
PX4AdvancedFlightModes.qml
src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml
+8
-8
ModeSwitchDisplay.qml
src/QmlControls/ModeSwitchDisplay.qml
+1
-0
No files found.
src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml
View file @
8176e73e
...
@@ -29,19 +29,19 @@ Item {
...
@@ -29,19 +29,19 @@ Item {
//property var qgcView - QGCView control
//property var qgcView - QGCView control
//property var qgcViewPanel - QGCViewPanel control
//property var qgcViewPanel - QGCViewPanel control
readonly
property
int
monitorThresholdCharWidth
:
8
// Character width of Monitor and Threshold labels
readonly
property
bool
_shortText
:
ScreenTools
.
isTinyScreen
// User visible strings
// User visible strings
readonly
property
string
title
:
qsTr
(
"
FLIGHT MODES
"
)
readonly
property
string
title
:
qsTr
(
"
FLIGHT MODES
"
)
property
string
topHelpText
:
ScreenTools
.
isTinyScreen
?
property
string
topHelpText
:
qsTr
(
"
Assign Flight Modes to radio control channels and adjust the thresholds for triggering them.
"
)
+
qsTr
(
"
Assign Flight Modes to radio control channels and adjust the thresholds for triggering them.
"
)
:
(
qsTr
(
"
Assign Flight Modes to radio control channels and adjust the thresholds for triggering them.
"
)
+
qsTr
(
"
You can assign multiple flight modes to a single channel.
"
)
+
qsTr
(
"
You can assign multiple flight modes to a single channel.
"
)
+
qsTr
(
"
Turn your radio control on to test switch settings.
"
)
+
qsTr
(
"
Turn your radio control on to test switch settings.
"
)
+
qsTr
(
"
The following channels:
"
)
+
controller
.
reservedChannels
+
qsTr
(
"
The following channels:
"
)
+
controller
.
reservedChannels
+
qsTr
(
"
are not available for Flight Modes since they are already in use for other functions.
"
)
qsTr
(
"
are not available for Flight Modes since they are already in use for other functions.
"
))
readonly
property
string
fwManualModeName
:
qsTr
(
"
Manual/Main
"
)
readonly
property
string
fwManualModeName
:
qsTr
(
"
Manual/Main
"
)
readonly
property
string
mrManualModeName
:
qsTr
(
"
Stabilized/Main
"
)
readonly
property
string
mrManualModeName
:
qsTr
(
"
Stabilized/Main
"
)
...
...
src/QmlControls/ModeSwitchDisplay.qml
View file @
8176e73e
...
@@ -80,6 +80,7 @@ Rectangle {
...
@@ -80,6 +80,7 @@ Rectangle {
width
:
parent
.
width
-
x
width
:
parent
.
width
-
x
wrapMode
:
Text
.
WordWrap
wrapMode
:
Text
.
WordWrap
text
:
flightModeDescription
text
:
flightModeDescription
visible
:
!
ScreenTools
.
isTinyScreen
}
}
}
}
...
...
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