mirror of https://github.com/CGAL/cgal
Example of using of exportSVG
This commit is contained in:
parent
a35858a293
commit
9889f95768
|
|
@ -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)),
|
||||||
|
|
|
||||||
|
|
@ -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 &CGAL</string>
|
<string>About &CGAL</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionExport_SVG">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Export SVG...</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="actionQuit" >
|
<action name="actionQuit" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>&Quit</string>
|
<string>&Quit</string>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue