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
09d70c0b
Commit
09d70c0b
authored
Jun 16, 2017
by
DonLakeFlyer
Browse files
More usability work
parent
2a7330d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionSettingsItem.h
View file @
09d70c0b
...
...
@@ -63,8 +63,8 @@ public:
bool
isStandaloneCoordinate
(
void
)
const
final
{
return
false
;
}
bool
specifiesCoordinate
(
void
)
const
final
;
bool
specifiesAltitudeOnly
(
void
)
const
final
{
return
false
;
}
QString
commandDescription
(
void
)
const
final
{
return
"Mission S
ettings
"
;
}
QString
commandName
(
void
)
const
final
{
return
"Mission S
ettings
"
;
}
QString
commandDescription
(
void
)
const
final
{
return
"Mission S
tart
"
;
}
QString
commandName
(
void
)
const
final
{
return
"Mission S
tart
"
;
}
QString
abbreviation
(
void
)
const
final
{
return
"H"
;
}
QGeoCoordinate
coordinate
(
void
)
const
final
{
return
_plannedHomePositionCoordinate
;
}
QGeoCoordinate
exitCoordinate
(
void
)
const
final
{
return
_plannedHomePositionCoordinate
;
}
...
...
src/PlanView/MissionSettingsEditor.qml
View file @
09d70c0b
...
...
@@ -235,11 +235,25 @@ Rectangle {
}
// GridLayout
}
CameraSection
{
id
:
cameraSection
checked
:
true
}
QGCLabel
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Above camera commands will take affect immediately upon mission start.
"
)
wrapMode
:
Text
.
WordWrap
horizontalAlignment
:
Text
.
AlignHCenter
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
cameraSection
.
checked
}
SectionHeader
{
id
:
missionEndHeader
text
:
qsTr
(
"
Mission End
"
)
checked
:
true
showSpacer
:
false
}
Column
{
...
...
@@ -254,20 +268,6 @@ Rectangle {
}
}
CameraSection
{
id
:
cameraSection
checked
:
missionItem
.
cameraSection
.
settingsSpecified
}
QGCLabel
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Above camera commands will take affect immediately upon mission start.
"
)
wrapMode
:
Text
.
WordWrap
horizontalAlignment
:
Text
.
AlignHCenter
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
cameraSection
.
checked
}
}
// Column
}
// Deferred loader
}
// Rectangle
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