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
d58b6cc4
Commit
d58b6cc4
authored
May 21, 2019
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WimaItemEditor FactTextField problem
parent
b6bee338
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
+20
-18
WimaGOperationArea.SettingsGroup.json
src/Wima/WimaGOperationArea.SettingsGroup.json
+3
-3
WimaGOperationArea.cc
src/Wima/WimaGOperationArea.cc
+1
-1
WimaGOperationAreaEditor.qml
src/WimaView/WimaGOperationAreaEditor.qml
+16
-14
No files found.
src/Wima/WimaGOperationArea.SettingsGroup.json
View file @
d58b6cc4
...
...
@@ -6,14 +6,14 @@
"units"
:
"m"
,
"min"
:
1
,
"decimalPlaces"
:
2
,
"defaultValue"
:
5
0
"defaultValue"
:
1
0
},
{
"name"
:
"NumberOfLayers"
,
"shortDescription"
:
"The number of layers."
,
"type"
:
"uint32"
,
"min"
:
1
,
"defaultValue"
:
1
0
"defaultValue"
:
1
},
{
"name"
:
"LayerDistance"
,
...
...
@@ -22,7 +22,7 @@
"units"
:
"m"
,
"min"
:
0
,
"decimalPlaces"
:
2
,
"defaultValue"
:
10
"defaultValue"
:
2
},
{
"name"
:
"BorderPolygonOffset"
,
...
...
src/Wima/WimaGOperationArea.cc
View file @
d58b6cc4
#include "WimaGOperationArea.h"
const
char
*
WimaGOperationArea
::
settingsGroup
=
"Operati
ng
Area"
;
const
char
*
WimaGOperationArea
::
settingsGroup
=
"Operati
on
Area"
;
const
char
*
WimaGOperationArea
::
bottomLayerAltitudeName
=
"BottomLayerAltitude"
;
const
char
*
WimaGOperationArea
::
numberOfLayersName
=
"NumberOfLayers"
;
const
char
*
WimaGOperationArea
::
layerDistanceName
=
"LayerDistance"
;
...
...
src/WimaView/WimaGOperationAreaEditor.qml
View file @
d58b6cc4
...
...
@@ -67,7 +67,7 @@ Rectangle {
spacing
:
_margin
SectionHeader
{
id
:
s
can
Header
id
:
s
ettings
Header
text
:
qsTr
(
"
Settings
"
)
}
...
...
@@ -75,7 +75,7 @@ Rectangle {
anchors.left
:
parent
.
left
anchors.right
:
parent
.
rightsetI
spacing
:
_margin
visible
:
s
can
Header
.
checked
visible
:
s
ettings
Header
.
checked
GridLayout
{
anchors.left
:
parent
.
left
...
...
@@ -84,30 +84,32 @@ Rectangle {
rowSpacing
:
_margin
columns
:
2
QGCLabel
{
text
:
qsTr
(
"
Bottom Layer Alt.
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Altitude
"
)
}
FactTextField
{
fact
:
areaItem
.
bottomLayerAltitude
Layout.
fillWidth
:
true
fact
:
areaItem
.
bottomLayerAltitude
Layout.
alignment
:
Qt
.
AlignLeft
|
Qt
.
AlignVCenter
}
QGCLabel
{
text
:
qsTr
(
"
Number of Layers
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Layers
"
)
}
FactTextField
{
fact
:
areaItem
.
numberOfLayers
Layout.
fillWidth
:
true
Layout.
alignment
:
Qt
.
AlignLeft
|
Qt
.
AlignVCenter
}
QGCLabel
{
text
:
qsTr
(
"
Layer Distance
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Layer Dist.
"
)
}
FactTextField
{
fact
:
areaItem
.
layerDistance
Layout.
fillWidth
:
true
Layout.
alignment
:
Qt
.
AlignLeft
|
Qt
.
AlignVCenter
}
QGCLabel
{
text
:
qsTr
(
"
Border Offset
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Offset
"
)
}
FactTextField
{
fact
:
areaItem
.
borderPolygonOffset
Layout.
fillWidth
:
true
Layout.
alignment
:
Qt
.
AlignLeft
|
Qt
.
AlignVCenter
}
...
...
@@ -117,7 +119,7 @@ Rectangle {
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
1
}
}
// Column - S
can
}
// Column - S
ettings
SectionHeader
{
id
:
polylineHeader
text
:
qsTr
(
"
Gateway Poly Line
"
)
...
...
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