1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00
GPXSee/src/GUI/trackinfo.h

25 lines
408 B
C++

#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);
void plot(QPainter *painter, const QRectF &target, qreal scale);
bool isEmpty() const;
QSizeF contentSize() const;
private:
InfoItem *_info;
};
#endif // TRACKINFO_H