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
41358199
Commit
41358199
authored
May 13, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
208be59b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
165 deletions
+114
-165
SensorsComponent.qml
src/AutoPilotPlugins/PX4/SensorsComponent.qml
+106
-159
QGCView.qml
src/QmlControls/QGCView.qml
+6
-6
FirmwareUpgrade.qml
src/VehicleSetup/FirmwareUpgrade.qml
+2
-0
No files found.
src/AutoPilotPlugins/PX4/SensorsComponent.qml
View file @
41358199
This diff is collapsed.
Click to expand it.
src/QmlControls/QGCView.qml
View file @
41358199
...
...
@@ -106,7 +106,7 @@ Item {
}
}
function
__
showDialog
(
component
,
title
,
charWidth
,
buttons
)
{
function
showDialog
(
component
,
title
,
charWidth
,
buttons
)
{
__dialogCharWidth
=
charWidth
__dialogTitle
=
title
...
...
@@ -117,7 +117,7 @@ Item {
__dialogOverlay
.
visible
=
true
}
function
__
showMessage
(
title
,
message
,
buttons
)
{
function
showMessage
(
title
,
message
,
buttons
)
{
__dialogCharWidth
=
50
__dialogTitle
=
title
__messageDialogText
=
message
...
...
@@ -129,7 +129,7 @@ Item {
__dialogOverlay
.
visible
=
true
}
function
__
hideDialog
()
{
function
hideDialog
()
{
__dialogComponent
=
null
__viewPanel
.
enabled
=
true
__dialogOverlay
.
visible
=
false
...
...
@@ -156,9 +156,9 @@ Item {
Connections
{
target
:
__viewPanel
.
item
onShowDialog
:
__showDialog
(
component
,
title
,
charWidth
,
buttons
)
onShowMessage
:
__showMessage
(
title
,
message
,
buttons
)
onHideDialog
:
__hideDialog
()
onShowDialog
:
__
rootItem
.
showDialog
(
component
,
title
,
charWidth
,
buttons
)
onShowMessage
:
__
rootItem
.
showMessage
(
title
,
message
,
buttons
)
onHideDialog
:
__
rootItem
.
hideDialog
()
}
Connections
{
...
...
src/VehicleSetup/FirmwareUpgrade.qml
View file @
41358199
...
...
@@ -44,6 +44,8 @@ QGCView {
QGCViewPanel
{
id
:
panel
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
enabled
}
FirmwareUpgradeController
{
id
:
controller
upgradeButton
:
upgradeButton
...
...
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