repo.or.cz
/
GPXSee.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Human-friendly links
[GPXSee.git]
/
src
/
trackitem.h
blob
8756ac07ff95c07663ef19b0c9b23e65369b9fec
1
#ifndef TRACKITEM_H
2
#define TRACKITEM_H
3
4
#include <QDateTime>
5
#include <QPen>
6
#include
"track.h"
7
#include
"pathitem.h"
8
9
10
class
TrackItem
:
public
PathItem
11
{
12
Q_OBJECT
13
14
public
:
15
TrackItem
(
const
Track
&
track
,
QGraphicsItem
*
parent
=
0
);
16
17
void
setUnits
(
enum
Units units
);
18
19
private
:
20
QString
toolTip
();
21
22
QString _name
;
23
QString _desc
;
24
QDateTime _date
;
25
qreal _time
;
26
qreal _movingTime
;
27
};
28
29
#endif
// TRACKITEM_H