Example of using of exportSVG

This commit is contained in:
Laurent Rineau 2014-11-07 16:57:28 +01:00
parent a35858a293
commit 9889f95768
2 changed files with 7 additions and 0 deletions

View File

@ -176,6 +176,7 @@ MainWindow::MainWindow()
this->setupOptionsMenu(); this->setupOptionsMenu();
this->addAboutDemo(":/cgal/help/about_Delaunay_triangulation_2.html"); this->addAboutDemo(":/cgal/help/about_Delaunay_triangulation_2.html");
this->addAboutCGAL(); this->addAboutCGAL();
this->setupExportSVG(actionExport_SVG, graphicsView);
this->addRecentFiles(this->menuFile, this->actionQuit); this->addRecentFiles(this->menuFile, this->actionQuit);
connect(this, SIGNAL(openRecentFile(QString)), connect(this, SIGNAL(openRecentFile(QString)),

View File

@ -89,6 +89,7 @@
<addaction name="actionClear" /> <addaction name="actionClear" />
<addaction name="actionLoadPoints" /> <addaction name="actionLoadPoints" />
<addaction name="actionSavePoints" /> <addaction name="actionSavePoints" />
<addaction name="actionExport_SVG" />
<addaction name="separator" /> <addaction name="separator" />
<addaction name="actionQuit" /> <addaction name="actionQuit" />
</widget> </widget>
@ -126,6 +127,11 @@
<string>About &amp;CGAL</string> <string>About &amp;CGAL</string>
</property> </property>
</action> </action>
<action name="actionExport_SVG">
<property name="text">
<string>&amp;Export SVG...</string>
</property>
</action>
<action name="actionQuit" > <action name="actionQuit" >
<property name="text" > <property name="text" >
<string>&amp;Quit</string> <string>&amp;Quit</string>