blob: d2aefb6875ba64e4b4a3c0b1147c91151c291443 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef MAPWIDGET_H
#define MAPWIDGET_H
#include <QQuickWidget>
#include "core/divesite.h"
class QResizeEvent;
class QQuickItem;
struct dive_site;
class MapWidget : public QQuickWidget {
Q_OBJECT
public:
MapWidget(QWidget *parent = NULL);
~MapWidget();
static MapWidget *instance();
public slots:
void centerOnDiveSite(struct dive_site *);
private:
static MapWidget *m_instance;
QQuickItem *m_rootItem;
};
#endif // MAPWIDGET_H
|