summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Gehad <gehadelrobey@gmail.com>2014-03-30 22:14:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-30 15:52:32 -0700
commit0cd9d09410e2631d3a47edcae7569e3b3f011cf1 (patch)
tree7251ebc0a25f063b00cfb10a34f641e0b314304c /qt-ui/mainwindow.ui
parent7696fbf9cdb6292f487815bffdbc879a178cc73f (diff)
downloadsubsurface-0cd9d09410e2631d3a47edcae7569e3b3f011cf1.tar.gz
Exporting a World-Map
This patch adds the world map exporter. - add worldmap-save.c that writes the html to the file - use Google maps v3 API to put the place marks on the map - add worldmap-options.h to contain some settings for the JS which will make it easier for those to be changed - add save HTML action in the mainwindow user interface Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index a933a2de9..2bf249683 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -551,6 +551,7 @@
<addaction name="separator"/>
<addaction name="actionClose"/>
<addaction name="actionExportUDDF"/>
+ <addaction name="actionExportHTMLworldmap"/>
<addaction name="actionPrint"/>
<addaction name="actionPreferences"/>
<addaction name="separator"/>
@@ -681,6 +682,11 @@
<string>Ctrl+U</string>
</property>
</action>
+ <action name="actionExportHTMLworldmap">
+ <property name="text">
+ <string>Export HTML World Map</string>
+ </property>
+ </action>
<action name="actionPrint">
<property name="text">
<string>&amp;Print</string>