mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-907 moved mixer curve background svg file (curve-bg.svg) to
src/plugins/uavobjectwidgetutils as it is used from mixercurvewidget.cpp located in that directory
This commit is contained in:
parent
81da5303f2
commit
c331a143ae
@ -3,7 +3,6 @@
|
||||
<file>images/help2.png</file>
|
||||
<file>images/ahrs-calib.svg</file>
|
||||
<file>images/paper-plane.svg</file>
|
||||
<file>images/curve-bg.svg</file>
|
||||
<file>images/multirotor-shapes.svg</file>
|
||||
<file>images/ccpm_setup.svg</file>
|
||||
<file>images/PipXtreme.png</file>
|
||||
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
@ -64,7 +64,7 @@ MixerCurveWidget::MixerCurveWidget(QWidget *parent) : QGraphicsView(parent)
|
||||
QGraphicsScene *scene = new QGraphicsScene(this);
|
||||
QSvgRenderer *renderer = new QSvgRenderer();
|
||||
plot = new QGraphicsSvgItem();
|
||||
renderer->load(QString(":/configgadget/images/curve-bg.svg"));
|
||||
renderer->load(QString(":/uavobjectwidgetutils/images/curve-bg.svg"));
|
||||
plot->setSharedRenderer(renderer);
|
||||
//plot->setElementId("map");
|
||||
scene->addItem(plot);
|
||||
|
@ -2,16 +2,19 @@ TEMPLATE = lib
|
||||
TARGET = UAVObjectWidgetUtils
|
||||
DEFINES += UAVOBJECTWIDGETUTILS_LIBRARY
|
||||
QT += svg
|
||||
|
||||
include(../../openpilotgcsplugin.pri)
|
||||
include(uavobjectwidgetutils_dependencies.pri)
|
||||
|
||||
HEADERS += uavobjectwidgetutils_global.h \
|
||||
uavobjectwidgetutilsplugin.h \
|
||||
configtaskwidget.h \
|
||||
mixercurvewidget.h \
|
||||
mixercurvepoint.h \
|
||||
mixercurveline.h \
|
||||
smartsavebutton.h \
|
||||
smartsavebutton.h \
|
||||
popupwidget.h
|
||||
|
||||
SOURCES += uavobjectwidgetutilsplugin.cpp \
|
||||
configtaskwidget.cpp \
|
||||
mixercurvewidget.cpp \
|
||||
@ -20,6 +23,7 @@ SOURCES += uavobjectwidgetutilsplugin.cpp \
|
||||
smartsavebutton.cpp \
|
||||
popupwidget.cpp
|
||||
|
||||
RESOURCES += uavobjectwidgetutils.qrc
|
||||
|
||||
OTHER_FILES += UAVObjectWidgetUtils.pluginspec
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/uavobjectwidgetutils">
|
||||
<file>images/curve-bg.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
x
Reference in New Issue
Block a user