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
356c0b13
Commit
356c0b13
authored
Jun 16, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work on usability
parent
91423217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
54 deletions
+77
-54
MissionSettingsEditor.qml
src/PlanView/MissionSettingsEditor.qml
+77
-54
No files found.
src/PlanView/MissionSettingsEditor.qml
View file @
356c0b13
...
...
@@ -84,60 +84,6 @@ Rectangle {
anchors.top
:
parent
?
parent
.
top
:
undefined
spacing
:
_margin
SectionHeader
{
id
:
missionDefaultsSectionHeader
text
:
qsTr
(
"
Mission Defaults
"
)
checked
:
true
showSpacer
:
false
}
Column
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
missionDefaultsSectionHeader
.
checked
GridLayout
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
columnSpacing
:
ScreenTools
.
defaultFontPixelWidth
rowSpacing
:
columnSpacing
columns
:
2
QGCLabel
{
text
:
qsTr
(
"
Waypoint alt
"
)
}
FactTextField
{
fact
:
QGroundControl
.
settingsManager
.
appSettings
.
defaultMissionItemAltitude
Layout.fillWidth
:
true
}
QGCCheckBox
{
id
:
flightSpeedCheckBox
text
:
qsTr
(
"
Flight speed
"
)
visible
:
!
_missionVehicle
.
vtol
checked
:
missionItem
.
speedSection
.
specifyFlightSpeed
onClicked
:
missionItem
.
speedSection
.
specifyFlightSpeed
=
checked
}
FactTextField
{
Layout.fillWidth
:
true
fact
:
missionItem
.
speedSection
.
flightSpeed
visible
:
flightSpeedCheckBox
.
visible
enabled
:
flightSpeedCheckBox
.
checked
}
}
// GridLayout
QGCCheckBox
{
text
:
qsTr
(
"
RTL after mission end
"
)
checked
:
missionItem
.
missionEndRTL
onClicked
:
missionItem
.
missionEndRTL
=
checked
}
}
CameraSection
{
checked
:
missionItem
.
cameraSection
.
settingsSpecified
}
SectionHeader
{
id
:
vehicleInfoSectionHeader
text
:
qsTr
(
"
Vehicle Info
"
)
...
...
@@ -245,6 +191,83 @@ Rectangle {
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
SectionHeader
{
id
:
missionDefaultsSectionHeader
text
:
qsTr
(
"
Mission Defaults
"
)
checked
:
true
}
Column
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
missionDefaultsSectionHeader
.
checked
GridLayout
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
columnSpacing
:
ScreenTools
.
defaultFontPixelWidth
rowSpacing
:
columnSpacing
columns
:
2
QGCLabel
{
text
:
qsTr
(
"
Waypoint alt
"
)
}
FactTextField
{
fact
:
QGroundControl
.
settingsManager
.
appSettings
.
defaultMissionItemAltitude
Layout.fillWidth
:
true
}
QGCCheckBox
{
id
:
flightSpeedCheckBox
text
:
qsTr
(
"
Flight speed
"
)
visible
:
!
_missionVehicle
.
vtol
checked
:
missionItem
.
speedSection
.
specifyFlightSpeed
onClicked
:
missionItem
.
speedSection
.
specifyFlightSpeed
=
checked
}
FactTextField
{
Layout.fillWidth
:
true
fact
:
missionItem
.
speedSection
.
flightSpeed
visible
:
flightSpeedCheckBox
.
visible
enabled
:
flightSpeedCheckBox
.
checked
}
}
// GridLayout
}
SectionHeader
{
id
:
missionEndHeader
text
:
qsTr
(
"
Mission End
"
)
checked
:
true
showSpacer
:
false
}
Column
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
spacing
:
_margin
visible
:
missionEndHeader
.
checked
FactCheckBox
{
text
:
qsTr
(
"
Return To Launch
"
)
fact
:
missionItem
.
missionEndRTL
}
}
CameraSection
{
id
:
cameraSection
checked
:
missionItem
.
cameraSection
.
settingsSpecified
}
QGCLabel
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Above camera commands will take effect immediately upon mission start.
"
)
wrapMode
:
Text
.
WordWrap
horizontalAlignment
:
Text
.
AlignHCenter
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
cameraSection
.
checked
}
}
// Column
}
// Deferred loader
}
// Rectangle
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