mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 19:55:53 +01:00
25 lines
544 B
C++
25 lines
544 B
C++
#ifndef PLANEITEM_H
|
|
#define PLANEITEM_H
|
|
|
|
#include "common/rectc.h"
|
|
#include "graphicsscene.h"
|
|
|
|
class Map;
|
|
|
|
class PlaneItem : public GraphicsItem
|
|
{
|
|
public:
|
|
PlaneItem(GraphicsItem *parent = 0) : GraphicsItem(parent) {}
|
|
|
|
virtual RectC bounds() const = 0;
|
|
virtual void setMap(Map *map) = 0;
|
|
|
|
virtual void setColor(const QColor &color) = 0;
|
|
virtual void setOpacity(qreal opacity) = 0;
|
|
virtual void setWidth(qreal width) = 0;
|
|
virtual void setStyle(Qt::PenStyle style) = 0;
|
|
virtual void setDigitalZoom(int zoom) = 0;
|
|
};
|
|
|
|
#endif // PLANEITEM_H
|