summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 08:14:10 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 08:14:10 -0300
commit4098922b553c8a412b457a3b6fabbbd936317a65 (patch)
tree0a21c3a166fe6eafd97c063fda1a761455fc5219 /qt-ui/globe.h
parent2f35c940261fe0f5fdb2723072553c036492e608 (diff)
downloadsubsurface-4098922b553c8a412b457a3b6fabbbd936317a65.tar.gz
Adds preliminary support for Marble Widget
Adds preliminary support for marble widget, alongside with the dive list. my idea is to let the view stay there at the left of the dive list since we got a lot of unused space and a globe is something nice to have - so you can look around where did you dived, the dives near the one that's currectly selected, and so on. I'm not using OpenStreetMaps right now, but a good thing about marble is that it is skinnable - so for instance, a dive school could present a dive lesson using subsurface with a globe from the 1600, to make it feel like 'history'. This version will only compile to Qt4. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
new file mode 100644
index 000000000..bdf40fb1a
--- /dev/null
+++ b/qt-ui/globe.h
@@ -0,0 +1,13 @@
+#ifndef GLOBE_H
+#define GLOBE_H
+
+#include <marble/MarbleWidget.h>
+
+class GlobeGPS : public Marble::MarbleWidget{
+ Q_OBJECT
+public:
+ GlobeGPS(QWidget *parent);
+
+};
+
+#endif