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
99d9796c
Commit
99d9796c
authored
Dec 10, 2019
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wimaMenu edited
parent
a1d6f37c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
205 additions
and
201 deletions
+205
-201
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+2
-2
FlightDisplayWimaMenu.qml
src/FlightDisplay/FlightDisplayWimaMenu.qml
+203
-199
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
99d9796c
...
...
@@ -551,8 +551,8 @@ QGCView {
z
:
_panel
.
z
+
4
anchors.left
:
parent
.
left
anchors.bottom
:
parent
.
bottom
anchors.leftMargin
:
ScreenTools
.
defaultFontPixel
Height
*
0.25
anchors.bottomMargin
:
ScreenTools
.
defaultFontPixel
Height
*
0.25
anchors.leftMargin
:
ScreenTools
.
defaultFontPixel
Width
anchors.bottomMargin
:
ScreenTools
.
defaultFontPixel
Width
wimaController
:
wimaController
...
...
src/FlightDisplay/FlightDisplayWimaMenu.qml
View file @
99d9796c
import
QtQuick
2.3
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
.
Styles
1.4
import
QtQuick
.
Dialogs
1.2
import
QtLocation
5.3
import
QtPositioning
5.3
import
QtQuick
.
Controls
2.4
import
QtQuick
.
Layouts
1.2
import
QGroundControl
1.0
...
...
@@ -19,7 +19,7 @@ import QGroundControl.FactControls 1.0
Item
{
id
:
_root
height
:
7
00
height
:
6
00
width
:
300
property
var
wimaController
// must be provided by the user
...
...
@@ -50,8 +50,12 @@ Item {
return
Qt
.
formatTime
(
t
,
'
hh:mm:ss
'
)
}
QGCPalette
{
id
:
qgcPal
}
// box containing all items
Rectangle
{
Rectangle
{
// maybe replace with column and remove anchors => dynamic height:
id
:
mainFrame
anchors.left
:
parent
.
left
anchors.bottom
:
parent
.
bottom
height
:
enableWima
.
enableWimaBoolean
?
parent
.
height
:
enableWima
.
height
...
...
@@ -83,27 +87,31 @@ Item {
}
}
Column
{
id
:
mainColumn
Rectangle
{
id
:
controllerFrame
anchors.top
:
enableWima
.
bottom
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
anchors.margins
:
ScreenTools
.
defaultFontPixelHeight
*
0.4
spacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.25
anchors.margins
:
ScreenTools
.
defaultFontPixelHeight
*
0.25
color
:
qgcPal
.
window
clip
:
true
ScrollView
{
id
:
scrollView
anchors.fill
:
parent
SectionHeader
{
Column
{
/*SectionHeader {
id: settingsHeader
text: qsTr("Settings")
}
}*/
GridLayout
{
columns
:
2
rowSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
columnSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.topMargin
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
visible
:
settingsHeader
.
checked
// Settings
...
...
@@ -137,17 +145,14 @@ Item {
}
SectionHeader
{
/*
SectionHeader{
id: missionHeader
text: qsTr("Mission")
}
}*/
GridLayout
{
columns
:
2
rowSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
columnSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.topMargin
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
visible
:
missionHeader
.
checked
QGCLabel
{
text
:
qsTr
(
"
Speed
"
)
}
...
...
@@ -186,7 +191,7 @@ Item {
}
}
/*
}
SectionHeader{
id: vehicleHeader
...
...
@@ -196,10 +201,7 @@ Item {
columns: 2
rowSpacing: ScreenTools.defaultFontPixelHeight * 0.5
columnSpacing: ScreenTools.defaultFontPixelHeight * 0.5
anchors.topMargin
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
visible
:
vehicleHeader
.
checked
visible: vehicleHeader.checked*/
QGCButton
{
id
:
buttonUpload
...
...
@@ -246,10 +248,10 @@ Item {
}
SectionHeader
{
/*
SectionHeader {
id: statsHeader
text: qsTr("Statistics")
}
}*/
GridLayout
{
columns
:
2
rowSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
...
...
@@ -278,6 +280,8 @@ Item {
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
}
}
}
// mainColumn
}
// item
}
// 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