QGC2DIcon.cc 876 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#include "QGC2DIcon.h"

QGC2DIcon::QGC2DIcon(QPointF localOriginInGlobalCoords, bool onlyLocal, QGraphicsItem* parent) :
    QGraphicsItem(parent),
    localOriginInGlobalCoords(localOriginInGlobalCoords),
    local(onlyLocal)
{
}

QGC2DIcon::QGC2DIcon(bool onlyLocal, QGraphicsItem* parent) :
    QGraphicsItem(parent),
    localOriginInGlobalCoords(QPointF(0, 0)),
    local(onlyLocal)
{
}

QGC2DIcon::QGC2DIcon(QGraphicsItem* parent) :
        QGraphicsItem(parent),
        localOriginInGlobalCoords(QPointF(0, 0)),
        local(false)
{

}

QGC2DIcon::~QGC2DIcon()
{

}

QPointF QGC2DIcon::getGlobalPosition()
{

}

QPointF QGC2DIcon::getLocalPosition()
{

}

void QGC2DIcon::setGlobalPosition(QPointF pos)
{

}

void QGC2DIcon::setLocalPosition(QPointF pos)
{

}

void QGC2DIcon::setLocalPosition(float x, float y)
{

}

bool QGC2DIcon::isLocal()
{
    return local;
}