subsurface/desktop-widgets/mapwidget.h
Lubomir I. Ivanov 8f52b129af mapwidget: add the placeholder repopulateLabels() method
Another placeholder for the Marble port.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-07-28 07:31:11 -07:00

35 lines
599 B
C++

#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();
void reload();
public slots:
void centerOnDiveSite(struct dive_site *);
void centerOnIndex(const QModelIndex& idx);
void endGetDiveCoordinates();
void repopulateLabels();
private:
static MapWidget *m_instance;
QQuickItem *m_rootItem;
};
#endif // MAPWIDGET_H