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
1b40a17b
Commit
1b40a17b
authored
Dec 24, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix setupCompleteChanged notification
parent
8d728004
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
PX4Component.cc
src/AutoPilotPlugins/PX4/PX4Component.cc
+1
-1
VehicleComponent.h
src/VehicleSetup/VehicleComponent.h
+3
-1
No files found.
src/AutoPilotPlugins/PX4/PX4Component.cc
View file @
1b40a17b
...
...
@@ -44,7 +44,7 @@ void PX4Component::_parameterUpdated(int compId, QString paramName, QVariant val
while
(
*
prgTriggers
!=
NULL
)
{
if
(
paramName
==
*
prgTriggers
)
{
emit
setupCompleteChanged
();
emit
setupCompleteChanged
(
setupComplete
()
);
return
;
}
prgTriggers
++
;
...
...
src/VehicleSetup/VehicleComponent.h
View file @
1b40a17b
...
...
@@ -50,6 +50,7 @@ class VehicleComponent : public QObject
Q_PROPERTY
(
QString
icon
READ
icon
CONSTANT
)
Q_PROPERTY
(
QWidget
*
setupWidget
READ
setupWidget
STORED
false
)
Q_PROPERTY
(
QUrl
summaryQmlSource
READ
summaryQmlSource
CONSTANT
);
Q_PROPERTY
(
QString
prerequisiteSetup
READ
prerequisiteSetup
)
public:
VehicleComponent
(
UASInterface
*
uas
,
AutoPilotPlugin
*
autopilot
,
QObject
*
parent
=
NULL
);
...
...
@@ -64,11 +65,12 @@ public:
virtual
QWidget
*
setupWidget
(
void
)
const
=
0
;
virtual
QStringList
paramFilterList
(
void
)
const
=
0
;
virtual
QUrl
summaryQmlSource
(
void
)
const
=
0
;
virtual
QString
prerequisiteSetup
(
void
)
const
=
0
;
virtual
void
addSummaryQmlComponent
(
QQmlContext
*
context
,
QQuickItem
*
parent
);
signals:
void
setupCompleteChanged
(
void
);
void
setupCompleteChanged
(
bool
setupComplete
);
protected:
UASInterface
*
_uas
;
...
...
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