mirror of https://github.com/CGAL/cgal
update qt urls
This commit is contained in:
parent
e199f546d4
commit
1d4358e052
|
|
@ -16,7 +16,7 @@ int main(int argc, char** argv)
|
|||
application.setAttribute(Qt::AA_UseDesktopOpenGL);
|
||||
|
||||
// Import resources from libCGALQt (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Alpha_shape_3);
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ void MainWindow::alphaChanged(int i)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -284,7 +284,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Apollonius_graph_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Apollonius_graph_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -541,7 +541,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Bounding_volumes demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
|
||||
MainWindow mainWindow;
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ MainWindow::MainWindow()
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -339,7 +339,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Generator_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Generator_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ MainWindow::MainWindow()
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -278,7 +278,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Largest_empty_rectangle_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Largest_empty_rectangle_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -444,7 +444,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Periodic_2_Delaunay_triangulation_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
|
||||
MainWindow mainWindow;
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -573,7 +573,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Polygon_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Polygon_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -307,7 +307,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Snap_rounding_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Snap_rounding_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ void MainWindow::N_changed(int i)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -291,7 +291,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Spatial_searching_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Spatial_searching_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ MainWindow::MainWindow()
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
@ -240,7 +240,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Stream_lines_2 demo");
|
||||
|
||||
// Import resources from libCGAL (Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Stream_lines_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@ namespace CGAL {
|
|||
\cgalAutoToc
|
||||
\authors Andreas Fabri and Laurent Rineau
|
||||
|
||||
<A HREF="http://qt-project.org/doc/qt-4.8/">Qt</A> is a <span class="textsc">Gui</span> toolkit for
|
||||
<A HREF="http://qt-project.org/doc/qt-5/">Qt</A> is a <span class="textsc">Gui</span> toolkit for
|
||||
cross-platform application development.
|
||||
|
||||
\section GraphicsViewIntroduction Introduction
|
||||
|
||||
This chapter describes classes that help to visualize two dimensional \cgal objects
|
||||
with the <A HREF="http://qt-project.org/doc/qt-4.8/graphicsview.html">Qt Graphics View Framework</A>.
|
||||
with the <A HREF="http://qt-project.org/doc/qt-5/graphicsview.html">Qt Graphics View Framework</A>.
|
||||
|
||||
This framework uses the model view paradigm. <A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsitem.html">`QGraphicsItem`</A>s are stored in a
|
||||
<A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsscene.html">`QGraphicsScene`</A>
|
||||
and are displayed in a <A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsview.html">`QGraphicsView`</A>. The items
|
||||
This framework uses the model view paradigm. <A HREF="http://qt-project.org/doc/qt-5/qgraphicsitem.html">`QGraphicsItem`</A>s are stored in a
|
||||
<A HREF="http://qt-project.org/doc/qt-5/qgraphicsscene.html">`QGraphicsScene`</A>
|
||||
and are displayed in a <A HREF="http://qt-project.org/doc/qt-5/qgraphicsview.html">`QGraphicsView`</A>. The items
|
||||
have a paint method which is called when an item is in the visible area of a view.
|
||||
The framework is also responsible for dispatching events from the view
|
||||
via the scene to the items. The framework is extensible in the sense
|
||||
|
|
@ -50,14 +50,14 @@ classes that have to override member functions adhering to this naming scheme.
|
|||
\section GraphicsViewOverall Overall Design
|
||||
|
||||
In \cgalFigureRef{graphicsviewuml} you see four classes depicted in grey,
|
||||
that come from the %Qt Graphics View Framework. The <A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsscene.html">`QGraphicsScene`</A>
|
||||
contains <A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsitem.html">`QGraphicsItem`</A>s, which get displayed in any number
|
||||
of <A HREF="http://qt-project.org/doc/qt-4.8/qgraphicsview.html">`QGraphicsView`</A>s. The views are widgets, that is they take screen space
|
||||
that come from the %Qt Graphics View Framework. The <A HREF="http://qt-project.org/doc/qt-5/qgraphicsscene.html">`QGraphicsScene`</A>
|
||||
contains <A HREF="http://qt-project.org/doc/qt-5/qgraphicsitem.html">`QGraphicsItem`</A>s, which get displayed in any number
|
||||
of <A HREF="http://qt-project.org/doc/qt-5/qgraphicsview.html">`QGraphicsView`</A>s. The views are widgets, that is they take screen space
|
||||
in an application.
|
||||
|
||||
The fourth class is the <A HREF="http://qt-project.org/doc/qt-4.8/qobject.html">`QObject`</A>. It plays an important role in %Qt for
|
||||
event handling and memory management. First, it allows to add <A HREF="http://qt-project.org/doc/qt-4.8/signalsandslots.html">signals and
|
||||
slots</A>, and to connect them. Second, it allows to install <A HREF="http://qt-project.org/doc/qt-4.8/eventsandfilters.html">event filters</A>.
|
||||
The fourth class is the <A HREF="http://qt-project.org/doc/qt-5/qobject.html">`QObject`</A>. It plays an important role in %Qt for
|
||||
event handling and memory management. First, it allows to add <A HREF="http://qt-project.org/doc/qt-5/signalsandslots.html">signals and
|
||||
slots</A>, and to connect them. Second, it allows to install <A HREF="http://qt-project.org/doc/qt-5/eventsandfilters.html">event filters</A>.
|
||||
|
||||
\cgalFigureBegin{graphicsviewuml,uml-design.png}
|
||||
UML Class Diagram with the %Qt classes (blue), \cgal classes for using the framework (yellow), \cgal data structures (red), and application classes (green).
|
||||
|
|
@ -68,8 +68,8 @@ UML Class Diagram with the %Qt classes (blue), \cgal classes for using the frame
|
|||
In order to visualize for example a `CGAL::Delaunay_triangulation_2`, we
|
||||
provide the graphics item class `CGAL::Qt::TriangulationGraphicsItem<T>`.
|
||||
It provides a `paint` method that draws the edges and vertices of a triangulation
|
||||
using the drawing primitives of the <A HREF="http://qt-project.org/doc/qt-4.8/qpainter.html">`QPainter`</A>. The color of vertices and edges,
|
||||
can be chosen by setting a user defined <A HREF="http://qt-project.org/doc/qt-4.8/qpen.html">`QPen`</A>.
|
||||
using the drawing primitives of the <A HREF="http://qt-project.org/doc/qt-5/qpainter.html">`QPainter`</A>. The color of vertices and edges,
|
||||
can be chosen by setting a user defined <A HREF="http://qt-project.org/doc/qt-5/qpen.html">`QPen`</A>.
|
||||
|
||||
As this graphics item only stores a pointer to a triangulation, it
|
||||
must be notified about changes like the insertion of points coming from
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
\cgalPkgPicture{detail.png}
|
||||
\cgalPkgSummaryBegin
|
||||
\cgalPkgAuthors{Andreas Fabri and Laurent Rineau}
|
||||
\cgalPkgDesc{This package provides classes for displaying \cgal objects and data structures in the <A HREF="http://qt-project.org/doc/qt-4.8/graphicsview.html">Qt 4 Graphics View Framework</A>.}
|
||||
\cgalPkgDesc{This package provides classes for displaying \cgal objects and data structures in the <A HREF="http://qt-project.org/doc/qt-5/graphicsview.html">Qt 4 Graphics View Framework</A>.}
|
||||
\cgalPkgManuals{Chapter_CGAL_and_the_Qt_Graphics_View_Framework,PkgGraphicsView}
|
||||
\cgalPkgSummaryEnd
|
||||
\cgalPkgShortInfoBegin
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
This package provides some classes which allow to use \cgal classes in
|
||||
<I>Qt</I> applications which make use of the <A
|
||||
HREF="http://qt-project.org/doc/qt-4.8/graphicsview.html">Qt Graphics
|
||||
HREF="http://qt-project.org/doc/qt-5/graphicsview.html">Qt Graphics
|
||||
View Framework</A>.
|
||||
|
||||
\cgalClassifedRefPages
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
The future 2D graphics package using the GraphicsView framework
|
||||
http://doc.trolltech.com/4.3/graphicsview.html
|
||||
http://doc.qt.io/qt-5/graphicsview.html
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ int main(int argc, char** argv)
|
|||
application.setApplicationName("3D Linear Cell Complex");
|
||||
|
||||
// Import resources from libCGALQt5
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_Qt_init_resources();// that function is in a DLL
|
||||
Q_INIT_RESOURCE(Linear_cell_complex_3);
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("Mesh_3 demo");
|
||||
|
||||
// Import resources from libCGALQt ( Qt5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
|
||||
MainWindow mainWindow;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ int main(int argc, char** argv)
|
|||
application.setApplicationName("3D Periodic Lloyd");
|
||||
|
||||
// Import resources from libCGAL (QT5).
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
Q_INIT_RESOURCE(Periodic_Lloyd_3);
|
||||
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@ public:
|
|||
QMenu* menu = Scene_item::contextMenu();
|
||||
|
||||
// Use dynamic properties:
|
||||
// http://doc.trolltech.com/lastest/qobject.html#property
|
||||
// http://doc.qt.io/qt-5/qobject.html#property
|
||||
bool menuChanged = menu->property(prop_name).toBool();
|
||||
|
||||
if(!menuChanged) {
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ QMenu* Scene_combinatorial_map_item::contextMenu()
|
|||
QMenu* menu = Scene_item::contextMenu();
|
||||
|
||||
// Use dynamic properties:
|
||||
// http://doc.trolltech.com/lastest/qobject.html#property
|
||||
// http://doc.qt.io/qt-5/qobject.html#property
|
||||
bool menuChanged = menu->property(prop_name).toBool();
|
||||
|
||||
if(!menuChanged) {
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ QMenu* Scene_points_with_normal_item::contextMenu()
|
|||
QMenu* menu = Scene_item::contextMenu();
|
||||
|
||||
// Use dynamic properties:
|
||||
// http://doc.trolltech.com/lastest/qobject.html#property
|
||||
// http://doc.qt.io/qt-5/qobject.html#property
|
||||
bool menuChanged = menu->property(prop_name).toBool();
|
||||
|
||||
if(!menuChanged) {
|
||||
|
|
|
|||
|
|
@ -816,7 +816,7 @@ QMenu* Scene_polyhedron_item::contextMenu()
|
|||
QMenu* menu = Scene_item::contextMenu();
|
||||
|
||||
// Use dynamic properties:
|
||||
// http://doc.trolltech.com/lastest/qobject.html#property
|
||||
// http://doc.qt.io/qt-5/qobject.html#property
|
||||
bool menuChanged = menu->property(prop_name).toBool();
|
||||
|
||||
if(!menuChanged) {
|
||||
|
|
|
|||
|
|
@ -721,7 +721,7 @@ QMenu* Scene_polylines_item::contextMenu()
|
|||
QMenu* menu = Scene_item::contextMenu();
|
||||
|
||||
// Use dynamic properties:
|
||||
// http://doc.trolltech.com/lastest/qobject.html#property
|
||||
// http://doc.qt.io/qt-5/qobject.html#property
|
||||
bool menuChanged = menu->property(prop_name).toBool();
|
||||
|
||||
if(!menuChanged) {
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ MainWindow::processInput(CGAL::Object o)
|
|||
|
||||
/*
|
||||
* Qt Automatic Connections
|
||||
* http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
* http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
*
|
||||
* setupUi(this) generates connections to the slots named
|
||||
* "on_<action_name>_<signal_name>"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ int main(int argc, char **argv)
|
|||
app.setApplicationName("PCA demo");
|
||||
|
||||
// Import resources from libCGALQt.
|
||||
// See http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
|
||||
// See http://doc.qt.io/qt-5/qdir.html#Q_INIT_RESOURCE
|
||||
|
||||
CGAL_QT_INIT_RESOURCES;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ MainWindow::MainWindow(QWidget* parent)
|
|||
: CGAL::Qt::DemosMainWindow(parent)
|
||||
{
|
||||
// Qt Automatic Connections
|
||||
// http://doc.trolltech.com/4.4/designer-using-a-component.html#automatic-connections
|
||||
// http://doc.qt.io/qt-5/designer-using-a-ui-file.html#automatic-connections
|
||||
// setupUi(this) automatically generates connections to the slots named
|
||||
// "on_<action_name>_<signal_name>"
|
||||
setupUi(this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue