|
|
@ -70,10 +70,10 @@ This file is part of the QGROUNDCONTROL project |
|
|
|
#include <QGCConfigView.h> |
|
|
|
#include <QGCConfigView.h> |
|
|
|
#include "SerialSettingsDialog.h" |
|
|
|
#include "SerialSettingsDialog.h" |
|
|
|
#include "terminalconsole.h" |
|
|
|
#include "terminalconsole.h" |
|
|
|
#include "menuactionhelper.h" |
|
|
|
#include "menuactionhelper.h" |
|
|
|
|
|
|
|
|
|
|
|
// Add support for the MAVLink generator UI if it's been requested.
|
|
|
|
// Add support for the MAVLink generator UI if it's been requested.
|
|
|
|
#ifdef ENABLE_MAVGEN |
|
|
|
#ifdef QGC_MAVGEN_ENABLED |
|
|
|
#include "XMLCommProtocolWidget.h" |
|
|
|
#include "XMLCommProtocolWidget.h" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -550,13 +550,13 @@ void MainWindow::buildCommonWidgets() |
|
|
|
engineeringView->setObjectName("VIEW_ENGINEER"); |
|
|
|
engineeringView->setObjectName("VIEW_ENGINEER"); |
|
|
|
engineeringView->setCentralWidget(new QGCDataPlot2D(this)); |
|
|
|
engineeringView->setCentralWidget(new QGCDataPlot2D(this)); |
|
|
|
addToCentralStackedWidget(engineeringView, VIEW_ENGINEER, tr("Logfile Plot")); |
|
|
|
addToCentralStackedWidget(engineeringView, VIEW_ENGINEER, tr("Logfile Plot")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Add the MAVLink generator UI if it's been requested.
|
|
|
|
// Add the MAVLink generator UI if it's been requested.
|
|
|
|
#ifdef ENABLE_MAVGEN |
|
|
|
#ifdef QGC_MAVGEN_ENABLED |
|
|
|
if (!mavlinkView) |
|
|
|
if (!mavlinkView) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mavlinkView = new SubMainWindow(this); |
|
|
|
mavlinkView = new SubMainWindow(this); |
|
|
|
mavlinkView->setObjectName("VIEW_MAVLINK"); |
|
|
|
mavlinkView->setObjectName("VIEW_MAVLINK"); |
|
|
|
mavlinkView->setCentralWidget(new XMLCommProtocolWidget(this)); |
|
|
|
mavlinkView->setCentralWidget(new XMLCommProtocolWidget(this)); |
|
|
|
addToCentralStackedWidget(mavlinkView, VIEW_MAVLINK, tr("Mavlink Generator")); |
|
|
|
addToCentralStackedWidget(mavlinkView, VIEW_MAVLINK, tr("Mavlink Generator")); |
|
|
|