mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-10-07 07:13:21 +02:00
24 lines
415 B
C
24 lines
415 B
C
|
#ifndef GRAPHTAB_H
|
||
|
#define GRAPHTAB_H
|
||
|
|
||
|
#include "graphview.h"
|
||
|
#include "units.h"
|
||
|
|
||
|
class GPX;
|
||
|
|
||
|
class GraphTab : public GraphView
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
GraphTab(QWidget *parent = 0) : GraphView(parent)
|
||
|
{setFrameShape(QFrame::NoFrame);}
|
||
|
|
||
|
virtual QString label() const = 0;
|
||
|
virtual void loadGPX(const GPX &gpx) = 0;
|
||
|
virtual void clear() = 0;
|
||
|
virtual void setUnits(enum Units units) = 0;
|
||
|
};
|
||
|
|
||
|
#endif // GRAPHTAB_H
|