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
Cosmetics
[GPXSee.git]
/
src
/
trackitem.h
blob
6774dda59e6cfa6a1548dd710bd6e241401c0f3a
1
#ifndef TRACKITEM_H
2
#define TRACKITEM_H
3
4
#include <QDateTime>
5
#include <QPen>
6
#include
"track.h"
7
#include
"pathitem.h"
8
#include
"units.h"
9
10
class
Map
;
11
12
class
TrackItem
:
public
PathItem
13
{
14
Q_OBJECT
15
16
public
:
17
TrackItem
(
const
Track
&
track
,
Map
*
map
,
QGraphicsItem
*
parent
=
0
);
18
19
void
setUnits
(
Units units
);
20
21
private
:
22
QString
toolTip
(
Units units
);
23
24
QString _name
;
25
QString _desc
;
26
QDateTime _date
;
27
qreal _time
;
28
qreal _movingTime
;
29
};
30
31
#endif
// TRACKITEM_H