mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
remove global widgets dependency from plugins.pri
cleanup related pro files and includes
This commit is contained in:
parent
f4b3b89953
commit
9d2d90e44d
@ -193,7 +193,6 @@ macx {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$$GCS_SOURCE_TREE/src/libs
|
$$GCS_SOURCE_TREE/src/libs
|
||||||
|
|
||||||
|
@ -27,19 +27,18 @@
|
|||||||
#ifndef MAPGRAPHICITEM_H
|
#ifndef MAPGRAPHICITEM_H
|
||||||
#define MAPGRAPHICITEM_H
|
#define MAPGRAPHICITEM_H
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
|
||||||
#include "../internals/core.h"
|
#include "../internals/core.h"
|
||||||
// #include "../internals/point.h"
|
|
||||||
#include "../core/diagnostics.h"
|
#include "../core/diagnostics.h"
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
|
#include "waypointitem.h"
|
||||||
|
|
||||||
|
#include <QGraphicsItem>
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QTransform>
|
#include <QTransform>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QBrush>
|
#include <QBrush>
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include "waypointitem.h"
|
|
||||||
// #include "uavitem.h"
|
|
||||||
|
|
||||||
namespace mapcontrol {
|
namespace mapcontrol {
|
||||||
class WayPointItem;
|
class WayPointItem;
|
||||||
|
@ -7,8 +7,6 @@ LIBS += -L$$DESTDIR
|
|||||||
INCLUDEPATH += $$GCS_SOURCE_TREE/src/plugins
|
INCLUDEPATH += $$GCS_SOURCE_TREE/src/plugins
|
||||||
DEPENDPATH += $$GCS_SOURCE_TREE/src/plugins
|
DEPENDPATH += $$GCS_SOURCE_TREE/src/plugins
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
|
|
||||||
# copy the plugin spec
|
# copy the plugin spec
|
||||||
isEmpty(TARGET) {
|
isEmpty(TARGET) {
|
||||||
error("qtcreatorplugin.pri: You must provide a TARGET")
|
error("qtcreatorplugin.pri: You must provide a TARGET")
|
||||||
@ -26,7 +24,7 @@ QMAKE_EXTRA_COMPILERS += copy2build
|
|||||||
TARGET = $$qtLibraryName($$TARGET)
|
TARGET = $$qtLibraryName($$TARGET)
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/$${PROVIDER}/
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/$${PROVIDER}/
|
||||||
} else:linux-* {
|
} else:linux-* {
|
||||||
QMAKE_RPATHDIR = $$shell_quote(\$$ORIGIN)
|
QMAKE_RPATHDIR = $$shell_quote(\$$ORIGIN)
|
||||||
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH, $$DESTDIR))
|
QMAKE_RPATHDIR += $$shell_quote(\$$ORIGIN/$$relative_path($$GCS_LIBRARY_PATH, $$DESTDIR))
|
||||||
@ -34,7 +32,6 @@ macx {
|
|||||||
include(rpath.pri)
|
include(rpath.pri)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
contains(QT_CONFIG, reduce_exports):CONFIG += hGCS_symbols
|
contains(QT_CONFIG, reduce_exports):CONFIG += hGCS_symbols
|
||||||
|
|
||||||
CONFIG += plugin plugin_with_soname
|
CONFIG += plugin plugin_with_soname
|
||||||
|
@ -1,26 +1,35 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = AntennaTrack
|
TARGET = AntennaTrack
|
||||||
|
|
||||||
QT += serialport
|
QT += serialport
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(antennatrack_dependencies.pri)
|
include(antennatrack_dependencies.pri)
|
||||||
include(../../libs/qwt/qwt.pri)
|
include(../../libs/qwt/qwt.pri)
|
||||||
HEADERS += antennatrackplugin.h
|
|
||||||
HEADERS += gpsparser.h
|
HEADERS += \
|
||||||
HEADERS += telemetryparser.h
|
antennatrackplugin.h \
|
||||||
HEADERS += antennatrackgadget.h
|
gpsparser.h \
|
||||||
HEADERS += antennatrackwidget.h
|
telemetryparser.h \
|
||||||
HEADERS += antennatrackgadgetfactory.h
|
antennatrackgadget.h \
|
||||||
HEADERS += antennatrackgadgetconfiguration.h
|
antennatrackwidget.h \
|
||||||
HEADERS += antennatrackgadgetoptionspage.h
|
antennatrackgadgetfactory.h \
|
||||||
SOURCES += antennatrackplugin.cpp
|
antennatrackgadgetconfiguration.h \
|
||||||
SOURCES += gpsparser.cpp
|
antennatrackgadgetoptionspage.h
|
||||||
SOURCES += telemetryparser.cpp
|
|
||||||
SOURCES += antennatrackgadget.cpp
|
SOURCES += \
|
||||||
SOURCES += antennatrackgadgetfactory.cpp
|
antennatrackplugin.cpp \
|
||||||
SOURCES += antennatrackwidget.cpp
|
gpsparser.cpp \
|
||||||
SOURCES += antennatrackgadgetconfiguration.cpp
|
telemetryparser.cpp \
|
||||||
SOURCES += antennatrackgadgetoptionspage.cpp
|
antennatrackgadget.cpp \
|
||||||
|
antennatrackgadgetfactory.cpp \
|
||||||
|
antennatrackwidget.cpp \
|
||||||
|
antennatrackgadgetconfiguration.cpp \
|
||||||
|
antennatrackgadgetoptionspage.cpp
|
||||||
|
|
||||||
OTHER_FILES += AntennaTrack.pluginspec
|
OTHER_FILES += AntennaTrack.pluginspec
|
||||||
FORMS += antennatrackgadgetoptionspage.ui
|
|
||||||
FORMS += antennatrackwidget.ui
|
FORMS += \
|
||||||
|
antennatrackgadgetoptionspage.ui \
|
||||||
|
antennatrackwidget.ui
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configccpmwidget.h"
|
#include "configccpmwidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe_ccpm.h"
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "actuatorcommand.h"
|
#include "actuatorcommand.h"
|
||||||
@ -38,6 +41,9 @@
|
|||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QBrush>
|
#include <QBrush>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QSpinBox>
|
||||||
|
#include <QtSvg/QGraphicsSvgItem>
|
||||||
|
#include <QGraphicsEllipseItem>
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -29,22 +29,23 @@
|
|||||||
#define CONFIGccpmWIDGET_H
|
#define CONFIGccpmWIDGET_H
|
||||||
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "ui_airframe_ccpm.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include <QtSvg/QSvgRenderer>
|
class Ui_CcpmConfigWidget;
|
||||||
#include <QtSvg/QGraphicsSvgItem>
|
|
||||||
#include <QGraphicsEllipseItem>
|
class QWidget;
|
||||||
#include <QWidget>
|
class QSpinBox;
|
||||||
#include <QList>
|
class QGraphicsSvgItem;
|
||||||
|
class QGraphicsEllipseItem;
|
||||||
|
class QGraphicsLineItem;
|
||||||
|
class QGraphicsTextItem;
|
||||||
|
|
||||||
#define CCPM_MAX_SWASH_SERVOS 4
|
#define CCPM_MAX_SWASH_SERVOS 4
|
||||||
|
|
||||||
class Ui_Widget;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int ServoChannels[CCPM_MAX_SWASH_SERVOS];
|
int ServoChannels[CCPM_MAX_SWASH_SERVOS];
|
||||||
int Used[CCPM_MAX_SWASH_SERVOS];
|
int Used[CCPM_MAX_SWASH_SERVOS];
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configcustomwidget.h"
|
#include "configcustomwidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe_custom.h"
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#define CONFIGCUSTOMWIDGET_H
|
#define CONFIGCUSTOMWIDGET_H
|
||||||
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "ui_airframe_custom.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
@ -38,7 +38,7 @@
|
|||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QItemDelegate>
|
#include <QItemDelegate>
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_CustomConfigWidget;
|
||||||
|
|
||||||
class ConfigCustomWidget : public VehicleConfig {
|
class ConfigCustomWidget : public VehicleConfig {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configfixedwingwidget.h"
|
#include "configfixedwingwidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe_fixedwing.h"
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
|
@ -28,17 +28,18 @@
|
|||||||
#define CONFIGFIXEDWINGWIDGET_H
|
#define CONFIGFIXEDWINGWIDGET_H
|
||||||
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "ui_airframe_fixedwing.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QItemDelegate>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_FixedWingConfigWidget;
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
class QGraphicsSvgItem;
|
||||||
|
|
||||||
class ConfigFixedWingWidget : public VehicleConfig {
|
class ConfigFixedWingWidget : public VehicleConfig {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configgroundvehiclewidget.h"
|
#include "configgroundvehiclewidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe_ground.h"
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
|
@ -28,17 +28,16 @@
|
|||||||
#define CONFIGGROUNDVEHICLEWIDGET_H
|
#define CONFIGGROUNDVEHICLEWIDGET_H
|
||||||
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "ui_airframe_ground.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include <QWidget>
|
class Ui_GroundConfigWidget;
|
||||||
#include <QList>
|
|
||||||
#include <QItemDelegate>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class QWidget;
|
||||||
|
class QGraphicsSvgItem;
|
||||||
|
|
||||||
class ConfigGroundVehicleWidget : public VehicleConfig {
|
class ConfigGroundVehicleWidget : public VehicleConfig {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configmultirotorwidget.h"
|
#include "configmultirotorwidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe_multirotor.h"
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
|
@ -28,17 +28,18 @@
|
|||||||
#define CONFIGMULTIROTORWIDGET_H
|
#define CONFIGMULTIROTORWIDGET_H
|
||||||
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "ui_airframe_multirotor.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include <QtCore/QList>
|
#include <QList>
|
||||||
#include <QWidget>
|
|
||||||
#include <QItemDelegate>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_MultiRotorConfigWidget;
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
class QGraphicsSvgItem;
|
||||||
|
|
||||||
class ConfigMultiRotorWidget : public VehicleConfig {
|
class ConfigMultiRotorWidget : public VehicleConfig {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -25,13 +25,18 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include "systemsettings.h"
|
|
||||||
#include <QtCore/qmath.h>
|
|
||||||
|
|
||||||
|
#include "systemsettings.h"
|
||||||
|
|
||||||
|
#include <QtCore/qmath.h>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QComboBox>
|
||||||
|
#include <QPushButton>
|
||||||
|
#include <QPointer>
|
||||||
|
|
||||||
VehicleConfig::VehicleConfig(QWidget *parent) : ConfigTaskWidget(parent)
|
VehicleConfig::VehicleConfig(QWidget *parent) : ConfigTaskWidget(parent)
|
||||||
{
|
{
|
||||||
|
@ -2,16 +2,12 @@ TEMPLATE = lib
|
|||||||
TARGET = Config
|
TARGET = Config
|
||||||
DEFINES += CONFIG_LIBRARY
|
DEFINES += CONFIG_LIBRARY
|
||||||
|
|
||||||
QT += svg opengl qml quick
|
QT += widgets svg opengl qml quick
|
||||||
|
|
||||||
include(config_dependencies.pri)
|
include(config_dependencies.pri)
|
||||||
|
|
||||||
INCLUDEPATH += ../../libs/eigen
|
INCLUDEPATH += ../../libs/eigen
|
||||||
|
|
||||||
OTHER_FILES += \
|
|
||||||
Config.pluginspec \
|
|
||||||
calibration/WizardStepIndicator.qml
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
configplugin.h \
|
configplugin.h \
|
||||||
configgadgetwidget.h \
|
configgadgetwidget.h \
|
||||||
@ -129,4 +125,8 @@ FORMS += \
|
|||||||
configrevonanohwwidget.ui \
|
configrevonanohwwidget.ui \
|
||||||
failsafechannelform.ui
|
failsafechannelform.ui
|
||||||
|
|
||||||
|
OTHER_FILES += \
|
||||||
|
Config.pluginspec \
|
||||||
|
calibration/WizardStepIndicator.qml
|
||||||
|
|
||||||
RESOURCES += configgadget.qrc
|
RESOURCES += configgadget.qrc
|
||||||
|
@ -25,8 +25,16 @@
|
|||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config_cc_hw_widget.h"
|
#include "config_cc_hw_widget.h"
|
||||||
|
|
||||||
|
#include "ui_cc_hw_settings.h"
|
||||||
|
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
@ -35,9 +43,6 @@
|
|||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
|
|
||||||
|
|
||||||
ConfigCCHWWidget::ConfigCCHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
ConfigCCHWWidget::ConfigCCHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
||||||
{
|
{
|
||||||
|
@ -27,14 +27,17 @@
|
|||||||
#ifndef CONFIGCCHWWIDGET_H
|
#ifndef CONFIGCCHWWIDGET_H
|
||||||
#define CONFIGCCHWWIDGET_H
|
#define CONFIGCCHWWIDGET_H
|
||||||
|
|
||||||
#include "ui_cc_hw_settings.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
#include "smartsavebutton.h"
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include "smartsavebutton.h"
|
#include <QSvgRenderer>
|
||||||
|
|
||||||
|
class Ui_CC_HW_Widget;
|
||||||
|
|
||||||
class ConfigCCHWWidget : public ConfigTaskWidget {
|
class ConfigCCHWWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -1,19 +1,22 @@
|
|||||||
#include "configautotunewidget.h"
|
#include "configautotunewidget.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include "ui_autotune.h"
|
||||||
#include <QStringList>
|
|
||||||
#include <QtWidgets/QWidget>
|
|
||||||
#include <QtWidgets/QTextEdit>
|
|
||||||
#include <QtWidgets/QVBoxLayout>
|
|
||||||
#include <QtWidgets/QPushButton>
|
|
||||||
#include <QDesktopServices>
|
|
||||||
#include <QUrl>
|
|
||||||
#include <QList>
|
|
||||||
#include "relaytuningsettings.h"
|
#include "relaytuningsettings.h"
|
||||||
#include "relaytuning.h"
|
#include "relaytuning.h"
|
||||||
#include "stabilizationsettings.h"
|
#include "stabilizationsettings.h"
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QStringList>
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QTextEdit>
|
||||||
|
#include <QVBoxLayout>
|
||||||
|
#include <QPushButton>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
#include <QUrl>
|
||||||
|
#include <QList>
|
||||||
|
|
||||||
ConfigAutotuneWidget::ConfigAutotuneWidget(QWidget *parent) :
|
ConfigAutotuneWidget::ConfigAutotuneWidget(QWidget *parent) :
|
||||||
ConfigTaskWidget(parent)
|
ConfigTaskWidget(parent)
|
||||||
{
|
{
|
||||||
|
@ -27,17 +27,20 @@
|
|||||||
#ifndef CONFIGAUTOTUNE_H
|
#ifndef CONFIGAUTOTUNE_H
|
||||||
#define CONFIGAUTOTUNE_H
|
#define CONFIGAUTOTUNE_H
|
||||||
|
|
||||||
#include "ui_autotune.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include "stabilizationsettings.h"
|
#include "stabilizationsettings.h"
|
||||||
#include "relaytuningsettings.h"
|
#include "relaytuningsettings.h"
|
||||||
#include "relaytuning.h"
|
#include "relaytuning.h"
|
||||||
#include <QtWidgets/QWidget>
|
|
||||||
|
#include <QWidget>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
class Ui_AutotuneWidget;
|
||||||
|
|
||||||
class ConfigAutotuneWidget : public ConfigTaskWidget {
|
class ConfigAutotuneWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -35,12 +35,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "configcamerastabilizationwidget.h"
|
#include "configcamerastabilizationwidget.h"
|
||||||
|
|
||||||
|
#include "ui_camerastabilization.h"
|
||||||
|
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "camerastabsettings.h"
|
#include "camerastabsettings.h"
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "actuatorcommand.h"
|
#include "actuatorcommand.h"
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
|
|
||||||
ConfigCameraStabilizationWidget::ConfigCameraStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
ConfigCameraStabilizationWidget::ConfigCameraStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
||||||
{
|
{
|
||||||
|
@ -27,13 +27,15 @@
|
|||||||
#ifndef CONFIGCAMERASTABILIZATIONWIDGET_H
|
#ifndef CONFIGCAMERASTABILIZATIONWIDGET_H
|
||||||
#define CONFIGCAMERASTABILIZATIONWIDGET_H
|
#define CONFIGCAMERASTABILIZATIONWIDGET_H
|
||||||
|
|
||||||
#include "ui_camerastabilization.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include "camerastabsettings.h"
|
#include "camerastabsettings.h"
|
||||||
|
|
||||||
|
class Ui_CameraStabilizationWidget;
|
||||||
|
|
||||||
class ConfigCameraStabilizationWidget : public ConfigTaskWidget {
|
class ConfigCameraStabilizationWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -26,20 +26,25 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configccattitudewidget.h"
|
#include "configccattitudewidget.h"
|
||||||
|
|
||||||
#include "ui_ccattitude.h"
|
#include "ui_ccattitude.h"
|
||||||
|
|
||||||
#include "utils/coordinateconversions.h"
|
#include "utils/coordinateconversions.h"
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
#include <calibration/calibrationutils.h>
|
||||||
|
|
||||||
#include "attitudesettings.h"
|
#include "attitudesettings.h"
|
||||||
|
#include "accelstate.h"
|
||||||
|
#include "accelgyrosettings.h"
|
||||||
|
#include "gyrostate.h"
|
||||||
|
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include "accelstate.h"
|
|
||||||
#include "accelgyrosettings.h"
|
|
||||||
#include "gyrostate.h"
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
#include <calibration/calibrationutils.h>
|
|
||||||
ConfigCCAttitudeWidget::ConfigCCAttitudeWidget(QWidget *parent) :
|
ConfigCCAttitudeWidget::ConfigCCAttitudeWidget(QWidget *parent) :
|
||||||
ConfigTaskWidget(parent),
|
ConfigTaskWidget(parent),
|
||||||
ui(new Ui_ccattitude)
|
ui(new Ui_ccattitude)
|
||||||
|
@ -27,15 +27,15 @@
|
|||||||
#ifndef CCATTITUDEWIDGET_H
|
#ifndef CCATTITUDEWIDGET_H
|
||||||
#define CCATTITUDEWIDGET_H
|
#define CCATTITUDEWIDGET_H
|
||||||
|
|
||||||
#include "ui_ccattitude.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_ccattitude;
|
||||||
|
|
||||||
class ConfigCCAttitudeWidget : public ConfigTaskWidget {
|
class ConfigCCAttitudeWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -30,6 +30,17 @@
|
|||||||
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
#include <extensionsystem/pluginmanager.h>
|
||||||
#include <coreplugin/generalsettings.h>
|
#include <coreplugin/generalsettings.h>
|
||||||
|
#include <utils/stylehelper.h>
|
||||||
|
|
||||||
|
#include "ui_input.h"
|
||||||
|
#include "ui_input_wizard.h"
|
||||||
|
|
||||||
|
#include "inputchannelform.h"
|
||||||
|
#include "ui_inputchannelform.h"
|
||||||
|
|
||||||
|
#include "failsafechannelform.h"
|
||||||
|
#include "ui_failsafechannelform.h"
|
||||||
|
|
||||||
#include <systemalarms.h>
|
#include <systemalarms.h>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
@ -41,12 +52,9 @@
|
|||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <utils/stylehelper.h>
|
#include <QEventLoop>
|
||||||
#include <QMessageBox>
|
#include <QGraphicsSvgItem>
|
||||||
#include "inputchannelform.h"
|
#include <QSvgRenderer>
|
||||||
#include "ui_inputchannelform.h"
|
|
||||||
#include "failsafechannelform.h"
|
|
||||||
#include "ui_failsafechannelform.h"
|
|
||||||
|
|
||||||
#define ACCESS_MIN_MOVE -3
|
#define ACCESS_MIN_MOVE -3
|
||||||
#define ACCESS_MAX_MOVE 3
|
#define ACCESS_MAX_MOVE 3
|
||||||
@ -170,7 +178,7 @@ ConfigInputWidget::ConfigInputWidget(QWidget *parent) :
|
|||||||
addWidgetBinding("ManualControlSettings", "FailsafeFlightModeSwitchPosition", ui->failsafeFlightMode, 0, 1, true, new QList<int>(failsafeReloadGroup));
|
addWidgetBinding("ManualControlSettings", "FailsafeFlightModeSwitchPosition", ui->failsafeFlightMode, 0, 1, true, new QList<int>(failsafeReloadGroup));
|
||||||
|
|
||||||
// Generate the rows for the failsafe channel form GUI
|
// Generate the rows for the failsafe channel form GUI
|
||||||
index = 0;
|
index = 0;
|
||||||
foreach(QString name, manualSettingsObj->getField("FailsafeChannel")->getElementNames()) {
|
foreach(QString name, manualSettingsObj->getField("FailsafeChannel")->getElementNames()) {
|
||||||
Q_ASSERT(index < ManualControlSettings::FAILSAFECHANNEL_NUMELEM);
|
Q_ASSERT(index < ManualControlSettings::FAILSAFECHANNEL_NUMELEM);
|
||||||
|
|
||||||
@ -196,10 +204,10 @@ ConfigInputWidget::ConfigInputWidget(QWidget *parent) :
|
|||||||
connect(wizardUi->wzBack, SIGNAL(clicked()), this, SLOT(wzBack()));
|
connect(wizardUi->wzBack, SIGNAL(clicked()), this, SLOT(wzBack()));
|
||||||
|
|
||||||
ui->stackedWidget->setCurrentIndex(0);
|
ui->stackedWidget->setCurrentIndex(0);
|
||||||
QList<QWidget*> widgets = QList<QWidget*>() << ui->fmsModePos1 << ui->fmsModePos2 << ui->fmsModePos3 <<
|
QList<QWidget *> widgets = QList<QWidget *>() << ui->fmsModePos1 << ui->fmsModePos2 << ui->fmsModePos3 <<
|
||||||
ui->fmsModePos4 << ui->fmsModePos5 << ui->fmsModePos6;
|
ui->fmsModePos4 << ui->fmsModePos5 << ui->fmsModePos6;
|
||||||
index = 0;
|
index = 0;
|
||||||
foreach(QWidget* widget, widgets) {
|
foreach(QWidget * widget, widgets) {
|
||||||
addWidgetBinding("FlightModeSettings", "FlightModePosition", widget, index++, 1, true);
|
addWidgetBinding("FlightModeSettings", "FlightModePosition", widget, index++, 1, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,30 +28,33 @@
|
|||||||
#ifndef CONFIGINPUTWIDGET_H
|
#ifndef CONFIGINPUTWIDGET_H
|
||||||
#define CONFIGINPUTWIDGET_H
|
#define CONFIGINPUTWIDGET_H
|
||||||
|
|
||||||
#include "ui_input.h"
|
#include "uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "ui_input_wizard.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
|
||||||
#include <QRadioButton>
|
|
||||||
#include "manualcontrolcommand.h"
|
#include "manualcontrolcommand.h"
|
||||||
#include "manualcontrolsettings.h"
|
#include "manualcontrolsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "flightmodesettings.h"
|
#include "flightmodesettings.h"
|
||||||
#include "receiveractivity.h"
|
#include "receiveractivity.h"
|
||||||
#include <QGraphicsView>
|
|
||||||
#include <QtSvg/QSvgRenderer>
|
|
||||||
#include <QtSvg/QGraphicsSvgItem>
|
|
||||||
#include "flightstatus.h"
|
#include "flightstatus.h"
|
||||||
#include "accessorydesired.h"
|
#include "accessorydesired.h"
|
||||||
#include <QPointer>
|
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
|
|
||||||
|
#include <QPointer>
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QList>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
class Ui_InputWidget;
|
class Ui_InputWidget;
|
||||||
|
class Ui_InputWizardWidget;
|
||||||
|
|
||||||
|
class QEventLoop;
|
||||||
|
class QSvgRenderer;
|
||||||
|
class QGraphicsSvgItem;
|
||||||
|
class QGraphicsSimpleTextItem;
|
||||||
|
|
||||||
class ConfigInputWidget : public ConfigTaskWidget {
|
class ConfigInputWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -28,10 +28,16 @@
|
|||||||
|
|
||||||
#include "configoplinkwidget.h"
|
#include "configoplinkwidget.h"
|
||||||
|
|
||||||
|
#include "ui_oplink.h"
|
||||||
|
|
||||||
#include <coreplugin/generalsettings.h>
|
#include <coreplugin/generalsettings.h>
|
||||||
|
#include <uavobjectmanager.h>
|
||||||
|
|
||||||
#include <oplinksettings.h>
|
#include <oplinksettings.h>
|
||||||
#include <oplinkstatus.h>
|
#include <oplinkstatus.h>
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <QDateTime>
|
||||||
|
|
||||||
// Channel range and Frequency display
|
// Channel range and Frequency display
|
||||||
static const int MAX_CHANNEL_NUM = 250;
|
static const int MAX_CHANNEL_NUM = 250;
|
||||||
|
@ -27,11 +27,12 @@
|
|||||||
#ifndef CONFIGPIPXTREMEWIDGET_H
|
#ifndef CONFIGPIPXTREMEWIDGET_H
|
||||||
#define CONFIGPIPXTREMEWIDGET_H
|
#define CONFIGPIPXTREMEWIDGET_H
|
||||||
|
|
||||||
#include <oplinksettings.h>
|
|
||||||
|
|
||||||
#include "ui_oplink.h"
|
|
||||||
#include "configtaskwidget.h"
|
#include "configtaskwidget.h"
|
||||||
|
|
||||||
|
#include "oplinksettings.h"
|
||||||
|
|
||||||
|
class Ui_OPLinkWidget;
|
||||||
|
|
||||||
class ConfigOPLinkWidget : public ConfigTaskWidget {
|
class ConfigOPLinkWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -27,16 +27,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "configoutputwidget.h"
|
#include "configoutputwidget.h"
|
||||||
|
|
||||||
|
#include "ui_output.h"
|
||||||
|
#include "ui_outputchannelform.h"
|
||||||
|
|
||||||
#include "outputchannelform.h"
|
#include "outputchannelform.h"
|
||||||
#include "configvehicletypewidget.h"
|
#include "configvehicletypewidget.h"
|
||||||
|
|
||||||
|
#include "uavsettingsimportexport/uavsettingsimportexportfactory.h"
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "mixersettings.h"
|
#include "mixersettings.h"
|
||||||
#include "actuatorcommand.h"
|
#include "actuatorcommand.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "uavsettingsimportexport/uavsettingsimportexportfactory.h"
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
@ -84,11 +89,11 @@ ConfigOutputWidget::ConfigOutputWidget(QWidget *parent) : ConfigTaskWidget(paren
|
|||||||
connect(m_ui->channelOutTest, SIGNAL(toggled(bool)), form, SLOT(enableChannelTest(bool)));
|
connect(m_ui->channelOutTest, SIGNAL(toggled(bool)), form, SLOT(enableChannelTest(bool)));
|
||||||
connect(form, SIGNAL(channelChanged(int, int)), this, SLOT(sendChannelTest(int, int)));
|
connect(form, SIGNAL(channelChanged(int, int)), this, SLOT(sendChannelTest(int, int)));
|
||||||
|
|
||||||
addWidget(form->ui.actuatorMin);
|
addWidget(form->ui->actuatorMin);
|
||||||
addWidget(form->ui.actuatorNeutral);
|
addWidget(form->ui->actuatorNeutral);
|
||||||
addWidget(form->ui.actuatorMax);
|
addWidget(form->ui->actuatorMax);
|
||||||
addWidget(form->ui.actuatorRev);
|
addWidget(form->ui->actuatorRev);
|
||||||
addWidget(form->ui.actuatorLink);
|
addWidget(form->ui->actuatorLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,23 +27,27 @@
|
|||||||
#ifndef CONFIGOUTPUTWIDGET_H
|
#ifndef CONFIGOUTPUTWIDGET_H
|
||||||
#define CONFIGOUTPUTWIDGET_H
|
#define CONFIGOUTPUTWIDGET_H
|
||||||
|
|
||||||
#include "ui_output.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include "uavobjectutilmanager.h"
|
#include "uavobjectutilmanager.h"
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
|
||||||
#include <QSignalMapper>
|
|
||||||
|
|
||||||
#include "systemalarms.h"
|
#include "systemalarms.h"
|
||||||
|
|
||||||
|
#include <QList>
|
||||||
|
#include <QSlider>
|
||||||
|
|
||||||
class Ui_OutputWidget;
|
class Ui_OutputWidget;
|
||||||
class OutputChannelForm;
|
class OutputChannelForm;
|
||||||
class MixerSettings;
|
class MixerSettings;
|
||||||
|
|
||||||
|
class QLabel;
|
||||||
|
class QCheckBox;
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class OutputBankControls {
|
class OutputBankControls {
|
||||||
public:
|
public:
|
||||||
OutputBankControls(MixerSettings *mixer, QLabel *label, QColor color, QComboBox *rateCombo, QComboBox *modeCombo);
|
OutputBankControls(MixerSettings *mixer, QLabel *label, QColor color, QComboBox *rateCombo, QComboBox *modeCombo);
|
||||||
|
@ -27,15 +27,18 @@
|
|||||||
*/
|
*/
|
||||||
#include "configrevohwwidget.h"
|
#include "configrevohwwidget.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include "ui_configrevohwwidget.h"
|
||||||
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
#include <extensionsystem/pluginmanager.h>
|
||||||
#include <coreplugin/generalsettings.h>
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
|
||||||
ConfigRevoHWWidget::ConfigRevoHWWidget(QWidget *parent) : ConfigTaskWidget(parent), m_refreshing(true)
|
ConfigRevoHWWidget::ConfigRevoHWWidget(QWidget *parent) : ConfigTaskWidget(parent), m_refreshing(true)
|
||||||
{
|
{
|
||||||
m_ui = new Ui_RevoHWWidget();
|
m_ui = new Ui_RevoHWWidget();
|
||||||
|
@ -27,14 +27,13 @@
|
|||||||
#ifndef CONFIGREVOHWWIDGET_H
|
#ifndef CONFIGREVOHWWIDGET_H
|
||||||
#define CONFIGREVOHWWIDGET_H
|
#define CONFIGREVOHWWIDGET_H
|
||||||
|
|
||||||
#include "ui_configrevohwwidget.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
|
||||||
#include "uavobjectmanager.h"
|
|
||||||
#include "uavobject.h"
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
|
||||||
|
|
||||||
|
class Ui_RevoHWWidget;
|
||||||
|
|
||||||
|
class UAVObject;
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class ConfigRevoHWWidget : public ConfigTaskWidget {
|
class ConfigRevoHWWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -44,8 +43,8 @@ public:
|
|||||||
~ConfigRevoHWWidget();
|
~ConfigRevoHWWidget();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_refreshing;
|
|
||||||
Ui_RevoHWWidget *m_ui;
|
Ui_RevoHWWidget *m_ui;
|
||||||
|
bool m_refreshing;
|
||||||
void setupCustomCombos();
|
void setupCustomCombos();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
@ -27,15 +27,18 @@
|
|||||||
*/
|
*/
|
||||||
#include "configrevonanohwwidget.h"
|
#include "configrevonanohwwidget.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include "ui_configrevonanohwwidget.h"
|
||||||
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
#include <extensionsystem/pluginmanager.h>
|
||||||
#include <coreplugin/generalsettings.h>
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
|
||||||
ConfigRevoNanoHWWidget::ConfigRevoNanoHWWidget(QWidget *parent) : ConfigTaskWidget(parent), m_refreshing(true)
|
ConfigRevoNanoHWWidget::ConfigRevoNanoHWWidget(QWidget *parent) : ConfigTaskWidget(parent), m_refreshing(true)
|
||||||
{
|
{
|
||||||
m_ui = new Ui_RevoNanoHWWidget();
|
m_ui = new Ui_RevoNanoHWWidget();
|
||||||
|
@ -27,14 +27,13 @@
|
|||||||
#ifndef CONFIGREVONANOHWWIDGET_H
|
#ifndef CONFIGREVONANOHWWIDGET_H
|
||||||
#define CONFIGREVONANOHWWIDGET_H
|
#define CONFIGREVONANOHWWIDGET_H
|
||||||
|
|
||||||
#include "ui_configrevonanohwwidget.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
|
||||||
#include "uavobjectmanager.h"
|
|
||||||
#include "uavobject.h"
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
|
||||||
|
|
||||||
|
class Ui_RevoNanoHWWidget;
|
||||||
|
|
||||||
|
class UAVObject;
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class ConfigRevoNanoHWWidget : public ConfigTaskWidget {
|
class ConfigRevoNanoHWWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -44,8 +43,8 @@ public:
|
|||||||
~ConfigRevoNanoHWWidget();
|
~ConfigRevoNanoHWWidget();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_refreshing;
|
|
||||||
Ui_RevoNanoHWWidget *m_ui;
|
Ui_RevoNanoHWWidget *m_ui;
|
||||||
|
bool m_refreshing;
|
||||||
void setupCustomCombos();
|
void setupCustomCombos();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
*/
|
*/
|
||||||
#include "configrevowidget.h"
|
#include "configrevowidget.h"
|
||||||
|
|
||||||
|
#include "ui_revosensors.h"
|
||||||
|
|
||||||
#include <attitudestate.h>
|
#include <attitudestate.h>
|
||||||
#include <attitudesettings.h>
|
#include <attitudesettings.h>
|
||||||
#include <revocalibration.h>
|
#include <revocalibration.h>
|
||||||
|
@ -27,29 +27,19 @@
|
|||||||
#ifndef CONFIGREVOWIDGET_H
|
#ifndef CONFIGREVOWIDGET_H
|
||||||
#define CONFIGREVOWIDGET_H
|
#define CONFIGREVOWIDGET_H
|
||||||
|
|
||||||
#include "ui_revosensors.h"
|
|
||||||
#include "configtaskwidget.h"
|
#include "configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include "calibration/thermal/thermalcalibrationmodel.h"
|
#include "calibration/thermal/thermalcalibrationmodel.h"
|
||||||
#include "calibration/sixpointcalibrationmodel.h"
|
#include "calibration/sixpointcalibrationmodel.h"
|
||||||
#include "calibration/levelcalibrationmodel.h"
|
#include "calibration/levelcalibrationmodel.h"
|
||||||
#include "calibration/gyrobiascalibrationmodel.h"
|
#include "calibration/gyrobiascalibrationmodel.h"
|
||||||
|
|
||||||
#include <auxmagsettings.h>
|
class Ui_RevoSensorsWidget;
|
||||||
#include <magsensor.h>
|
|
||||||
#include <auxmagsensor.h>
|
|
||||||
#include <magstate.h>
|
|
||||||
|
|
||||||
#include <QWidget>
|
class QWidget;
|
||||||
#include <QtSvg/QSvgRenderer>
|
|
||||||
#include <QtSvg/QGraphicsSvgItem>
|
|
||||||
#include <QList>
|
|
||||||
#include <QTimer>
|
|
||||||
#include <QMutex>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
|
||||||
|
|
||||||
class ConfigRevoWidget : public ConfigTaskWidget {
|
class ConfigRevoWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -27,6 +27,21 @@
|
|||||||
*/
|
*/
|
||||||
#include "configstabilizationwidget.h"
|
#include "configstabilizationwidget.h"
|
||||||
|
|
||||||
|
#include "ui_stabilization.h"
|
||||||
|
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
#include "uavobjectutilmanager.h"
|
||||||
|
|
||||||
|
#include "objectpersistence.h"
|
||||||
|
#include "altitudeholdsettings.h"
|
||||||
|
#include "stabilizationsettings.h"
|
||||||
|
|
||||||
|
#include "qwt/src/qwt.h"
|
||||||
|
#include "qwt/src/qwt_plot.h"
|
||||||
|
#include "qwt/src/qwt_plot_canvas.h"
|
||||||
|
#include "qwt/src/qwt_scale_widget.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
@ -42,16 +57,6 @@
|
|||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
#include "altitudeholdsettings.h"
|
|
||||||
#include "stabilizationsettings.h"
|
|
||||||
|
|
||||||
#include "qwt/src/qwt.h"
|
|
||||||
#include "qwt/src/qwt_plot.h"
|
|
||||||
#include "qwt/src/qwt_plot_canvas.h"
|
|
||||||
#include "qwt/src/qwt_scale_widget.h"
|
|
||||||
|
|
||||||
ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent),
|
ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent),
|
||||||
boardModel(0), m_stabSettingsBankCount(0), m_currentStabSettingsBank(0)
|
boardModel(0), m_stabSettingsBankCount(0), m_currentStabSettingsBank(0)
|
||||||
{
|
{
|
||||||
|
@ -27,18 +27,24 @@
|
|||||||
#ifndef CONFIGSTABILIZATIONWIDGET_H
|
#ifndef CONFIGSTABILIZATIONWIDGET_H
|
||||||
#define CONFIGSTABILIZATIONWIDGET_H
|
#define CONFIGSTABILIZATIONWIDGET_H
|
||||||
|
|
||||||
#include "ui_stabilization.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
|
||||||
#include "stabilizationsettings.h"
|
#include "stabilizationsettings.h"
|
||||||
#include <QWidget>
|
|
||||||
#include <QTimer>
|
|
||||||
#include <QSignalMapper>
|
|
||||||
#include "qwt/src/qwt_plot_curve.h"
|
#include "qwt/src/qwt_plot_curve.h"
|
||||||
#include "qwt/src/qwt_plot_grid.h"
|
#include "qwt/src/qwt_plot_grid.h"
|
||||||
|
|
||||||
|
#include <QTimer>
|
||||||
|
#include <QSignalMapper>
|
||||||
|
|
||||||
|
class Ui_StabilizationWidget;
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
class QTabBar;
|
||||||
|
|
||||||
class ConfigStabilizationWidget : public ConfigTaskWidget {
|
class ConfigStabilizationWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -27,6 +27,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "configtxpidwidget.h"
|
#include "configtxpidwidget.h"
|
||||||
|
|
||||||
|
#include "ui_txpid.h"
|
||||||
|
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "txpidsettings.h"
|
#include "txpidsettings.h"
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
#include "attitudesettings.h"
|
#include "attitudesettings.h"
|
||||||
@ -34,8 +40,6 @@
|
|||||||
#include "stabilizationsettingsbank1.h"
|
#include "stabilizationsettingsbank1.h"
|
||||||
#include "stabilizationsettingsbank2.h"
|
#include "stabilizationsettingsbank2.h"
|
||||||
#include "stabilizationsettingsbank3.h"
|
#include "stabilizationsettingsbank3.h"
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
|
|
||||||
ConfigTxPIDWidget::ConfigTxPIDWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
ConfigTxPIDWidget::ConfigTxPIDWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
||||||
{
|
{
|
||||||
|
@ -27,9 +27,10 @@
|
|||||||
#ifndef CONFIGTXPIDWIDGET_H
|
#ifndef CONFIGTXPIDWIDGET_H
|
||||||
#define CONFIGTXPIDWIDGET_H
|
#define CONFIGTXPIDWIDGET_H
|
||||||
|
|
||||||
#include "ui_txpid.h"
|
|
||||||
#include "configtaskwidget.h"
|
#include "configtaskwidget.h"
|
||||||
|
|
||||||
|
class Ui_TxPIDWidget;
|
||||||
|
|
||||||
class ConfigTxPIDWidget : public ConfigTaskWidget {
|
class ConfigTxPIDWidget : public ConfigTaskWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -26,9 +26,15 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "configvehicletypewidget.h"
|
#include "configvehicletypewidget.h"
|
||||||
|
|
||||||
|
#include "ui_airframe.h"
|
||||||
|
|
||||||
|
#include "configgadgetfactory.h"
|
||||||
|
#include <extensionsystem/pluginmanager.h>
|
||||||
|
#include <coreplugin/generalsettings.h>
|
||||||
|
|
||||||
#include "systemsettings.h"
|
#include "systemsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
#include "configgadgetfactory.h"
|
|
||||||
|
|
||||||
#include "cfg_vehicletypes/configccpmwidget.h"
|
#include "cfg_vehicletypes/configccpmwidget.h"
|
||||||
#include "cfg_vehicletypes/configfixedwingwidget.h"
|
#include "cfg_vehicletypes/configfixedwingwidget.h"
|
||||||
@ -47,9 +53,6 @@
|
|||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
#include <extensionsystem/pluginmanager.h>
|
|
||||||
#include <coreplugin/generalsettings.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Static function to get currently assigned channelDescriptions
|
Static function to get currently assigned channelDescriptions
|
||||||
for all known vehicle types; instantiates the appropriate object
|
for all known vehicle types; instantiates the appropriate object
|
||||||
|
@ -28,22 +28,17 @@
|
|||||||
#ifndef CONFIGVEHICLETYPEWIDGET_H
|
#ifndef CONFIGVEHICLETYPEWIDGET_H
|
||||||
#define CONFIGVEHICLETYPEWIDGET_H
|
#define CONFIGVEHICLETYPEWIDGET_H
|
||||||
|
|
||||||
#include "ui_airframe.h"
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
||||||
|
|
||||||
#include <QComboBox>
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include <QWidget>
|
class Ui_AircraftWidget;
|
||||||
#include <QList>
|
|
||||||
#include <QItemDelegate>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class QWidget;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This class derives from ConfigTaskWidget and overrides its default "binding" mechanism.
|
* This class derives from ConfigTaskWidget and overrides its default "binding" mechanism.
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "defaultattitudewidget.h"
|
#include "defaultattitudewidget.h"
|
||||||
|
|
||||||
#include "ui_defaultattitude.h"
|
#include "ui_defaultattitude.h"
|
||||||
|
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
#include <QErrorMessage>
|
#include <QErrorMessage>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
@ -27,16 +27,9 @@
|
|||||||
#ifndef DEFAULTATTITUDEWIDGET_H
|
#ifndef DEFAULTATTITUDEWIDGET_H
|
||||||
#define DEFAULTATTITUDEWIDGET_H
|
#define DEFAULTATTITUDEWIDGET_H
|
||||||
|
|
||||||
#include "ui_defaultattitude.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
|
||||||
#include "uavobjectmanager.h"
|
|
||||||
#include "uavobject.h"
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTimer>
|
|
||||||
#include <QMutex>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_defaultattitude;
|
||||||
|
|
||||||
class DefaultAttitudeWidget : public QWidget {
|
class DefaultAttitudeWidget : public QWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "defaulthwsettingswidget.h"
|
#include "defaulthwsettingswidget.h"
|
||||||
#include "ui_defaultattitude.h"
|
|
||||||
|
#include "ui_defaulthwsettings.h"
|
||||||
|
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
#include <QErrorMessage>
|
#include <QErrorMessage>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
@ -27,16 +27,9 @@
|
|||||||
#ifndef DEFAULTHWSETTINGSt_H
|
#ifndef DEFAULTHWSETTINGSt_H
|
||||||
#define DEFAULTHWSETTINGSt_H
|
#define DEFAULTHWSETTINGSt_H
|
||||||
|
|
||||||
#include "ui_defaulthwsettings.h"
|
|
||||||
#include "../uavobjectwidgetutils/configtaskwidget.h"
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
|
||||||
#include "uavobjectmanager.h"
|
|
||||||
#include "uavobject.h"
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTimer>
|
|
||||||
#include <QMutex>
|
|
||||||
|
|
||||||
class Ui_Widget;
|
class Ui_defaulthwsettings;
|
||||||
|
|
||||||
class DefaultHwSettingsWidget : public QWidget {
|
class DefaultHwSettingsWidget : public QWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -25,11 +25,15 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "mixercurve.h"
|
||||||
|
|
||||||
|
#include "ui_mixercurve.h"
|
||||||
|
|
||||||
|
#include "dblspindelegate.h"
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QResizeEvent>
|
#include <QResizeEvent>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "mixercurve.h"
|
|
||||||
#include "dblspindelegate.h"
|
|
||||||
|
|
||||||
MixerCurve::MixerCurve(QWidget *parent) :
|
MixerCurve::MixerCurve(QWidget *parent) :
|
||||||
QFrame(parent),
|
QFrame(parent),
|
||||||
|
@ -27,22 +27,21 @@
|
|||||||
#ifndef MIXERCURVE_H
|
#ifndef MIXERCURVE_H
|
||||||
#define MIXERCURVE_H
|
#define MIXERCURVE_H
|
||||||
|
|
||||||
#include <QFrame>
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QList>
|
|
||||||
#include <QTableWidget>
|
|
||||||
|
|
||||||
#include "ui_mixercurve.h"
|
|
||||||
#include "mixercurvewidget.h"
|
#include "mixercurvewidget.h"
|
||||||
#include "dblspindelegate.h"
|
#include "dblspindelegate.h"
|
||||||
#include "uavobjectwidgetutils_global.h"
|
#include "uavobjectwidgetutils_global.h"
|
||||||
#include "uavobjectwidgetutils/popupwidget.h"
|
#include "uavobjectwidgetutils/popupwidget.h"
|
||||||
|
|
||||||
|
#include <QFrame>
|
||||||
|
#include <QList>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class MixerCurve;
|
class MixerCurve;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
class QTableWidget;
|
||||||
|
|
||||||
class MixerCurve : public QFrame {
|
class MixerCurve : public QFrame {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -27,34 +27,36 @@
|
|||||||
|
|
||||||
#include "outputchannelform.h"
|
#include "outputchannelform.h"
|
||||||
|
|
||||||
|
#include "ui_outputchannelform.h"
|
||||||
|
|
||||||
#define MAXOUTPUT_VALUE 2500
|
#define MAXOUTPUT_VALUE 2500
|
||||||
#define MINOUTPUT_VALUE 500
|
#define MINOUTPUT_VALUE 500
|
||||||
|
|
||||||
OutputChannelForm::OutputChannelForm(const int index, QWidget *parent) :
|
OutputChannelForm::OutputChannelForm(const int index, QWidget *parent) :
|
||||||
ChannelForm(index, parent), ui(), m_inChannelTest(false)
|
ChannelForm(index, parent), ui(new Ui::outputChannelForm), m_inChannelTest(false)
|
||||||
{
|
{
|
||||||
ui.setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
// The convention for OP is Channel 1 to Channel 10.
|
// The convention for OP is Channel 1 to Channel 10.
|
||||||
ui.actuatorNumber->setText(QString("%1").arg(index + 1));
|
ui->actuatorNumber->setText(QString("%1").arg(index + 1));
|
||||||
setBank("-");
|
setBank("-");
|
||||||
// Register for ActuatorSettings changes:
|
// Register for ActuatorSettings changes:
|
||||||
connect(ui.actuatorMin, SIGNAL(editingFinished()), this, SLOT(setChannelRange()));
|
connect(ui->actuatorMin, SIGNAL(editingFinished()), this, SLOT(setChannelRange()));
|
||||||
connect(ui.actuatorMax, SIGNAL(editingFinished()), this, SLOT(setChannelRange()));
|
connect(ui->actuatorMax, SIGNAL(editingFinished()), this, SLOT(setChannelRange()));
|
||||||
connect(ui.actuatorRev, SIGNAL(toggled(bool)), this, SLOT(reverseChannel(bool)));
|
connect(ui->actuatorRev, SIGNAL(toggled(bool)), this, SLOT(reverseChannel(bool)));
|
||||||
// Now connect the channel out sliders to our signal to send updates in test mode
|
// Now connect the channel out sliders to our signal to send updates in test mode
|
||||||
connect(ui.actuatorNeutral, SIGNAL(valueChanged(int)), this, SLOT(sendChannelTest(int)));
|
connect(ui->actuatorNeutral, SIGNAL(valueChanged(int)), this, SLOT(sendChannelTest(int)));
|
||||||
|
|
||||||
ui.actuatorLink->setChecked(false);
|
ui->actuatorLink->setChecked(false);
|
||||||
connect(ui.actuatorLink, SIGNAL(toggled(bool)), this, SLOT(linkToggled(bool)));
|
connect(ui->actuatorLink, SIGNAL(toggled(bool)), this, SLOT(linkToggled(bool)));
|
||||||
|
|
||||||
// Set limits
|
// Set limits
|
||||||
ui.actuatorMin->setMaximum(MAXOUTPUT_VALUE);
|
ui->actuatorMin->setMaximum(MAXOUTPUT_VALUE);
|
||||||
ui.actuatorMax->setMaximum(MAXOUTPUT_VALUE);
|
ui->actuatorMax->setMaximum(MAXOUTPUT_VALUE);
|
||||||
ui.actuatorValue->setMaximum(MAXOUTPUT_VALUE);
|
ui->actuatorValue->setMaximum(MAXOUTPUT_VALUE);
|
||||||
ui.actuatorMin->setMinimum(MINOUTPUT_VALUE);
|
ui->actuatorMin->setMinimum(MINOUTPUT_VALUE);
|
||||||
ui.actuatorMax->setMinimum(MINOUTPUT_VALUE);
|
ui->actuatorMax->setMinimum(MINOUTPUT_VALUE);
|
||||||
ui.actuatorValue->setMinimum(MINOUTPUT_VALUE);
|
ui->actuatorValue->setMinimum(MINOUTPUT_VALUE);
|
||||||
|
|
||||||
setChannelRange();
|
setChannelRange();
|
||||||
|
|
||||||
@ -63,17 +65,17 @@ OutputChannelForm::OutputChannelForm(const int index, QWidget *parent) :
|
|||||||
|
|
||||||
OutputChannelForm::~OutputChannelForm()
|
OutputChannelForm::~OutputChannelForm()
|
||||||
{
|
{
|
||||||
// Do nothing
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString OutputChannelForm::name()
|
QString OutputChannelForm::name()
|
||||||
{
|
{
|
||||||
return ui.actuatorName->text();
|
return ui->actuatorName->text();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString OutputChannelForm::bank()
|
QString OutputChannelForm::bank()
|
||||||
{
|
{
|
||||||
return ui.actuatorBankNumber->text();
|
return ui->actuatorBankNumber->text();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -81,18 +83,18 @@ QString OutputChannelForm::bank()
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setName(const QString &name)
|
void OutputChannelForm::setName(const QString &name)
|
||||||
{
|
{
|
||||||
ui.actuatorName->setText(name);
|
ui->actuatorName->setText(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OutputChannelForm::setColor(const QColor &color)
|
void OutputChannelForm::setColor(const QColor &color)
|
||||||
{
|
{
|
||||||
QString stylesheet = ui.actuatorNumberFrame->styleSheet();
|
QString stylesheet = ui->actuatorNumberFrame->styleSheet();
|
||||||
|
|
||||||
stylesheet = stylesheet.split("background-color").first();
|
stylesheet = stylesheet.split("background-color").first();
|
||||||
stylesheet.append(
|
stylesheet.append(
|
||||||
QString("background-color: rgb(%1, %2, %3)")
|
QString("background-color: rgb(%1, %2, %3)")
|
||||||
.arg(color.red()).arg(color.green()).arg(color.blue()));
|
.arg(color.red()).arg(color.green()).arg(color.blue()));
|
||||||
ui.actuatorNumberFrame->setStyleSheet(stylesheet);
|
ui->actuatorNumberFrame->setStyleSheet(stylesheet);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -100,7 +102,7 @@ void OutputChannelForm::setColor(const QColor &color)
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setBank(const QString &bank)
|
void OutputChannelForm::setBank(const QString &bank)
|
||||||
{
|
{
|
||||||
ui.actuatorBankNumber->setText(bank);
|
ui->actuatorBankNumber->setText(bank);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -116,14 +118,14 @@ void OutputChannelForm::enableChannelTest(bool state)
|
|||||||
if (m_inChannelTest) {
|
if (m_inChannelTest) {
|
||||||
// Prevent stupid users from touching the minimum & maximum ranges while
|
// Prevent stupid users from touching the minimum & maximum ranges while
|
||||||
// moving the sliders. Thanks Ivan for the tip :)
|
// moving the sliders. Thanks Ivan for the tip :)
|
||||||
ui.actuatorMin->setEnabled(false);
|
ui->actuatorMin->setEnabled(false);
|
||||||
ui.actuatorMax->setEnabled(false);
|
ui->actuatorMax->setEnabled(false);
|
||||||
ui.actuatorRev->setEnabled(false);
|
ui->actuatorRev->setEnabled(false);
|
||||||
} else if (m_mixerType != "Disabled") {
|
} else if (m_mixerType != "Disabled") {
|
||||||
ui.actuatorMin->setEnabled(true);
|
ui->actuatorMin->setEnabled(true);
|
||||||
ui.actuatorMax->setEnabled(true);
|
ui->actuatorMax->setEnabled(true);
|
||||||
if (m_mixerType != "Motor") {
|
if (m_mixerType != "Motor") {
|
||||||
ui.actuatorRev->setEnabled(true);
|
ui->actuatorRev->setEnabled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -147,13 +149,13 @@ void OutputChannelForm::linkToggled(bool state)
|
|||||||
QList<OutputChannelForm *> outputChannelForms = parent()->findChildren<OutputChannelForm *>();
|
QList<OutputChannelForm *> outputChannelForms = parent()->findChildren<OutputChannelForm *>();
|
||||||
// set the linked channels of the parent widget to the same value
|
// set the linked channels of the parent widget to the same value
|
||||||
foreach(OutputChannelForm * outputChannelForm, outputChannelForms) {
|
foreach(OutputChannelForm * outputChannelForm, outputChannelForms) {
|
||||||
if (!outputChannelForm->ui.actuatorLink->checkState()) {
|
if (!outputChannelForm->ui->actuatorLink->checkState()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (this == outputChannelForm) {
|
if (this == outputChannelForm) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
int value = outputChannelForm->ui.actuatorNeutral->value();
|
int value = outputChannelForm->ui->actuatorNeutral->value();
|
||||||
if (min > value) {
|
if (min > value) {
|
||||||
min = value;
|
min = value;
|
||||||
}
|
}
|
||||||
@ -165,16 +167,16 @@ void OutputChannelForm::linkToggled(bool state)
|
|||||||
}
|
}
|
||||||
// set the linked channels to the same value
|
// set the linked channels to the same value
|
||||||
foreach(OutputChannelForm * outputChannelForm, outputChannelForms) {
|
foreach(OutputChannelForm * outputChannelForm, outputChannelForms) {
|
||||||
if (!outputChannelForm->ui.actuatorLink->checkState()) {
|
if (!outputChannelForm->ui->actuatorLink->checkState()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
outputChannelForm->ui.actuatorNeutral->setValue(min);
|
outputChannelForm->ui->actuatorNeutral->setValue(min);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int OutputChannelForm::max() const
|
int OutputChannelForm::max() const
|
||||||
{
|
{
|
||||||
return ui.actuatorMax->value();
|
return ui->actuatorMax->value();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -182,12 +184,12 @@ int OutputChannelForm::max() const
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setMax(int maximum)
|
void OutputChannelForm::setMax(int maximum)
|
||||||
{
|
{
|
||||||
setRange(ui.actuatorMax->value(), maximum);
|
setRange(ui->actuatorMax->value(), maximum);
|
||||||
}
|
}
|
||||||
|
|
||||||
int OutputChannelForm::min() const
|
int OutputChannelForm::min() const
|
||||||
{
|
{
|
||||||
return ui.actuatorMin->value();
|
return ui->actuatorMin->value();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -195,12 +197,12 @@ int OutputChannelForm::min() const
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setMin(int minimum)
|
void OutputChannelForm::setMin(int minimum)
|
||||||
{
|
{
|
||||||
setRange(minimum, ui.actuatorMin->value());
|
setRange(minimum, ui->actuatorMin->value());
|
||||||
}
|
}
|
||||||
|
|
||||||
int OutputChannelForm::neutral() const
|
int OutputChannelForm::neutral() const
|
||||||
{
|
{
|
||||||
return ui.actuatorNeutral->value();
|
return ui->actuatorNeutral->value();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -208,7 +210,7 @@ int OutputChannelForm::neutral() const
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setNeutral(int value)
|
void OutputChannelForm::setNeutral(int value)
|
||||||
{
|
{
|
||||||
ui.actuatorNeutral->setValue(value);
|
ui->actuatorNeutral->setValue(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -216,8 +218,8 @@ void OutputChannelForm::setNeutral(int value)
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setRange(int minimum, int maximum)
|
void OutputChannelForm::setRange(int minimum, int maximum)
|
||||||
{
|
{
|
||||||
ui.actuatorMin->setValue(minimum);
|
ui->actuatorMin->setValue(minimum);
|
||||||
ui.actuatorMax->setValue(maximum);
|
ui->actuatorMax->setValue(maximum);
|
||||||
setChannelRange();
|
setChannelRange();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -230,70 +232,70 @@ void OutputChannelForm::setRange(int minimum, int maximum)
|
|||||||
*/
|
*/
|
||||||
void OutputChannelForm::setChannelRange()
|
void OutputChannelForm::setChannelRange()
|
||||||
{
|
{
|
||||||
int minValue = ui.actuatorMin->value();
|
int minValue = ui->actuatorMin->value();
|
||||||
int maxValue = ui.actuatorMax->value();
|
int maxValue = ui->actuatorMax->value();
|
||||||
|
|
||||||
int oldMini = ui.actuatorNeutral->minimum();
|
int oldMini = ui->actuatorNeutral->minimum();
|
||||||
int oldMaxi = ui.actuatorNeutral->maximum();
|
int oldMaxi = ui->actuatorNeutral->maximum();
|
||||||
|
|
||||||
m_mixerType = outputMixerType();
|
m_mixerType = outputMixerType();
|
||||||
|
|
||||||
// Red handle for Motors
|
// Red handle for Motors
|
||||||
if ((m_mixerType == "Motor") || (m_mixerType == "ReversableMotor")) {
|
if ((m_mixerType == "Motor") || (m_mixerType == "ReversableMotor")) {
|
||||||
ui.actuatorNeutral->setStyleSheet("QSlider::handle:horizontal { background: rgb(255, 100, 100); width: 18px; height: 28px;"
|
ui->actuatorNeutral->setStyleSheet("QSlider::handle:horizontal { background: rgb(255, 100, 100); width: 18px; height: 28px;"
|
||||||
"margin: -3px 0; border-radius: 3px; border: 1px solid #777; }");
|
"margin: -3px 0; border-radius: 3px; border: 1px solid #777; }");
|
||||||
} else {
|
} else {
|
||||||
ui.actuatorNeutral->setStyleSheet("QSlider::handle:horizontal { background: rgb(196, 196, 196); width: 18px; height: 28px;"
|
ui->actuatorNeutral->setStyleSheet("QSlider::handle:horizontal { background: rgb(196, 196, 196); width: 18px; height: 28px;"
|
||||||
"margin: -3px 0; border-radius: 3px; border: 1px solid #777; }");
|
"margin: -3px 0; border-radius: 3px; border: 1px solid #777; }");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Normal motor will be *** never *** reversed : without arming a "Min" value (like 1900) can be applied !
|
// Normal motor will be *** never *** reversed : without arming a "Min" value (like 1900) can be applied !
|
||||||
if (m_mixerType == "Motor") {
|
if (m_mixerType == "Motor") {
|
||||||
if (minValue >= maxValue) {
|
if (minValue >= maxValue) {
|
||||||
// Keep old values
|
// Keep old values
|
||||||
ui.actuatorMin->setValue(oldMini);
|
ui->actuatorMin->setValue(oldMini);
|
||||||
ui.actuatorMax->setValue(oldMaxi);
|
ui->actuatorMax->setValue(oldMaxi);
|
||||||
}
|
}
|
||||||
ui.actuatorRev->setChecked(false);
|
ui->actuatorRev->setChecked(false);
|
||||||
ui.actuatorRev->setEnabled(false);
|
ui->actuatorRev->setEnabled(false);
|
||||||
ui.actuatorNeutral->setInvertedAppearance(false);
|
ui->actuatorNeutral->setInvertedAppearance(false);
|
||||||
ui.actuatorNeutral->setRange(ui.actuatorMin->value(), ui.actuatorMax->value());
|
ui->actuatorNeutral->setRange(ui->actuatorMin->value(), ui->actuatorMax->value());
|
||||||
} else {
|
} else {
|
||||||
// Others output (!Motor)
|
// Others output (!Motor)
|
||||||
// Auto check reverse checkbox SpinBox Min/Max changes
|
// Auto check reverse checkbox SpinBox Min/Max changes
|
||||||
ui.actuatorRev->setEnabled(true);
|
ui->actuatorRev->setEnabled(true);
|
||||||
if (minValue <= maxValue) {
|
if (minValue <= maxValue) {
|
||||||
ui.actuatorRev->setChecked(false);
|
ui->actuatorRev->setChecked(false);
|
||||||
ui.actuatorNeutral->setInvertedAppearance(false);
|
ui->actuatorNeutral->setInvertedAppearance(false);
|
||||||
ui.actuatorNeutral->setRange(minValue, maxValue);
|
ui->actuatorNeutral->setRange(minValue, maxValue);
|
||||||
} else {
|
} else {
|
||||||
ui.actuatorRev->setChecked(true);
|
ui->actuatorRev->setChecked(true);
|
||||||
ui.actuatorNeutral->setInvertedAppearance(true);
|
ui->actuatorNeutral->setInvertedAppearance(true);
|
||||||
ui.actuatorNeutral->setRange(maxValue, minValue);
|
ui->actuatorNeutral->setRange(maxValue, minValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If old neutral was Min, stay Min
|
// If old neutral was Min, stay Min
|
||||||
if (ui.actuatorNeutral->value() == oldMini) {
|
if (ui->actuatorNeutral->value() == oldMini) {
|
||||||
ui.actuatorNeutral->setValue(ui.actuatorNeutral->minimum());
|
ui->actuatorNeutral->setValue(ui->actuatorNeutral->minimum());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enable only outputs already set in mixer
|
// Enable only outputs already set in mixer
|
||||||
if (m_mixerType != "Disabled") {
|
if (m_mixerType != "Disabled") {
|
||||||
ui.actuatorMin->setEnabled(true);
|
ui->actuatorMin->setEnabled(true);
|
||||||
ui.actuatorMax->setEnabled(true);
|
ui->actuatorMax->setEnabled(true);
|
||||||
ui.actuatorNeutral->setEnabled(true);
|
ui->actuatorNeutral->setEnabled(true);
|
||||||
ui.actuatorValue->setEnabled(true);
|
ui->actuatorValue->setEnabled(true);
|
||||||
ui.actuatorLink->setEnabled(true);
|
ui->actuatorLink->setEnabled(true);
|
||||||
} else {
|
} else {
|
||||||
ui.actuatorMin->setEnabled(false);
|
ui->actuatorMin->setEnabled(false);
|
||||||
ui.actuatorMax->setEnabled(false);
|
ui->actuatorMax->setEnabled(false);
|
||||||
ui.actuatorRev->setEnabled(false);
|
ui->actuatorRev->setEnabled(false);
|
||||||
ui.actuatorLink->setEnabled(false);
|
ui->actuatorLink->setEnabled(false);
|
||||||
ui.actuatorMin->setValue(1000);
|
ui->actuatorMin->setValue(1000);
|
||||||
ui.actuatorMax->setValue(1000);
|
ui->actuatorMax->setValue(1000);
|
||||||
ui.actuatorNeutral->setRange(minValue, maxValue);
|
ui->actuatorNeutral->setRange(minValue, maxValue);
|
||||||
ui.actuatorNeutral->setValue(minValue);
|
ui->actuatorNeutral->setValue(minValue);
|
||||||
ui.actuatorValue->setEnabled(false);
|
ui->actuatorValue->setEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -303,13 +305,13 @@ void OutputChannelForm::setChannelRange()
|
|||||||
void OutputChannelForm::reverseChannel(bool state)
|
void OutputChannelForm::reverseChannel(bool state)
|
||||||
{
|
{
|
||||||
// if 'state' (reverse channel requested) apply only if not already reversed
|
// if 'state' (reverse channel requested) apply only if not already reversed
|
||||||
if ((state && (ui.actuatorMax->value() > ui.actuatorMin->value()))
|
if ((state && (ui->actuatorMax->value() > ui->actuatorMin->value()))
|
||||||
|| (!state && (ui.actuatorMax->value() < ui.actuatorMin->value()))) {
|
|| (!state && (ui->actuatorMax->value() < ui->actuatorMin->value()))) {
|
||||||
// Now, swap the min & max values (spin boxes)
|
// Now, swap the min & max values (spin boxes)
|
||||||
int temp = ui.actuatorMax->value();
|
int temp = ui->actuatorMax->value();
|
||||||
ui.actuatorMax->setValue(ui.actuatorMin->value());
|
ui->actuatorMax->setValue(ui->actuatorMin->value());
|
||||||
ui.actuatorMin->setValue(temp);
|
ui->actuatorMin->setValue(temp);
|
||||||
ui.actuatorNeutral->setInvertedAppearance(state);
|
ui->actuatorNeutral->setInvertedAppearance(state);
|
||||||
|
|
||||||
setChannelRange();
|
setChannelRange();
|
||||||
return;
|
return;
|
||||||
@ -331,9 +333,9 @@ void OutputChannelForm::sendChannelTest(int value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// update the label
|
// update the label
|
||||||
ui.actuatorValue->setValue(value);
|
ui->actuatorValue->setValue(value);
|
||||||
|
|
||||||
if (ui.actuatorLink->checkState() && parent()) {
|
if (ui->actuatorLink->checkState() && parent()) {
|
||||||
// the channel is linked to other channels
|
// the channel is linked to other channels
|
||||||
QList<OutputChannelForm *> outputChannelForms = parent()->findChildren<OutputChannelForm *>();
|
QList<OutputChannelForm *> outputChannelForms = parent()->findChildren<OutputChannelForm *>();
|
||||||
// set the linked channels of the parent widget to the same value
|
// set the linked channels of the parent widget to the same value
|
||||||
@ -341,24 +343,24 @@ void OutputChannelForm::sendChannelTest(int value)
|
|||||||
if (this == outputChannelForm) {
|
if (this == outputChannelForm) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!outputChannelForm->ui.actuatorLink->checkState()) {
|
if (!outputChannelForm->ui->actuatorLink->checkState()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int val = in_value;
|
int val = in_value;
|
||||||
if (val < outputChannelForm->ui.actuatorNeutral->minimum()) {
|
if (val < outputChannelForm->ui->actuatorNeutral->minimum()) {
|
||||||
val = outputChannelForm->ui.actuatorNeutral->minimum();
|
val = outputChannelForm->ui->actuatorNeutral->minimum();
|
||||||
}
|
}
|
||||||
if (val > outputChannelForm->ui.actuatorNeutral->maximum()) {
|
if (val > outputChannelForm->ui->actuatorNeutral->maximum()) {
|
||||||
val = outputChannelForm->ui.actuatorNeutral->maximum();
|
val = outputChannelForm->ui->actuatorNeutral->maximum();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (outputChannelForm->ui.actuatorNeutral->value() == val) {
|
if (outputChannelForm->ui->actuatorNeutral->value() == val) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
outputChannelForm->ui.actuatorNeutral->setValue(val);
|
outputChannelForm->ui->actuatorNeutral->setValue(val);
|
||||||
outputChannelForm->ui.actuatorValue->setValue(val);
|
outputChannelForm->ui->actuatorValue->setValue(val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,9 +29,12 @@
|
|||||||
|
|
||||||
#include "channelform.h"
|
#include "channelform.h"
|
||||||
#include "configoutputwidget.h"
|
#include "configoutputwidget.h"
|
||||||
#include "ui_outputchannelform.h"
|
|
||||||
|
|
||||||
#include <QWidget>
|
namespace Ui {
|
||||||
|
class outputChannelForm;
|
||||||
|
}
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class OutputChannelForm : public ChannelForm {
|
class OutputChannelForm : public ChannelForm {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -64,7 +67,7 @@ signals:
|
|||||||
void channelChanged(int index, int value);
|
void channelChanged(int index, int value);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::outputChannelForm ui;
|
Ui::outputChannelForm *ui;
|
||||||
bool m_inChannelTest;
|
bool m_inChannelTest;
|
||||||
QString m_mixerType;
|
QString m_mixerType;
|
||||||
|
|
||||||
|
@ -1,15 +1,21 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = ConsoleGadget
|
TARGET = ConsoleGadget
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
HEADERS += consoleplugin.h \
|
|
||||||
texteditloggerengine.h
|
HEADERS += \
|
||||||
HEADERS += consolegadget.h
|
consoleplugin.h \
|
||||||
HEADERS += consolegadgetwidget.h
|
texteditloggerengine.h \
|
||||||
HEADERS += consolegadgetfactory.h
|
consolegadget.h \
|
||||||
SOURCES += consoleplugin.cpp \
|
consolegadgetwidget.h \
|
||||||
texteditloggerengine.cpp
|
consolegadgetfactory.h
|
||||||
SOURCES += consolegadget.cpp
|
|
||||||
SOURCES += consolegadgetfactory.cpp
|
SOURCES += \
|
||||||
SOURCES += consolegadgetwidget.cpp
|
consoleplugin.cpp \
|
||||||
|
texteditloggerengine.cpp \
|
||||||
|
consolegadget.cpp \
|
||||||
|
consolegadgetfactory.cpp \
|
||||||
|
consolegadgetwidget.cpp
|
||||||
|
|
||||||
OTHER_FILES += ConsoleGadget.pluginspec
|
OTHER_FILES += ConsoleGadget.pluginspec
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = Core
|
TARGET = Core
|
||||||
|
|
||||||
DEFINES += CORE_LIBRARY
|
DEFINES += CORE_LIBRARY
|
||||||
|
|
||||||
QT += qml \
|
QT += widgets qml quick xml network script svg sql
|
||||||
quick \
|
|
||||||
xml \
|
|
||||||
network \
|
|
||||||
script \
|
|
||||||
svg \
|
|
||||||
sql
|
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../libs/utils/utils.pri)
|
include(../../libs/utils/utils.pri)
|
||||||
@ -17,15 +12,18 @@ include(../../shared/scriptwrapper/scriptwrapper.pri)
|
|||||||
include(coreplugin_dependencies.pri)
|
include(coreplugin_dependencies.pri)
|
||||||
include(authorsdialog.pri)
|
include(authorsdialog.pri)
|
||||||
|
|
||||||
INCLUDEPATH += dialogs \
|
INCLUDEPATH += \
|
||||||
|
dialogs \
|
||||||
uavgadgetmanager \
|
uavgadgetmanager \
|
||||||
actionmanager
|
actionmanager
|
||||||
|
|
||||||
DEPENDPATH += dialogs \
|
DEPENDPATH += \
|
||||||
|
dialogs \
|
||||||
uavgadgetmanager \
|
uavgadgetmanager \
|
||||||
actionmanager
|
actionmanager
|
||||||
|
|
||||||
SOURCES += mainwindow.cpp \
|
SOURCES += \
|
||||||
|
mainwindow.cpp \
|
||||||
tabpositionindicator.cpp \
|
tabpositionindicator.cpp \
|
||||||
fancyactionbar.cpp \
|
fancyactionbar.cpp \
|
||||||
fancytabwidget.cpp \
|
fancytabwidget.cpp \
|
||||||
@ -72,7 +70,8 @@ SOURCES += mainwindow.cpp \
|
|||||||
uavconfiginfo.cpp \
|
uavconfiginfo.cpp \
|
||||||
aboutdialog.cpp \
|
aboutdialog.cpp \
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += \
|
||||||
|
mainwindow.h \
|
||||||
tabpositionindicator.h \
|
tabpositionindicator.h \
|
||||||
fancyactionbar.h \
|
fancyactionbar.h \
|
||||||
fancytabwidget.h \
|
fancytabwidget.h \
|
||||||
@ -132,13 +131,15 @@ HEADERS += mainwindow.h \
|
|||||||
iconfigurableplugin.h \
|
iconfigurableplugin.h \
|
||||||
aboutdialog.h
|
aboutdialog.h
|
||||||
|
|
||||||
FORMS += dialogs/settingsdialog.ui \
|
FORMS += \
|
||||||
|
dialogs/settingsdialog.ui \
|
||||||
dialogs/shortcutsettings.ui \
|
dialogs/shortcutsettings.ui \
|
||||||
generalsettings.ui \
|
generalsettings.ui \
|
||||||
uavgadgetoptionspage.ui \
|
uavgadgetoptionspage.ui \
|
||||||
workspacesettings.ui
|
workspacesettings.ui
|
||||||
|
|
||||||
RESOURCES += core.qrc \
|
RESOURCES += \
|
||||||
|
core.qrc \
|
||||||
fancyactionbar.qrc
|
fancyactionbar.qrc
|
||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
|
@ -29,17 +29,17 @@
|
|||||||
|
|
||||||
#include "generalsettings.h"
|
#include "generalsettings.h"
|
||||||
|
|
||||||
|
#include "ui_generalsettings.h"
|
||||||
|
|
||||||
#include <utils/stylehelper.h>
|
#include <utils/stylehelper.h>
|
||||||
#include <utils/qtcolorbutton.h>
|
#include <utils/qtcolorbutton.h>
|
||||||
#include <utils/consoleprocess.h>
|
#include <utils/consoleprocess.h>
|
||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QtCore/QDir>
|
#include <QDir>
|
||||||
|
#include <QLibraryInfo>
|
||||||
#include <QtCore/QLibraryInfo>
|
#include <QSettings>
|
||||||
#include <QtCore/QSettings>
|
|
||||||
|
|
||||||
#include "ui_generalsettings.h"
|
|
||||||
|
|
||||||
using namespace Utils;
|
using namespace Utils;
|
||||||
using namespace Core::Internal;
|
using namespace Core::Internal;
|
||||||
|
@ -30,7 +30,8 @@
|
|||||||
#define GENERALSETTINGS_H
|
#define GENERALSETTINGS_H
|
||||||
|
|
||||||
#include <coreplugin/dialogs/ioptionspage.h>
|
#include <coreplugin/dialogs/ioptionspage.h>
|
||||||
#include <QtCore/QPointer>
|
|
||||||
|
#include <QPointer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
|
@ -31,12 +31,11 @@
|
|||||||
|
|
||||||
#include <coreplugin/icontext.h>
|
#include <coreplugin/icontext.h>
|
||||||
#include <coreplugin/core_global.h>
|
#include <coreplugin/core_global.h>
|
||||||
#include <QComboBox>
|
|
||||||
#include <QtCore/QSettings>
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class QComboBox;
|
class QComboBox;
|
||||||
|
class QSettings;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
@ -1,18 +1,24 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = DebugGadget
|
TARGET = DebugGadget
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
HEADERS += debugplugin.h \
|
|
||||||
debugengine.h
|
HEADERS += \
|
||||||
HEADERS += debuggadget.h
|
debugplugin.h \
|
||||||
HEADERS += debuggadgetwidget.h
|
debugengine.h \
|
||||||
HEADERS += debuggadgetfactory.h
|
debuggadget.h \
|
||||||
SOURCES += debugplugin.cpp \
|
debuggadgetwidget.h \
|
||||||
debugengine.cpp
|
debuggadgetfactory.h
|
||||||
SOURCES += debuggadget.cpp
|
|
||||||
SOURCES += debuggadgetfactory.cpp
|
SOURCES += \
|
||||||
SOURCES += debuggadgetwidget.cpp
|
debugplugin.cpp \
|
||||||
|
debugengine.cpp \
|
||||||
|
debuggadget.cpp \
|
||||||
|
debuggadgetfactory.cpp \
|
||||||
|
debuggadgetwidget.cpp
|
||||||
|
|
||||||
OTHER_FILES += DebugGadget.pluginspec
|
OTHER_FILES += DebugGadget.pluginspec
|
||||||
|
|
||||||
|
@ -1,22 +1,30 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = DialGadget
|
TARGET = DialGadget
|
||||||
QT += svg
|
|
||||||
QT += opengl
|
QT += svg opengl
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(dial_dependencies.pri)
|
include(dial_dependencies.pri)
|
||||||
HEADERS += dialplugin.h
|
|
||||||
HEADERS += dialgadget.h
|
HEADERS += \
|
||||||
HEADERS += dialgadgetwidget.h
|
dialplugin.h \
|
||||||
HEADERS += dialgadgetfactory.h
|
dialgadget.h \
|
||||||
HEADERS += dialgadgetconfiguration.h
|
dialgadgetwidget.h \
|
||||||
HEADERS += dialgadgetoptionspage.h
|
dialgadgetfactory.h \
|
||||||
SOURCES += dialplugin.cpp
|
dialgadgetconfiguration.h \
|
||||||
SOURCES += dialgadget.cpp
|
dialgadgetoptionspage.h
|
||||||
SOURCES += dialgadgetfactory.cpp
|
|
||||||
SOURCES += dialgadgetwidget.cpp
|
SOURCES += \
|
||||||
SOURCES += dialgadgetconfiguration.cpp
|
dialplugin.cpp \
|
||||||
SOURCES += dialgadgetoptionspage.cpp
|
dialgadget.cpp \
|
||||||
|
dialgadgetfactory.cpp \
|
||||||
|
dialgadgetwidget.cpp \
|
||||||
|
dialgadgetconfiguration.cpp \
|
||||||
|
dialgadgetoptionspage.cpp
|
||||||
|
|
||||||
OTHER_FILES += DialGadget.pluginspec
|
OTHER_FILES += DialGadget.pluginspec
|
||||||
|
|
||||||
FORMS += dialgadgetoptionspage.ui
|
FORMS += dialgadgetoptionspage.ui
|
||||||
|
|
||||||
RESOURCES += dial.qrc
|
RESOURCES += dial.qrc
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = DoNothing
|
TARGET = DoNothing
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
|
|
||||||
HEADERS += donothingplugin.h
|
HEADERS += \
|
||||||
SOURCES += donothingplugin.cpp
|
donothingplugin.h
|
||||||
|
|
||||||
|
SOURCES += \
|
||||||
|
donothingplugin.cpp
|
||||||
|
|
||||||
OTHER_FILES += DoNothing.pluginspec
|
OTHER_FILES += DoNothing.pluginspec
|
@ -1,16 +1,21 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = EmptyGadget
|
TARGET = EmptyGadget
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
|
|
||||||
HEADERS += emptyplugin.h
|
HEADERS += \
|
||||||
HEADERS += emptygadget.h
|
emptyplugin.h \
|
||||||
HEADERS += emptygadgetwidget.h
|
emptygadget.h \
|
||||||
HEADERS += emptygadgetfactory.h
|
emptygadgetwidget.h \
|
||||||
SOURCES += emptyplugin.cpp
|
emptygadgetfactory.h
|
||||||
SOURCES += emptygadget.cpp
|
|
||||||
SOURCES += emptygadgetfactory.cpp
|
SOURCES += \
|
||||||
SOURCES += emptygadgetwidget.cpp
|
emptyplugin.cpp \
|
||||||
|
emptygadget.cpp \
|
||||||
|
emptygadgetfactory.cpp \
|
||||||
|
emptygadgetwidget.cpp
|
||||||
|
|
||||||
OTHER_FILES += EmptyGadget.pluginspec
|
OTHER_FILES += EmptyGadget.pluginspec
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = FlightLog
|
TARGET = FlightLog
|
||||||
|
|
||||||
QT += qml quick
|
QT += widgets qml quick
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
@ -9,12 +9,16 @@ include(../../plugins/uavobjects/uavobjects.pri)
|
|||||||
include(../../plugins/uavobjectutil/uavobjectutil.pri)
|
include(../../plugins/uavobjectutil/uavobjectutil.pri)
|
||||||
include(../../plugins/uavtalk/uavtalk.pri)
|
include(../../plugins/uavtalk/uavtalk.pri)
|
||||||
|
|
||||||
HEADERS += flightlogplugin.h \
|
HEADERS += \
|
||||||
|
flightlogplugin.h \
|
||||||
flightlogmanager.h
|
flightlogmanager.h
|
||||||
SOURCES += flightlogplugin.cpp \
|
|
||||||
|
SOURCES += \
|
||||||
|
flightlogplugin.cpp \
|
||||||
flightlogmanager.cpp
|
flightlogmanager.cpp
|
||||||
|
|
||||||
OTHER_FILES += Flightlog.pluginspec \
|
OTHER_FILES += \
|
||||||
|
Flightlog.pluginspec \
|
||||||
FlightLogDialog.qml \
|
FlightLogDialog.qml \
|
||||||
functions.js
|
functions.js
|
||||||
|
|
||||||
|
@ -1,36 +1,45 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = GpsDisplayGadget
|
TARGET = GpsDisplayGadget
|
||||||
QT += svg
|
|
||||||
QT += serialport
|
QT += svg serialport
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(gpsdisplay_dependencies.pri)
|
include(gpsdisplay_dependencies.pri)
|
||||||
include(../../libs/qwt/qwt.pri)
|
include(../../libs/qwt/qwt.pri)
|
||||||
HEADERS += gpsdisplayplugin.h
|
|
||||||
HEADERS += gpsconstellationwidget.h
|
HEADERS += \
|
||||||
HEADERS += gpsparser.h
|
gpsdisplayplugin.h \
|
||||||
HEADERS += telemetryparser.h
|
gpsconstellationwidget.h \
|
||||||
HEADERS += gpssnrwidget.h
|
gpsparser.h \
|
||||||
HEADERS += buffer.h
|
telemetryparser.h \
|
||||||
HEADERS += nmeaparser.h
|
gpssnrwidget.h \
|
||||||
HEADERS += gpsdisplaygadget.h
|
buffer.h \
|
||||||
HEADERS += gpsdisplaywidget.h
|
nmeaparser.h \
|
||||||
HEADERS += gpsdisplaygadgetfactory.h
|
gpsdisplaygadget.h \
|
||||||
HEADERS += gpsdisplaygadgetconfiguration.h
|
gpsdisplaywidget.h \
|
||||||
HEADERS += gpsdisplaygadgetoptionspage.h
|
gpsdisplaygadgetfactory.h \
|
||||||
SOURCES += gpsdisplayplugin.cpp
|
gpsdisplaygadgetconfiguration.h \
|
||||||
SOURCES += gpsconstellationwidget.cpp
|
gpsdisplaygadgetoptionspage.h
|
||||||
SOURCES += gpsparser.cpp
|
|
||||||
SOURCES += telemetryparser.cpp
|
SOURCES += \
|
||||||
SOURCES += gpssnrwidget.cpp
|
gpsdisplayplugin.cpp \
|
||||||
SOURCES += buffer.cpp
|
gpsconstellationwidget.cpp \
|
||||||
SOURCES += nmeaparser.cpp
|
gpsparser.cpp \
|
||||||
SOURCES += gpsdisplaygadget.cpp
|
telemetryparser.cpp \
|
||||||
SOURCES += gpsdisplaygadgetfactory.cpp
|
gpssnrwidget.cpp \
|
||||||
SOURCES += gpsdisplaywidget.cpp
|
buffer.cpp \
|
||||||
SOURCES += gpsdisplaygadgetconfiguration.cpp
|
nmeaparser.cpp \
|
||||||
SOURCES += gpsdisplaygadgetoptionspage.cpp
|
gpsdisplaygadget.cpp \
|
||||||
|
gpsdisplaygadgetfactory.cpp \
|
||||||
|
gpsdisplaywidget.cpp \
|
||||||
|
gpsdisplaygadgetconfiguration.cpp \
|
||||||
|
gpsdisplaygadgetoptionspage.cpp
|
||||||
|
|
||||||
OTHER_FILES += GpsDisplayGadget.pluginspec
|
OTHER_FILES += GpsDisplayGadget.pluginspec
|
||||||
FORMS += gpsdisplaygadgetoptionspage.ui
|
|
||||||
FORMS += gpsdisplaywidget.ui
|
FORMS += \
|
||||||
|
gpsdisplaygadgetoptionspage.ui \
|
||||||
|
gpsdisplaywidget.ui
|
||||||
|
|
||||||
RESOURCES += widgetresources.qrc
|
RESOURCES += widgetresources.qrc
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
include(../../../../../gcs.pri)
|
TEMPLATE = app
|
||||||
|
TARGET = udp_test
|
||||||
|
|
||||||
QT += core gui network widgets
|
QT += core gui network widgets
|
||||||
|
|
||||||
TEMPLATE = app
|
include(../../../../../gcs.pri)
|
||||||
TARGET = udp_test
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
udptestwidget.h
|
udptestwidget.h
|
||||||
|
@ -25,12 +25,8 @@
|
|||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "hitlwidget.h"
|
#include "hitlwidget.h"
|
||||||
|
|
||||||
#include "ui_hitlwidget.h"
|
#include "ui_hitlwidget.h"
|
||||||
#include <QDebug>
|
|
||||||
#include <QFile>
|
|
||||||
#include <QDir>
|
|
||||||
#include <QDateTime>
|
|
||||||
#include <QThread>
|
|
||||||
|
|
||||||
#include <hitlplugin.h>
|
#include <hitlplugin.h>
|
||||||
#include <simulator.h>
|
#include <simulator.h>
|
||||||
@ -38,6 +34,11 @@
|
|||||||
#include "coreplugin/icore.h"
|
#include "coreplugin/icore.h"
|
||||||
#include "coreplugin/threadmanager.h"
|
#include "coreplugin/threadmanager.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QFile>
|
||||||
|
#include <QDir>
|
||||||
|
#include <QDateTime>
|
||||||
|
#include <QThread>
|
||||||
|
|
||||||
QStringList Simulator::instances;
|
QStringList Simulator::instances;
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
#ifndef HITLWIDGET_H
|
#ifndef HITLWIDGET_H
|
||||||
#define HITLWIDGET_H
|
#define HITLWIDGET_H
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
#include <QProcess>
|
|
||||||
#include "simulator.h"
|
#include "simulator.h"
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
class Ui_HITLWidget;
|
class Ui_HITLWidget;
|
||||||
|
|
||||||
class HITLWidget : public QWidget {
|
class HITLWidget : public QWidget {
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = HITL
|
TARGET = HITL
|
||||||
QT += network
|
|
||||||
|
QT += widgets network
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(hitl_dependencies.pri)
|
include(hitl_dependencies.pri)
|
||||||
|
|
||||||
HEADERS += hitlplugin.h \
|
HEADERS += \
|
||||||
|
hitlplugin.h \
|
||||||
hitlwidget.h \
|
hitlwidget.h \
|
||||||
hitloptionspage.h \
|
hitloptionspage.h \
|
||||||
hitlfactory.h \
|
hitlfactory.h \
|
||||||
@ -18,7 +20,9 @@ HEADERS += hitlplugin.h \
|
|||||||
il2simulator.h \
|
il2simulator.h \
|
||||||
xplanesimulator9.h \
|
xplanesimulator9.h \
|
||||||
xplanesimulator10.h
|
xplanesimulator10.h
|
||||||
SOURCES += hitlplugin.cpp \
|
|
||||||
|
SOURCES += \
|
||||||
|
hitlplugin.cpp \
|
||||||
hitlwidget.cpp \
|
hitlwidget.cpp \
|
||||||
hitloptionspage.cpp \
|
hitloptionspage.cpp \
|
||||||
hitlfactory.cpp \
|
hitlfactory.cpp \
|
||||||
@ -31,9 +35,13 @@ SOURCES += hitlplugin.cpp \
|
|||||||
il2simulator.cpp \
|
il2simulator.cpp \
|
||||||
xplanesimulator9.cpp \
|
xplanesimulator9.cpp \
|
||||||
xplanesimulator10.cpp
|
xplanesimulator10.cpp
|
||||||
|
|
||||||
OTHER_FILES += hitl.pluginspec
|
OTHER_FILES += hitl.pluginspec
|
||||||
FORMS += hitloptionspage.ui \
|
|
||||||
|
FORMS += \
|
||||||
|
hitloptionspage.ui \
|
||||||
hitlwidget.ui
|
hitlwidget.ui
|
||||||
|
|
||||||
RESOURCES += hitlresources.qrc
|
RESOURCES += hitlresources.qrc
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,15 +1,25 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = ImportExportGadget
|
TARGET = ImportExportGadget
|
||||||
|
|
||||||
DEFINES += IMPORTEXPORT_LIBRARY
|
DEFINES += IMPORTEXPORT_LIBRARY
|
||||||
QT += xml
|
|
||||||
|
QT += xml widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(importexport_dependencies.pri)
|
include(importexport_dependencies.pri)
|
||||||
HEADERS += importexportplugin.h \
|
|
||||||
|
HEADERS += \
|
||||||
|
importexportplugin.h \
|
||||||
importexportgadgetwidget.h \
|
importexportgadgetwidget.h \
|
||||||
importexportdialog.h
|
importexportdialog.h
|
||||||
SOURCES += importexportplugin.cpp \
|
|
||||||
|
SOURCES += \
|
||||||
|
importexportplugin.cpp \
|
||||||
importexportgadgetwidget.cpp \
|
importexportgadgetwidget.cpp \
|
||||||
importexportdialog.cpp
|
importexportdialog.cpp
|
||||||
|
|
||||||
OTHER_FILES += ImportExportGadget.pluginspec
|
OTHER_FILES += ImportExportGadget.pluginspec
|
||||||
FORMS += importexportgadgetwidget.ui \
|
|
||||||
|
FORMS += \
|
||||||
|
importexportgadgetwidget.ui \
|
||||||
importexportdialog.ui
|
importexportdialog.ui
|
||||||
|
@ -1,17 +1,27 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = IPconnection
|
TARGET = IPconnection
|
||||||
|
|
||||||
|
QT += network widgets
|
||||||
|
|
||||||
|
DEFINES += IPconnection_LIBRARY
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(ipconnection_dependencies.pri)
|
include(ipconnection_dependencies.pri)
|
||||||
HEADERS += ipconnectionplugin.h \
|
|
||||||
|
HEADERS += \
|
||||||
|
ipconnectionplugin.h \
|
||||||
ipconnection_global.h \
|
ipconnection_global.h \
|
||||||
ipconnectionconfiguration.h \
|
ipconnectionconfiguration.h \
|
||||||
ipconnectionoptionspage.h \
|
ipconnectionoptionspage.h \
|
||||||
ipconnection_internal.h
|
ipconnection_internal.h
|
||||||
SOURCES += ipconnectionplugin.cpp \
|
|
||||||
|
SOURCES += \
|
||||||
|
ipconnectionplugin.cpp \
|
||||||
ipconnectionconfiguration.cpp \
|
ipconnectionconfiguration.cpp \
|
||||||
ipconnectionoptionspage.cpp
|
ipconnectionoptionspage.cpp
|
||||||
|
|
||||||
FORMS += ipconnectionoptionspage.ui
|
FORMS += ipconnectionoptionspage.ui
|
||||||
|
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
DEFINES += IPconnection_LIBRARY
|
|
||||||
OTHER_FILES += IPconnection.pluginspec
|
OTHER_FILES += IPconnection.pluginspec
|
||||||
QT += network
|
|
||||||
|
@ -1,22 +1,30 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = LineardialGadget
|
TARGET = LineardialGadget
|
||||||
QT += svg
|
|
||||||
QT += opengl
|
QT += widgets svg opengl
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(lineardial_dependencies.pri)
|
include(lineardial_dependencies.pri)
|
||||||
HEADERS += lineardialplugin.h
|
|
||||||
HEADERS += lineardialgadget.h
|
HEADERS += \
|
||||||
HEADERS += lineardialgadgetwidget.h
|
lineardialplugin.h \
|
||||||
HEADERS += lineardialgadgetfactory.h
|
lineardialgadget.h \
|
||||||
HEADERS += lineardialgadgetconfiguration.h
|
lineardialgadgetwidget.h \
|
||||||
HEADERS += lineardialgadgetoptionspage.h
|
lineardialgadgetfactory.h \
|
||||||
SOURCES += lineardialplugin.cpp
|
lineardialgadgetconfiguration.h \
|
||||||
SOURCES += lineardialgadget.cpp
|
lineardialgadgetoptionspage.h
|
||||||
SOURCES += lineardialgadgetfactory.cpp
|
|
||||||
SOURCES += lineardialgadgetwidget.cpp
|
SOURCES += \
|
||||||
SOURCES += lineardialgadgetconfiguration.cpp
|
lineardialplugin.cpp \
|
||||||
SOURCES += lineardialgadgetoptionspage.cpp
|
lineardialgadget.cpp \
|
||||||
|
lineardialgadgetfactory.cpp \
|
||||||
|
lineardialgadgetwidget.cpp \
|
||||||
|
lineardialgadgetconfiguration.cpp \
|
||||||
|
lineardialgadgetoptionspage.cpp
|
||||||
|
|
||||||
OTHER_FILES += LineardialGadget.pluginspec
|
OTHER_FILES += LineardialGadget.pluginspec
|
||||||
|
|
||||||
FORMS += lineardialgadgetoptionspage.ui
|
FORMS += lineardialgadgetoptionspage.ui
|
||||||
|
|
||||||
RESOURCES += lineardial.qrc
|
RESOURCES += lineardial.qrc
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
|
|
||||||
TARGET = LoggingGadget
|
TARGET = LoggingGadget
|
||||||
|
|
||||||
DEFINES += LOGGING_LIBRARY
|
DEFINES += LOGGING_LIBRARY
|
||||||
|
|
||||||
QT += svg
|
QT += svg
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(logging_dependencies.pri)
|
include(logging_dependencies.pri)
|
||||||
HEADERS += loggingplugin.h \
|
|
||||||
|
HEADERS += \
|
||||||
|
loggingplugin.h \
|
||||||
logginggadgetwidget.h \
|
logginggadgetwidget.h \
|
||||||
logginggadget.h \
|
logginggadget.h \
|
||||||
logginggadgetfactory.h
|
logginggadgetfactory.h
|
||||||
|
|
||||||
SOURCES += loggingplugin.cpp \
|
SOURCES += \
|
||||||
|
loggingplugin.cpp \
|
||||||
logginggadgetwidget.cpp \
|
logginggadgetwidget.cpp \
|
||||||
logginggadget.cpp \
|
logginggadget.cpp \
|
||||||
logginggadgetfactory.cpp
|
logginggadgetfactory.cpp
|
||||||
|
@ -1,22 +1,25 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = MagicWaypoint
|
TARGET = MagicWaypoint
|
||||||
|
|
||||||
QT += svg
|
QT += svg
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(../../plugins/uavobjects/uavobjects.pri)
|
include(../../plugins/uavobjects/uavobjects.pri)
|
||||||
|
|
||||||
HEADERS += magicwaypointgadget.h
|
HEADERS += \
|
||||||
HEADERS += magicwaypointgadgetwidget.h
|
magicwaypointgadget.h \
|
||||||
HEADERS += magicwaypointgadgetfactory.h
|
magicwaypointgadgetwidget.h \
|
||||||
HEADERS += magicwaypointplugin.h
|
magicwaypointgadgetfactory.h \
|
||||||
HEADERS += positionfield.h
|
magicwaypointplugin.h \
|
||||||
|
positionfield.h
|
||||||
|
|
||||||
SOURCES += magicwaypointgadget.cpp
|
SOURCES += \
|
||||||
SOURCES += magicwaypointgadgetwidget.cpp
|
magicwaypointgadget.cpp \
|
||||||
SOURCES += magicwaypointgadgetfactory.cpp
|
magicwaypointgadgetwidget.cpp \
|
||||||
SOURCES += magicwaypointplugin.cpp
|
magicwaypointgadgetfactory.cpp \
|
||||||
SOURCES += positionfield.cpp
|
magicwaypointplugin.cpp \
|
||||||
|
positionfield.cpp
|
||||||
|
|
||||||
OTHER_FILES += MagicWaypoint.pluginspec
|
OTHER_FILES += MagicWaypoint.pluginspec
|
||||||
|
|
||||||
|
@ -1,21 +1,22 @@
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = NotifyPlugin
|
TARGET = NotifyPlugin
|
||||||
|
|
||||||
|
QT += widgets multimedia
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(notifyplugin_dependencies.pri)
|
include(notifyplugin_dependencies.pri)
|
||||||
|
|
||||||
QT += multimedia
|
HEADERS += \
|
||||||
|
notifyplugin.h \
|
||||||
HEADERS += notifyplugin.h \
|
|
||||||
notifypluginoptionspage.h \
|
notifypluginoptionspage.h \
|
||||||
notifyitemdelegate.h \
|
notifyitemdelegate.h \
|
||||||
notifytablemodel.h \
|
notifytablemodel.h \
|
||||||
notificationitem.h \
|
notificationitem.h \
|
||||||
notifylogging.h
|
notifylogging.h
|
||||||
|
|
||||||
SOURCES += notifyplugin.cpp \
|
SOURCES += \
|
||||||
|
notifyplugin.cpp \
|
||||||
notifypluginoptionspage.cpp \
|
notifypluginoptionspage.cpp \
|
||||||
notifyitemdelegate.cpp \
|
notifyitemdelegate.cpp \
|
||||||
notifytablemodel.cpp \
|
notifytablemodel.cpp \
|
||||||
@ -29,5 +30,3 @@ FORMS += \
|
|||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
res.qrc
|
res.qrc
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
include(../../plugins/uavtalk/uavtalk.pri)
|
include(../../plugins/uavtalk/uavtalk.pri)
|
||||||
include(../../plugins/uavobjects/uavobjects.pri)
|
include(../../plugins/uavobjects/uavobjects.pri)
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = opHID
|
TARGET = opHID
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
DEFINES += OPHID_LIBRARY
|
DEFINES += OPHID_LIBRARY
|
||||||
|
|
||||||
//DEFINES += OPHID_DEBUG_ON
|
//DEFINES += OPHID_DEBUG_ON
|
||||||
@ -25,7 +27,9 @@ SOURCES += \
|
|||||||
src/ophid_hidapi.cpp
|
src/ophid_hidapi.cpp
|
||||||
|
|
||||||
FORMS +=
|
FORMS +=
|
||||||
|
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
|
|
||||||
OTHER_FILES += opHID.pluginspec
|
OTHER_FILES += opHID.pluginspec
|
||||||
|
|
||||||
INCLUDEPATH += ./inc
|
INCLUDEPATH += ./inc
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
QT += xml
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
|
TARGET = OPMapGadget
|
||||||
|
|
||||||
|
QT += widgets xml
|
||||||
|
|
||||||
PATHPLANNER {
|
PATHPLANNER {
|
||||||
DEFINES += USE_PATHPLANNER
|
DEFINES += USE_PATHPLANNER
|
||||||
}
|
}
|
||||||
|
|
||||||
TARGET = OPMapGadget
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(../../libs/opmapcontrol/opmapcontrol.pri)
|
include(../../libs/opmapcontrol/opmapcontrol.pri)
|
||||||
@ -13,7 +15,8 @@ include(../../plugins/uavobjectutil/uavobjectutil.pri)
|
|||||||
include(../../plugins/uavtalk/uavtalk.pri)
|
include(../../plugins/uavtalk/uavtalk.pri)
|
||||||
include(../../libs/utils/utils.pri)
|
include(../../libs/utils/utils.pri)
|
||||||
|
|
||||||
HEADERS += opmapplugin.h \
|
HEADERS += \
|
||||||
|
opmapplugin.h \
|
||||||
opmapgadgetoptionspage.h \
|
opmapgadgetoptionspage.h \
|
||||||
opmapgadgetfactory.h \
|
opmapgadgetfactory.h \
|
||||||
opmapgadgetconfiguration.h \
|
opmapgadgetconfiguration.h \
|
||||||
@ -29,7 +32,8 @@ HEADERS += opmapplugin.h \
|
|||||||
modeluavoproxy.h \
|
modeluavoproxy.h \
|
||||||
homeeditor.h
|
homeeditor.h
|
||||||
|
|
||||||
SOURCES += opmapplugin.cpp \
|
SOURCES += \
|
||||||
|
opmapplugin.cpp \
|
||||||
opmapgadgetwidget.cpp \
|
opmapgadgetwidget.cpp \
|
||||||
opmapgadgetoptionspage.cpp \
|
opmapgadgetoptionspage.cpp \
|
||||||
opmapgadgetfactory.cpp \
|
opmapgadgetfactory.cpp \
|
||||||
@ -47,7 +51,8 @@ SOURCES += opmapplugin.cpp \
|
|||||||
|
|
||||||
OTHER_FILES += OPMapGadget.pluginspec
|
OTHER_FILES += OPMapGadget.pluginspec
|
||||||
|
|
||||||
FORMS += opmapgadgetoptionspage.ui \
|
FORMS += \
|
||||||
|
opmapgadgetoptionspage.ui \
|
||||||
opmap_widget.ui \
|
opmap_widget.ui \
|
||||||
opmap_edit_waypoint_dialog.ui \
|
opmap_edit_waypoint_dialog.ui \
|
||||||
opmap_zoom_slider_widget.ui \
|
opmap_zoom_slider_widget.ui \
|
||||||
|
@ -1,33 +1,34 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = PathActionEditor
|
TARGET = PathActionEditor
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(../../plugins/uavobjects/uavobjects.pri)
|
include(../../plugins/uavobjects/uavobjects.pri)
|
||||||
|
|
||||||
HEADERS += pathactioneditorgadget.h
|
HEADERS += \
|
||||||
HEADERS += pathactioneditorgadgetwidget.h
|
pathactioneditorgadget.h \
|
||||||
HEADERS += pathactioneditorgadgetfactory.h
|
pathactioneditorgadgetwidget.h \
|
||||||
HEADERS += pathactioneditorplugin.h
|
pathactioneditorgadgetfactory.h \
|
||||||
HEADERS += pathactioneditortreemodel.h
|
pathactioneditorplugin.h \
|
||||||
HEADERS += treeitem.h
|
pathactioneditortreemodel.h \
|
||||||
HEADERS += fieldtreeitem.h
|
treeitem.h \
|
||||||
HEADERS += browseritemdelegate.h
|
fieldtreeitem.h \
|
||||||
|
browseritemdelegate.h
|
||||||
SOURCES += pathactioneditorgadget.cpp
|
|
||||||
SOURCES += pathactioneditorgadgetwidget.cpp
|
|
||||||
SOURCES += pathactioneditorgadgetfactory.cpp
|
|
||||||
SOURCES += pathactioneditorplugin.cpp
|
|
||||||
SOURCES += pathactioneditortreemodel.cpp
|
|
||||||
SOURCES += treeitem.cpp
|
|
||||||
SOURCES += fieldtreeitem.cpp
|
|
||||||
SOURCES += browseritemdelegate.cpp
|
|
||||||
|
|
||||||
|
SOURCES += \
|
||||||
|
pathactioneditorgadget.cpp \
|
||||||
|
pathactioneditorgadgetwidget.cpp \
|
||||||
|
pathactioneditorgadgetfactory.cpp \
|
||||||
|
pathactioneditorplugin.cpp \
|
||||||
|
pathactioneditortreemodel.cpp \
|
||||||
|
treeitem.cpp \
|
||||||
|
fieldtreeitem.cpp \
|
||||||
|
browseritemdelegate.cpp
|
||||||
|
|
||||||
OTHER_FILES += pathactioneditor.pluginspec
|
OTHER_FILES += pathactioneditor.pluginspec
|
||||||
|
|
||||||
FORMS += pathactioneditor.ui
|
FORMS += pathactioneditor.ui
|
||||||
|
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,12 +27,14 @@
|
|||||||
#ifndef PathActionEditorGADGETWIDGET_H_
|
#ifndef PathActionEditorGADGETWIDGET_H_
|
||||||
#define PathActionEditorGADGETWIDGET_H_
|
#define PathActionEditorGADGETWIDGET_H_
|
||||||
|
|
||||||
|
#include "pathactioneditortreemodel.h"
|
||||||
|
|
||||||
|
#include "pathaction.h"
|
||||||
|
#include "waypoint.h"
|
||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTreeView>
|
#include <QTreeView>
|
||||||
#include "pathaction.h"
|
|
||||||
#include "waypoint.h"
|
|
||||||
#include "pathactioneditortreemodel.h"
|
|
||||||
|
|
||||||
class Ui_PathActionEditor;
|
class Ui_PathActionEditor;
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ plugin_ipconnection.subdir = ipconnection
|
|||||||
plugin_ipconnection.depends = plugin_coreplugin
|
plugin_ipconnection.depends = plugin_coreplugin
|
||||||
SUBDIRS += plugin_ipconnection
|
SUBDIRS += plugin_ipconnection
|
||||||
|
|
||||||
#HITL Simulation gadget
|
# HITL Simulation gadget
|
||||||
plugin_hitl.subdir = hitl
|
plugin_hitl.subdir = hitl
|
||||||
plugin_hitl.depends = plugin_coreplugin
|
plugin_hitl.depends = plugin_coreplugin
|
||||||
plugin_hitl.depends += plugin_uavobjects
|
plugin_hitl.depends += plugin_uavobjects
|
||||||
@ -188,12 +188,6 @@ SUBDIRS += plugin_gcscontrol
|
|||||||
#plugin_antennatrack.depends += plugin_uavobjects
|
#plugin_antennatrack.depends += plugin_uavobjects
|
||||||
#SUBDIRS += plugin_antennatrack
|
#SUBDIRS += plugin_antennatrack
|
||||||
|
|
||||||
# Scope OpenGL Gadget
|
|
||||||
#plugin_scopeogl.subdir = scopeogl
|
|
||||||
#plugin_scopeogl.depends = plugin_coreplugin
|
|
||||||
#plugin_scopeogl.depends += plugin_uavobjects
|
|
||||||
#SUBDIRS += plugin_scopeogl
|
|
||||||
|
|
||||||
# UAV Object Utility plugin
|
# UAV Object Utility plugin
|
||||||
plugin_uavobjectutil.subdir = uavobjectutil
|
plugin_uavobjectutil.subdir = uavobjectutil
|
||||||
plugin_uavobjectutil.depends = plugin_coreplugin
|
plugin_uavobjectutil.depends = plugin_coreplugin
|
||||||
@ -244,4 +238,3 @@ plugin_usagetracker.depends += plugin_uavobjects
|
|||||||
plugin_usagetracker.depends += plugin_uavtalk
|
plugin_usagetracker.depends += plugin_uavtalk
|
||||||
plugin_setupwizard.depends += plugin_uavobjectutil
|
plugin_setupwizard.depends += plugin_uavobjectutil
|
||||||
SUBDIRS += plugin_usagetracker
|
SUBDIRS += plugin_usagetracker
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = QMLView
|
TARGET = QMLView
|
||||||
QT += svg
|
|
||||||
QT += opengl
|
QT += svg opengl qml quick
|
||||||
QT += qml quick
|
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = ScopeGadget
|
TARGET = ScopeGadget
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
DEFINES += SCOPE_LIBRARY
|
DEFINES += SCOPE_LIBRARY
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
|
@ -1,15 +1,24 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = Serial
|
TARGET = Serial
|
||||||
|
|
||||||
|
QT += serialport widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(serial_dependencies.pri)
|
include(serial_dependencies.pri)
|
||||||
QT += serialport
|
|
||||||
HEADERS += serialplugin.h \
|
HEADERS += \
|
||||||
serialpluginconfiguration.h \
|
serialplugin.h \
|
||||||
serialpluginoptionspage.h
|
serialpluginconfiguration.h \
|
||||||
SOURCES += serialplugin.cpp \
|
serialpluginoptionspage.h
|
||||||
serialpluginconfiguration.cpp \
|
|
||||||
serialpluginoptionspage.cpp
|
SOURCES += \
|
||||||
|
serialplugin.cpp \
|
||||||
|
serialpluginconfiguration.cpp \
|
||||||
|
serialpluginoptionspage.cpp
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
serialpluginoptions.ui
|
serialpluginoptions.ui
|
||||||
|
|
||||||
RESOURCES +=
|
RESOURCES +=
|
||||||
|
|
||||||
OTHER_FILES += Serial.pluginspec
|
OTHER_FILES += Serial.pluginspec
|
||||||
|
@ -30,12 +30,8 @@
|
|||||||
#include <extensionsystem/pluginmanager.h>
|
#include <extensionsystem/pluginmanager.h>
|
||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
|
|
||||||
#include <QtCore/QtPlugin>
|
|
||||||
#include <QMainWindow>
|
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
|
||||||
SerialEnumerationThread::SerialEnumerationThread(SerialConnection *serial)
|
SerialEnumerationThread::SerialEnumerationThread(SerialConnection *serial)
|
||||||
: m_serial(serial), m_running(false)
|
: m_serial(serial), m_running(false)
|
||||||
{}
|
{}
|
||||||
|
@ -27,12 +27,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "outputcalibrationutil.h"
|
#include "outputcalibrationutil.h"
|
||||||
|
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "vehicleconfigurationhelper.h"
|
#include "vehicleconfigurationhelper.h"
|
||||||
|
|
||||||
#include "manualcontrolsettings.h"
|
#include "manualcontrolsettings.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
bool OutputCalibrationUtil::c_prepared = false;
|
bool OutputCalibrationUtil::c_prepared = false;
|
||||||
ActuatorCommand::Metadata OutputCalibrationUtil::c_savedActuatorCommandMetaData;
|
ActuatorCommand::Metadata OutputCalibrationUtil::c_savedActuatorCommandMetaData;
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
#define OUTPUTCALIBRATIONUTIL_H
|
#define OUTPUTCALIBRATIONUTIL_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include "actuatorcommand.h"
|
|
||||||
|
|
||||||
|
#include "actuatorcommand.h"
|
||||||
|
|
||||||
class OutputCalibrationUtil : public QObject {
|
class OutputCalibrationUtil : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -26,11 +26,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
#include "savepage.h"
|
#include "savepage.h"
|
||||||
#include "ui_savepage.h"
|
#include "ui_savepage.h"
|
||||||
#include "setupwizard.h"
|
#include "setupwizard.h"
|
||||||
#include "vehicleconfigurationhelper.h"
|
#include "vehicleconfigurationhelper.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
SavePage::SavePage(SetupWizard *wizard, QWidget *parent) :
|
SavePage::SavePage(SetupWizard *wizard, QWidget *parent) :
|
||||||
AbstractWizardPage(wizard, parent),
|
AbstractWizardPage(wizard, parent),
|
||||||
ui(new Ui::SavePage), m_successfulWrite(false)
|
ui(new Ui::SavePage), m_successfulWrite(false)
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = SetupWizard
|
TARGET = SetupWizard
|
||||||
QT += svg
|
|
||||||
|
|
||||||
|
QT += widgets svg
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
@ -10,7 +9,9 @@ include(../../plugins/uavobjectutil/uavobjectutil.pri)
|
|||||||
include(../../plugins/config/config.pri)
|
include(../../plugins/config/config.pri)
|
||||||
|
|
||||||
LIBS *= -l$$qtLibraryName(Uploader)
|
LIBS *= -l$$qtLibraryName(Uploader)
|
||||||
HEADERS += setupwizardplugin.h \
|
|
||||||
|
HEADERS += \
|
||||||
|
setupwizardplugin.h \
|
||||||
setupwizard.h \
|
setupwizard.h \
|
||||||
pages/opstartpage.h \
|
pages/opstartpage.h \
|
||||||
pages/opendpage.h \
|
pages/opendpage.h \
|
||||||
@ -44,7 +45,8 @@ HEADERS += setupwizardplugin.h \
|
|||||||
vehicletemplateexportdialog.h \
|
vehicletemplateexportdialog.h \
|
||||||
vehicletemplateselectorwidget.h
|
vehicletemplateselectorwidget.h
|
||||||
|
|
||||||
SOURCES += setupwizardplugin.cpp \
|
SOURCES += \
|
||||||
|
setupwizardplugin.cpp \
|
||||||
setupwizard.cpp \
|
setupwizard.cpp \
|
||||||
pages/opstartpage.cpp \
|
pages/opstartpage.cpp \
|
||||||
pages/opendpage.cpp \
|
pages/opendpage.cpp \
|
||||||
|
@ -27,7 +27,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vehicleconfigurationhelper.h"
|
#include "vehicleconfigurationhelper.h"
|
||||||
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
|
#include "uavobjectutilmanager.h"
|
||||||
|
|
||||||
#include "hwsettings.h"
|
#include "hwsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
#include "attitudesettings.h"
|
#include "attitudesettings.h"
|
||||||
@ -42,10 +45,13 @@
|
|||||||
#include "accelgyrosettings.h"
|
#include "accelgyrosettings.h"
|
||||||
#include "gpssettings.h"
|
#include "gpssettings.h"
|
||||||
#include "airspeedsettings.h"
|
#include "airspeedsettings.h"
|
||||||
#include <QtCore/qmath.h>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include "auxmagsettings.h"
|
#include "auxmagsettings.h"
|
||||||
|
|
||||||
|
#include <QtCore/qmath.h>
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
VehicleConfigurationHelper::VehicleConfigurationHelper(VehicleConfigurationSource *configSource)
|
VehicleConfigurationHelper::VehicleConfigurationHelper(VehicleConfigurationSource *configSource)
|
||||||
: m_configSource(configSource), m_uavoManager(0),
|
: m_configSource(configSource), m_uavoManager(0),
|
||||||
m_transactionOK(false), m_transactionTimeout(false), m_currentTransactionObjectID(-1),
|
m_transactionOK(false), m_transactionTimeout(false), m_currentTransactionObjectID(-1),
|
||||||
|
@ -28,14 +28,17 @@
|
|||||||
#ifndef VEHICLECONFIGURATIONHELPER_H
|
#ifndef VEHICLECONFIGURATIONHELPER_H
|
||||||
#define VEHICLECONFIGURATIONHELPER_H
|
#define VEHICLECONFIGURATIONHELPER_H
|
||||||
|
|
||||||
#include <QList>
|
|
||||||
#include <QPair>
|
|
||||||
#include "vehicleconfigurationsource.h"
|
#include "vehicleconfigurationsource.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "systemsettings.h"
|
|
||||||
#include "cfg_vehicletypes/vehicleconfig.h"
|
#include "cfg_vehicletypes/vehicleconfig.h"
|
||||||
|
|
||||||
|
#include "systemsettings.h"
|
||||||
#include "actuatorsettings.h"
|
#include "actuatorsettings.h"
|
||||||
|
|
||||||
|
#include <QList>
|
||||||
|
#include <QPair>
|
||||||
|
#include <QEventLoop>
|
||||||
|
|
||||||
struct mixerChannelSettings {
|
struct mixerChannelSettings {
|
||||||
int type;
|
int type;
|
||||||
int throttle1;
|
int throttle1;
|
||||||
|
@ -1,22 +1,30 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = SystemHealthGadget
|
TARGET = SystemHealthGadget
|
||||||
|
|
||||||
QT += svg
|
QT += svg
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(systemhealth_dependencies.pri)
|
include(systemhealth_dependencies.pri)
|
||||||
HEADERS += systemhealthplugin.h
|
|
||||||
HEADERS += systemhealthgadget.h
|
HEADERS += \
|
||||||
HEADERS += systemhealthgadgetwidget.h
|
systemhealthplugin.h \
|
||||||
HEADERS += systemhealthgadgetfactory.h
|
systemhealthgadget.h \
|
||||||
HEADERS += systemhealthgadgetconfiguration.h
|
systemhealthgadgetwidget.h \
|
||||||
HEADERS += systemhealthgadgetoptionspage.h
|
systemhealthgadgetfactory.h \
|
||||||
SOURCES += systemhealthplugin.cpp
|
systemhealthgadgetconfiguration.h \
|
||||||
SOURCES += systemhealthgadget.cpp
|
systemhealthgadgetoptionspage.h
|
||||||
SOURCES += systemhealthgadgetfactory.cpp
|
|
||||||
SOURCES += systemhealthgadgetwidget.cpp
|
SOURCES += \
|
||||||
SOURCES += systemhealthgadgetconfiguration.cpp
|
systemhealthplugin.cpp \
|
||||||
SOURCES += systemhealthgadgetoptionspage.cpp
|
systemhealthgadget.cpp \
|
||||||
|
systemhealthgadgetfactory.cpp \
|
||||||
|
systemhealthgadgetwidget.cpp \
|
||||||
|
systemhealthgadgetconfiguration.cpp \
|
||||||
|
systemhealthgadgetoptionspage.cpp
|
||||||
|
|
||||||
OTHER_FILES += SystemHealthGadget.pluginspec
|
OTHER_FILES += SystemHealthGadget.pluginspec
|
||||||
|
|
||||||
FORMS += systemhealthgadgetoptionspage.ui
|
FORMS += systemhealthgadgetoptionspage.ui
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
|
@ -7,7 +7,8 @@ QT += svg
|
|||||||
include(telemetry_dependencies.pri)
|
include(telemetry_dependencies.pri)
|
||||||
include(../../libs/version_info/version_info.pri)
|
include(../../libs/version_info/version_info.pri)
|
||||||
|
|
||||||
HEADERS += telemetry_global.h \
|
HEADERS += \
|
||||||
|
telemetry_global.h \
|
||||||
telemetryplugin.h \
|
telemetryplugin.h \
|
||||||
monitorwidget.h \
|
monitorwidget.h \
|
||||||
monitorgadgetconfiguration.h \
|
monitorgadgetconfiguration.h \
|
||||||
@ -15,7 +16,8 @@ HEADERS += telemetry_global.h \
|
|||||||
monitorgadgetfactory.h \
|
monitorgadgetfactory.h \
|
||||||
monitorgadgetoptionspage.h
|
monitorgadgetoptionspage.h
|
||||||
|
|
||||||
SOURCES += telemetryplugin.cpp \
|
SOURCES += \
|
||||||
|
telemetryplugin.cpp \
|
||||||
monitorwidget.cpp \
|
monitorwidget.cpp \
|
||||||
monitorgadgetconfiguration.cpp \
|
monitorgadgetconfiguration.cpp \
|
||||||
monitorgadget.cpp \
|
monitorgadget.cpp \
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = UAVObjectBrowser
|
TARGET = UAVObjectBrowser
|
||||||
|
|
||||||
|
QT += widgets
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(uavobjectbrowser_dependencies.pri)
|
include(uavobjectbrowser_dependencies.pri)
|
||||||
HEADERS += browserplugin.h \
|
|
||||||
|
HEADERS += \
|
||||||
|
browserplugin.h \
|
||||||
uavobjectbrowserconfiguration.h \
|
uavobjectbrowserconfiguration.h \
|
||||||
uavobjectbrowser.h \
|
uavobjectbrowser.h \
|
||||||
uavobjectbrowserwidget.h \
|
uavobjectbrowserwidget.h \
|
||||||
@ -12,7 +17,9 @@ HEADERS += browserplugin.h \
|
|||||||
treeitem.h \
|
treeitem.h \
|
||||||
browseritemdelegate.h \
|
browseritemdelegate.h \
|
||||||
fieldtreeitem.h
|
fieldtreeitem.h
|
||||||
SOURCES += browserplugin.cpp \
|
|
||||||
|
SOURCES += \
|
||||||
|
browserplugin.cpp \
|
||||||
uavobjectbrowserconfiguration.cpp \
|
uavobjectbrowserconfiguration.cpp \
|
||||||
uavobjectbrowser.cpp \
|
uavobjectbrowser.cpp \
|
||||||
uavobjectbrowserfactory.cpp \
|
uavobjectbrowserfactory.cpp \
|
||||||
@ -22,8 +29,11 @@ SOURCES += browserplugin.cpp \
|
|||||||
treeitem.cpp \
|
treeitem.cpp \
|
||||||
browseritemdelegate.cpp \
|
browseritemdelegate.cpp \
|
||||||
fieldtreeitem.cpp
|
fieldtreeitem.cpp
|
||||||
|
|
||||||
OTHER_FILES += UAVObjectBrowser.pluginspec
|
OTHER_FILES += UAVObjectBrowser.pluginspec
|
||||||
FORMS += uavobjectbrowser.ui \
|
|
||||||
|
FORMS += \
|
||||||
|
uavobjectbrowser.ui \
|
||||||
uavobjectbrowseroptionspage.ui \
|
uavobjectbrowseroptionspage.ui \
|
||||||
viewoptions.ui
|
viewoptions.ui
|
||||||
|
|
||||||
|
@ -31,7 +31,10 @@
|
|||||||
|
|
||||||
#include <QtEndian>
|
#include <QtEndian>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QtWidgets>
|
#include <QXmlStreamWriter>
|
||||||
|
#include <QXmlStreamReader>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QJsonArray>
|
||||||
|
|
||||||
using namespace Utils;
|
using namespace Utils;
|
||||||
|
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
*/
|
*/
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
|
|
||||||
#include <QtWidgetsDepends>
|
#include <QJsonObject>
|
||||||
|
#include <QJsonArray>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -17,6 +17,7 @@ HEADERS += \
|
|||||||
uavobjectfield.h \
|
uavobjectfield.h \
|
||||||
uavobjectsinit.h \
|
uavobjectsinit.h \
|
||||||
uavobjectsplugin.h
|
uavobjectsplugin.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
uavobject.cpp \
|
uavobject.cpp \
|
||||||
uavmetaobject.cpp \
|
uavmetaobject.cpp \
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = UAVObjectUtil
|
TARGET = UAVObjectUtil
|
||||||
|
|
||||||
DEFINES += UAVOBJECTUTIL_LIBRARY
|
DEFINES += UAVOBJECTUTIL_LIBRARY
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(uavobjectutil_dependencies.pri)
|
include(uavobjectutil_dependencies.pri)
|
||||||
|
|
||||||
HEADERS += uavobjectutil_global.h \
|
HEADERS += \
|
||||||
uavobjectutilmanager.h \
|
uavobjectutil_global.h \
|
||||||
|
uavobjectutilmanager.h \
|
||||||
uavobjectutilplugin.h \
|
uavobjectutilplugin.h \
|
||||||
devicedescriptorstruct.h \
|
devicedescriptorstruct.h \
|
||||||
uavobjecthelper.h
|
uavobjecthelper.h
|
||||||
|
|
||||||
SOURCES += uavobjectutilmanager.cpp \
|
SOURCES += \
|
||||||
|
uavobjectutilmanager.cpp \
|
||||||
uavobjectutilplugin.cpp \
|
uavobjectutilplugin.cpp \
|
||||||
uavobjecthelper.cpp
|
uavobjecthelper.cpp
|
||||||
|
|
||||||
|
@ -30,15 +30,15 @@
|
|||||||
|
|
||||||
#include "utils/homelocationutil.h"
|
#include "utils/homelocationutil.h"
|
||||||
|
|
||||||
|
#include "objectpersistence.h"
|
||||||
|
#include "firmwareiapobj.h"
|
||||||
|
#include "homelocation.h"
|
||||||
|
#include "gpspositionsensor.h"
|
||||||
|
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QEventLoop>
|
#include <QEventLoop>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <objectpersistence.h>
|
|
||||||
|
|
||||||
#include "firmwareiapobj.h"
|
|
||||||
#include "homelocation.h"
|
|
||||||
#include "gpspositionsensor.h"
|
|
||||||
|
|
||||||
// ******************************
|
// ******************************
|
||||||
// constructor/destructor
|
// constructor/destructor
|
||||||
|
@ -34,16 +34,17 @@
|
|||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
#include "objectpersistence.h"
|
|
||||||
#include "devicedescriptorstruct.h"
|
#include "devicedescriptorstruct.h"
|
||||||
|
|
||||||
|
#include "objectpersistence.h"
|
||||||
|
#include "firmwareiapobj.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
#include <QQueue>
|
#include <QQueue>
|
||||||
#include <QComboBox>
|
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <firmwareiapobj.h>
|
|
||||||
|
|
||||||
class UAVOBJECTUTIL_EXPORT UAVObjectUtilManager : public QObject {
|
class UAVOBJECTUTIL_EXPORT UAVObjectUtilManager : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -27,12 +27,24 @@
|
|||||||
*/
|
*/
|
||||||
#include "configtaskwidget.h"
|
#include "configtaskwidget.h"
|
||||||
|
|
||||||
#include <uavtalk/telemetrymanager.h>
|
#include "uavobjectmanager.h"
|
||||||
|
#include "uavobject.h"
|
||||||
|
#include "uavobjectutilmanager.h"
|
||||||
|
#include "uavtalk/telemetrymanager.h"
|
||||||
#include "uavsettingsimportexport/uavsettingsimportexportfactory.h"
|
#include "uavsettingsimportexport/uavsettingsimportexportfactory.h"
|
||||||
|
#include "smartsavebutton.h"
|
||||||
|
#include "mixercurvewidget.h"
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QCheckBox>
|
||||||
|
#include <QComboBox>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
#include <QLabel>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
|
#include <QSpinBox>
|
||||||
|
#include <QTableWidget>
|
||||||
#include <QToolButton>
|
#include <QToolButton>
|
||||||
|
#include <QUrl>
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
ConfigTaskWidget::ConfigTaskWidget(QWidget *parent) : QWidget(parent), m_currentBoardId(-1), m_isConnected(false), m_isWidgetUpdatesAllowed(true), m_wikiURL("Welcome"),
|
ConfigTaskWidget::ConfigTaskWidget(QWidget *parent) : QWidget(parent), m_currentBoardId(-1), m_isConnected(false), m_isWidgetUpdatesAllowed(true), m_wikiURL("Welcome"),
|
||||||
m_saveButton(NULL), m_isDirty(false), m_outOfLimitsStyle("background-color: rgb(255, 0, 0);"), m_realtimeUpdateTimer(NULL)
|
m_saveButton(NULL), m_isDirty(false), m_outOfLimitsStyle("background-color: rgb(255, 0, 0);"), m_realtimeUpdateTimer(NULL)
|
||||||
|
@ -27,25 +27,23 @@
|
|||||||
#ifndef CONFIGTASKWIDGET_H
|
#ifndef CONFIGTASKWIDGET_H
|
||||||
#define CONFIGTASKWIDGET_H
|
#define CONFIGTASKWIDGET_H
|
||||||
|
|
||||||
|
#include "uavobjectwidgetutils_global.h"
|
||||||
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
|
||||||
#include "uavobject.h"
|
|
||||||
#include "uavobjectutilmanager.h"
|
|
||||||
#include <QQueue>
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QLabel>
|
#include <QVariant>
|
||||||
#include "smartsavebutton.h"
|
|
||||||
#include "mixercurvewidget.h"
|
class UAVObject;
|
||||||
#include <QTableWidget>
|
class UAVObjectField;
|
||||||
#include <QDoubleSpinBox>
|
class UAVObjectManager;
|
||||||
#include <QSpinBox>
|
class UAVObjectUtilManager;
|
||||||
#include <QCheckBox>
|
class SmartSaveButton;
|
||||||
#include <QPushButton>
|
|
||||||
#include "uavobjectwidgetutils_global.h"
|
class QComboBox;
|
||||||
#include <QDesktopServices>
|
class QPushButton;
|
||||||
#include <QUrl>
|
class QEvent;
|
||||||
#include <QEvent>
|
|
||||||
|
|
||||||
class ShadowWidgetBinding : public QObject {
|
class ShadowWidgetBinding : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = UAVObjectWidgetUtils
|
TARGET = UAVObjectWidgetUtils
|
||||||
|
|
||||||
DEFINES += UAVOBJECTWIDGETUTILS_LIBRARY
|
DEFINES += UAVOBJECTWIDGETUTILS_LIBRARY
|
||||||
QT += svg
|
|
||||||
|
QT += widgets svg
|
||||||
|
|
||||||
include(../../plugin.pri)
|
include(../../plugin.pri)
|
||||||
include(uavobjectwidgetutils_dependencies.pri)
|
include(uavobjectwidgetutils_dependencies.pri)
|
||||||
|
|
||||||
HEADERS += uavobjectwidgetutils_global.h \
|
HEADERS += \
|
||||||
|
uavobjectwidgetutils_global.h \
|
||||||
uavobjectwidgetutilsplugin.h \
|
uavobjectwidgetutilsplugin.h \
|
||||||
configtaskwidget.h \
|
configtaskwidget.h \
|
||||||
mixercurvewidget.h \
|
mixercurvewidget.h \
|
||||||
@ -15,7 +18,8 @@ HEADERS += uavobjectwidgetutils_global.h \
|
|||||||
smartsavebutton.h \
|
smartsavebutton.h \
|
||||||
popupwidget.h
|
popupwidget.h
|
||||||
|
|
||||||
SOURCES += uavobjectwidgetutilsplugin.cpp \
|
SOURCES += \
|
||||||
|
uavobjectwidgetutilsplugin.cpp \
|
||||||
configtaskwidget.cpp \
|
configtaskwidget.cpp \
|
||||||
mixercurvewidget.cpp \
|
mixercurvewidget.cpp \
|
||||||
mixercurvepoint.cpp \
|
mixercurvepoint.cpp \
|
||||||
|
@ -27,6 +27,10 @@
|
|||||||
*/
|
*/
|
||||||
#include "importsummary.h"
|
#include "importsummary.h"
|
||||||
|
|
||||||
|
#include <QCheckBox>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
#include <QUrl>
|
||||||
|
|
||||||
ImportSummaryDialog::ImportSummaryDialog(QWidget *parent) :
|
ImportSummaryDialog::ImportSummaryDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::ImportSummaryDialog)
|
ui(new Ui::ImportSummaryDialog)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user