mirror of https://github.com/CGAL/cgal
fix conditional compilation
This commit is contained in:
parent
a27d129698
commit
8448129a3a
|
|
@ -179,7 +179,9 @@ MainWindow::MainWindow()
|
|||
this->setupOptionsMenu();
|
||||
this->addAboutDemo(":/cgal/help/about_Polygon_2.html");
|
||||
this->addAboutCGAL();
|
||||
#if QT_SVG_LIB
|
||||
this->setupExportSVG(action_Export_SVG, graphicsView);
|
||||
#endif
|
||||
|
||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||
connect(this, SIGNAL(openRecentFile(QString)),
|
||||
|
|
|
|||
|
|
@ -339,7 +339,9 @@ MainWindow::MainWindow()
|
|||
this->setupOptionsMenu();
|
||||
this->addAboutDemo(":/cgal/help/about_Constrained_Delaunay_triangulation_2.html");
|
||||
this->addAboutCGAL();
|
||||
#if QT_SVG_LIB
|
||||
this->setupExportSVG(this->actionExport_SVG, this->graphicsView);
|
||||
#endif
|
||||
|
||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||
connect(this, SIGNAL(openRecentFile(QString)),
|
||||
|
|
|
|||
|
|
@ -179,7 +179,9 @@ MainWindow::MainWindow()
|
|||
this->setupOptionsMenu();
|
||||
this->addAboutDemo(":/cgal/help/about_Delaunay_triangulation_2.html");
|
||||
this->addAboutCGAL();
|
||||
#if QT_SVG_LIB
|
||||
this->setupExportSVG(actionExport_SVG, graphicsView);
|
||||
#endif
|
||||
|
||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||
connect(this, SIGNAL(openRecentFile(QString)),
|
||||
|
|
|
|||
|
|
@ -79,7 +79,9 @@ protected:
|
|||
void setupOptionsMenu(QMenu* menu = nullptr);
|
||||
void addAboutCGAL(QMenu* menu = nullptr);
|
||||
void addAboutDemo(QString htmlResourceName, QMenu* menu = nullptr);
|
||||
#if QT_SVG_LIB
|
||||
void setupExportSVG(QAction*, QGraphicsView*);
|
||||
#endif
|
||||
|
||||
void addRecentFiles(QMenu* menu, QAction* insertBefore = nullptr);
|
||||
|
||||
|
|
|
|||
|
|
@ -201,7 +201,9 @@ MainWindow::MainWindow()
|
|||
this->setupOptionsMenu();
|
||||
this->addAboutDemo(":/cgal/help/about_Polyline_simplification_2.html");
|
||||
this->addAboutCGAL();
|
||||
#if QT_SVG_LIB
|
||||
this->setupExportSVG(action_Export_SVG, graphicsView);
|
||||
#endif
|
||||
|
||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||
connect(this, SIGNAL(openRecentFile(QString)), this, SLOT(open(QString)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue