1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/graphtab.h

28 lines
562 B
C
Raw Normal View History

2016-06-24 00:55:44 +02:00
#ifndef GRAPHTAB_H
#define GRAPHTAB_H
2016-09-19 00:56:10 +02:00
#include <QList>
2016-06-24 00:55:44 +02:00
#include "graphview.h"
#include "units.h"
class GPX;
2016-09-19 00:56:10 +02:00
class PathItem;
2016-06-24 00:55:44 +02:00
class GraphTab : public GraphView
{
Q_OBJECT
public:
GraphTab(QWidget *parent = 0) : GraphView(parent)
{setFrameShape(QFrame::NoFrame);}
virtual QString label() const = 0;
2016-09-19 00:56:10 +02:00
virtual void loadGPX(const GPX &gpx, const QList<PathItem *> &paths) = 0;
2016-06-24 00:55:44 +02:00
virtual void clear() = 0;
virtual void setUnits(enum Units units) = 0;
virtual void showTracks(bool show) = 0;
virtual void showRoutes(bool show) = 0;
2016-06-24 00:55:44 +02:00
};
#endif // GRAPHTAB_H