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

25 lines
408 B
C
Raw Normal View History

2016-05-12 09:03:05 +02:00
#ifndef TRACKINFO_H
#define TRACKINFO_H
#include <QGraphicsScene>
class InfoItem;
class TrackInfo : public QGraphicsScene
{
Q_OBJECT
public:
TrackInfo(QObject *parent = 0);
void insert(const QString &key, const QString &value);
2017-08-31 16:28:37 +02:00
void plot(QPainter *painter, const QRectF &target, qreal scale);
2016-05-22 15:47:23 +02:00
bool isEmpty() const;
QSizeF contentSize() const;
2016-05-12 09:03:05 +02:00
private:
InfoItem *_info;
};
#endif // TRACKINFO_H