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->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)),
|
||||
|
|
|
|||
|
|
@ -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>&Export SVG...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="Polygon_2.qrc"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue