Other example with the Polygon demo

This commit is contained in:
Laurent Rineau 2014-11-07 17:06:41 +01:00
parent 9889f95768
commit 29904d2f56
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -82,7 +82,7 @@
<x>0</x>
<y>0</y>
<width>568</width>
<height>26</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@ -93,6 +93,7 @@
<addaction name="actionClear"/>
<addaction name="actionLoadPolygon"/>
<addaction name="actionSavePolygon"/>
<addaction name="action_Export_SVG"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
@ -234,6 +235,11 @@
<string>Maximum Area Triangle</string>
</property>
</action>
<action name="action_Export_SVG">
<property name="text">
<string>&amp;Export SVG...</string>
</property>
</action>
</widget>
<resources>
<include location="Polygon_2.qrc"/>