forked from mavlink/qgroundcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85ad9e0
commit 20df7eb
Showing
13 changed files
with
962 additions
and
2,114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
/// @author Gus Grubba <[email protected]> | ||
|
||
#include "PowerComponent.h" | ||
#include "PX4RCCalibration.h" | ||
#include "QGCQmlWidgetHolder.h" | ||
#include "PX4AutoPilotPlugin.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
/// @author Don Gagne <[email protected]> | ||
|
||
#include "RadioComponent.h" | ||
#include "PX4RCCalibration.h" | ||
#include "QGCQmlWidgetHolder.h" | ||
#include "PX4AutoPilotPlugin.h" | ||
|
||
RadioComponent::RadioComponent(UASInterface* uas, AutoPilotPlugin* autopilot, QObject* parent) : | ||
|
@@ -140,7 +140,11 @@ QStringList RadioComponent::paramFilterList(void) const | |
|
||
QWidget* RadioComponent::setupWidget(void) const | ||
{ | ||
return new PX4RCCalibration; | ||
QGCQmlWidgetHolder* holder = new QGCQmlWidgetHolder(); | ||
Q_CHECK_PTR(holder); | ||
holder->setAutoPilot(_autopilot); | ||
holder->setSource(QUrl::fromUserInput("qrc:/qml/RadioComponent.qml")); | ||
return holder; | ||
} | ||
|
||
QUrl RadioComponent::summaryQmlSource(void) const | ||
|
Oops, something went wrong.