1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 23:03:22 +02:00
GPXSee/src/GUI/markeritem.h

23 lines
391 B
C++

#ifndef MARKERITEM_H
#define MARKERITEM_H
#include <QGraphicsItem>
#include <QColor>
class MarkerItem : public QGraphicsItem
{
public:
MarkerItem(QGraphicsItem *parent = 0);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QWidget *widget);
void setColor(const QColor &color);
private:
QColor _color;
};
#endif // MARKERITEM_H