mirror of https://github.com/CGAL/cgal
Other example with the Polygon demo
This commit is contained in:
parent
9889f95768
commit
29904d2f56
|
|
@ -176,6 +176,7 @@ MainWindow::MainWindow()
|
||||||
this->setupOptionsMenu();
|
this->setupOptionsMenu();
|
||||||
this->addAboutDemo(":/cgal/help/about_Polygon_2.html");
|
this->addAboutDemo(":/cgal/help/about_Polygon_2.html");
|
||||||
this->addAboutCGAL();
|
this->addAboutCGAL();
|
||||||
|
this->setupExportSVG(action_Export_SVG, graphicsView);
|
||||||
|
|
||||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||||
connect(this, SIGNAL(openRecentFile(QString)),
|
connect(this, SIGNAL(openRecentFile(QString)),
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>568</width>
|
<width>568</width>
|
||||||
<height>26</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
|
@ -93,6 +93,7 @@
|
||||||
<addaction name="actionClear"/>
|
<addaction name="actionClear"/>
|
||||||
<addaction name="actionLoadPolygon"/>
|
<addaction name="actionLoadPolygon"/>
|
||||||
<addaction name="actionSavePolygon"/>
|
<addaction name="actionSavePolygon"/>
|
||||||
|
<addaction name="action_Export_SVG"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionQuit"/>
|
<addaction name="actionQuit"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
@ -234,6 +235,11 @@
|
||||||
<string>Maximum Area Triangle</string>
|
<string>Maximum Area Triangle</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="action_Export_SVG">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Export SVG...</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="Polygon_2.qrc"/>
|
<include location="Polygon_2.qrc"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue