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
95d2def8
Commit
95d2def8
authored
Jul 12, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Survey no longer hidden behind setting
parent
a45f9080
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
34 deletions
+4
-34
MissionEditor.qml
src/MissionEditor/MissionEditor.qml
+0
-1
SurveyItemEditor.qml
src/MissionEditor/SurveyItemEditor.qml
+3
-2
MissionItemEditor.qml
src/QmlControls/MissionItemEditor.qml
+1
-1
QGroundControlQmlGlobal.cc
src/QmlControls/QGroundControlQmlGlobal.cc
+0
-15
QGroundControlQmlGlobal.h
src/QmlControls/QGroundControlQmlGlobal.h
+0
-7
GeneralSettings.qml
src/ui/preferences/GeneralSettings.qml
+0
-8
No files found.
src/MissionEditor/MissionEditor.qml
View file @
95d2def8
...
@@ -542,7 +542,6 @@ QGCView {
...
@@ -542,7 +542,6 @@ QGCView {
RoundButton
{
RoundButton
{
id
:
addShapeButton
id
:
addShapeButton
buttonImage
:
"
/qmlimages/MapDrawShape.svg
"
buttonImage
:
"
/qmlimages/MapDrawShape.svg
"
visible
:
QGroundControl
.
experimentalSurvey
lightBorders
:
_lightWidgetBorders
lightBorders
:
_lightWidgetBorders
onClicked
:
{
onClicked
:
{
...
...
src/MissionEditor/SurveyItemEditor.qml
View file @
95d2def8
...
@@ -43,8 +43,9 @@ Rectangle {
...
@@ -43,8 +43,9 @@ Rectangle {
}
}
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Fly a grid pattern over a defined area.
"
)
wrapMode
:
Text
.
WordWrap
wrapMode
:
Text
.
WordWrap
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
qsTr
(
"
Work in progress, be careful!
"
)
}
}
Repeater
{
Repeater
{
...
...
src/QmlControls/MissionItemEditor.qml
View file @
95d2def8
...
@@ -143,7 +143,7 @@ Rectangle {
...
@@ -143,7 +143,7 @@ Rectangle {
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
text
:
missionItem
.
sequenceNumber
==
0
?
text
:
missionItem
.
sequenceNumber
==
0
?
qsTr
(
"
Planned Home Position
"
)
:
qsTr
(
"
Planned Home Position
"
)
:
(
missionItem
.
isSimpleItem
?
missionItem
.
commandName
:
qsTr
(
"
Survey
"
))
(
missionItem
.
isSimpleItem
?
missionItem
.
commandName
:
qsTr
(
"
Survey
(WIP)
"
))
color
:
_outerTextColor
color
:
_outerTextColor
}
}
...
...
src/QmlControls/QGroundControlQmlGlobal.cc
View file @
95d2def8
...
@@ -207,21 +207,6 @@ void QGroundControlQmlGlobal::setBaseFontPointSize(qreal size)
...
@@ -207,21 +207,6 @@ void QGroundControlQmlGlobal::setBaseFontPointSize(qreal size)
}
}
}
}
bool
QGroundControlQmlGlobal
::
experimentalSurvey
(
void
)
const
{
QSettings
settings
;
return
settings
.
value
(
"ExperimentalSurvey"
,
false
).
toBool
();
}
void
QGroundControlQmlGlobal
::
setExperimentalSurvey
(
bool
experimentalSurvey
)
{
QSettings
settings
;
settings
.
setValue
(
"ExperimentalSurvey"
,
experimentalSurvey
);
emit
experimentalSurveyChanged
(
experimentalSurvey
);
}
Fact
*
QGroundControlQmlGlobal
::
offlineEditingFirmwareType
(
void
)
Fact
*
QGroundControlQmlGlobal
::
offlineEditingFirmwareType
(
void
)
{
{
if
(
!
_offlineEditingFirmwareTypeFact
)
{
if
(
!
_offlineEditingFirmwareTypeFact
)
{
...
...
src/QmlControls/QGroundControlQmlGlobal.h
View file @
95d2def8
...
@@ -93,9 +93,6 @@ public:
...
@@ -93,9 +93,6 @@ public:
Q_PROPERTY
(
QString
missionFileExtension
READ
missionFileExtension
CONSTANT
)
Q_PROPERTY
(
QString
missionFileExtension
READ
missionFileExtension
CONSTANT
)
Q_PROPERTY
(
QString
telemetryFileExtension
READ
telemetryFileExtension
CONSTANT
)
Q_PROPERTY
(
QString
telemetryFileExtension
READ
telemetryFileExtension
CONSTANT
)
/// @ return: true: experimental survey ip code is turned on
Q_PROPERTY
(
bool
experimentalSurvey
READ
experimentalSurvey
WRITE
setExperimentalSurvey
NOTIFY
experimentalSurveyChanged
)
/// Returns the string for distance units which has configued by user
/// Returns the string for distance units which has configued by user
Q_PROPERTY
(
QString
appSettingsDistanceUnitsString
READ
appSettingsDistanceUnitsString
CONSTANT
)
Q_PROPERTY
(
QString
appSettingsDistanceUnitsString
READ
appSettingsDistanceUnitsString
CONSTANT
)
...
@@ -178,9 +175,6 @@ public:
...
@@ -178,9 +175,6 @@ public:
void
setIsVersionCheckEnabled
(
bool
enable
);
void
setIsVersionCheckEnabled
(
bool
enable
);
void
setMavlinkSystemID
(
int
id
);
void
setMavlinkSystemID
(
int
id
);
bool
experimentalSurvey
(
void
)
const
;
void
setExperimentalSurvey
(
bool
experimentalSurvey
);
QString
parameterFileExtension
(
void
)
const
{
return
QGCApplication
::
parameterFileExtension
;
}
QString
parameterFileExtension
(
void
)
const
{
return
QGCApplication
::
parameterFileExtension
;
}
QString
missionFileExtension
(
void
)
const
{
return
QGCApplication
::
missionFileExtension
;
}
QString
missionFileExtension
(
void
)
const
{
return
QGCApplication
::
missionFileExtension
;
}
QString
telemetryFileExtension
(
void
)
const
{
return
QGCApplication
::
telemetryFileExtension
;
}
QString
telemetryFileExtension
(
void
)
const
{
return
QGCApplication
::
telemetryFileExtension
;
}
...
@@ -200,7 +194,6 @@ signals:
...
@@ -200,7 +194,6 @@ signals:
void
mavlinkSystemIDChanged
(
int
id
);
void
mavlinkSystemIDChanged
(
int
id
);
void
flightMapPositionChanged
(
QGeoCoordinate
flightMapPosition
);
void
flightMapPositionChanged
(
QGeoCoordinate
flightMapPosition
);
void
flightMapZoomChanged
(
double
flightMapZoom
);
void
flightMapZoomChanged
(
double
flightMapZoom
);
void
experimentalSurveyChanged
(
bool
experimentalSurvey
);
private:
private:
FlightMapSettings
*
_flightMapSettings
;
FlightMapSettings
*
_flightMapSettings
;
...
...
src/ui/preferences/GeneralSettings.qml
View file @
95d2def8
...
@@ -398,14 +398,6 @@ QGCView {
...
@@ -398,14 +398,6 @@ QGCView {
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
width
:
parent
.
width
}
}
//-----------------------------------------------------------------
//-- Experimental Survey settings
QGCCheckBox
{
text
:
qsTr
(
"
Experimental Survey [WIP - no bugs reports please]
"
)
checked
:
QGroundControl
.
experimentalSurvey
onClicked
:
QGroundControl
.
experimentalSurvey
=
checked
}
}
}
}
}
}
// QGCViewPanel
}
// QGCViewPanel
...
...
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