Last change
on this file since 412 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
1015 bytes
|
Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | #ifndef LANDMARK_H
|
---|
6 | #define LANDMARK_H
|
---|
7 |
|
---|
8 | #include <QGeoMapGroupObject>
|
---|
9 | #include <QGeoCoordinate>
|
---|
10 |
|
---|
11 | namespace QtMobility {
|
---|
12 | class QGraphicsGeoMap;
|
---|
13 | class QGeoMapTextObject;
|
---|
14 | class QGeoMapPixmapObject;
|
---|
15 | }
|
---|
16 |
|
---|
17 | class Landmark : public QtMobility::QGeoMapGroupObject {
|
---|
18 |
|
---|
19 | public:
|
---|
20 | Landmark(QtMobility::QGraphicsGeoMap *geoMap,
|
---|
21 | const QtMobility::QGeoCoordinate &coordinate, QString name,
|
---|
22 | QString type = "landmark");
|
---|
23 | ~Landmark();
|
---|
24 |
|
---|
25 | QtMobility::QGeoCoordinate coordinate(void);
|
---|
26 | void setCoordinate(const QtMobility::QGeoCoordinate &coordinate);
|
---|
27 | void setText(QString string);
|
---|
28 | void setColor(Qt::GlobalColor color);
|
---|
29 | void RemoveLandmark(void);
|
---|
30 | void AddLandmark(QtMobility::QGraphicsGeoMap *geoMap);
|
---|
31 | bool IsUptodate(void);
|
---|
32 |
|
---|
33 | private:
|
---|
34 | QtMobility::QGeoMapTextObject *text;
|
---|
35 | QtMobility::QGeoMapPixmapObject *pixmap;
|
---|
36 | QtMobility::QGraphicsGeoMap *geoMap;
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.