GraphicsView: Fix Links (#8986)

## Summary of Changes

Update the links for Qt classes from Qt5 to Qt6.

## Release Management

* Affected package(s): GraphicsView
* License and copyright ownership: unchanged
This commit is contained in:
Sebastien Loriot 2025-07-31 14:59:06 +02:00 committed by GitHub
commit fba14a3505
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 15 deletions

View File

@ -8,17 +8,17 @@ namespace CGAL {
\cgalAutoToc \cgalAutoToc
\authors Andreas Fabri and Laurent Rineau \authors Andreas Fabri and Laurent Rineau
<A HREF="https://doc.qt.io/qt-5/">Qt</A> is a <span class="textsc">Gui</span> toolkit for <A HREF="https://doc.qt.io/qt-6/">Qt</A> is a <span class="textsc">Gui</span> toolkit for
cross-platform application development. cross-platform application development.
\section GraphicsViewIntroduction Introduction \section GraphicsViewIntroduction Introduction
This chapter describes classes that help to visualize two dimensional \cgal objects This chapter describes classes that help to visualize two dimensional \cgal objects
with the <A HREF="https://doc.qt.io/qt-5/graphicsview.html">Qt Graphics View Framework</A>. with the <A HREF="https://doc.qt.io/qt-6/graphicsview.html">Qt Graphics View Framework</A>.
This framework uses the model view paradigm. <A HREF="https://doc.qt.io/qt-5/qgraphicsitem.html">`QGraphicsItem`</A>s are stored in a This framework uses the model view paradigm. <A HREF="https://doc.qt.io/qt-6/qgraphicsitem.html">`QGraphicsItem`</A>s are stored in a
<A HREF="https://doc.qt.io/qt-5/qgraphicsscene.html">`QGraphicsScene`</A> <A HREF="https://doc.qt.io/qt-6/qgraphicsscene.html">`QGraphicsScene`</A>
and are displayed in a <A HREF="https://doc.qt.io/qt-5/qgraphicsview.html">`QGraphicsView`</A>. The items and are displayed in a <A HREF="https://doc.qt.io/qt-6/qgraphicsview.html">`QGraphicsView`</A>. The items
have a paint method which is called when an item is in the visible area of a view. 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 The framework is also responsible for dispatching events from the view
via the scene to the items. The framework is extensible in the sense 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 \section GraphicsViewOverall Overall Design
In \cgalFigureRef{graphicsviewuml} you see four classes depicted in grey, In \cgalFigureRef{graphicsviewuml} you see four classes depicted in grey,
that come from the %Qt Graphics View Framework. The <A HREF="https://doc.qt.io/qt-5/qgraphicsscene.html">`QGraphicsScene`</A> that come from the %Qt Graphics View Framework. The <A HREF="https://doc.qt.io/qt-6/qgraphicsscene.html">`QGraphicsScene`</A>
contains <A HREF="https://doc.qt.io/qt-5/qgraphicsitem.html">`QGraphicsItem`</A>s, which get displayed in any number contains <A HREF="https://doc.qt.io/qt-6/qgraphicsitem.html">`QGraphicsItem`</A>s, which get displayed in any number
of <A HREF="https://doc.qt.io/qt-5/qgraphicsview.html">`QGraphicsView`</A>s. The views are widgets, that is they take screen space of <A HREF="https://doc.qt.io/qt-6/qgraphicsview.html">`QGraphicsView`</A>s. The views are widgets, that is they take screen space
in an application. in an application.
The fourth class is the <A HREF="https://doc.qt.io/qt-5/qobject.html">`QObject`</A>. It plays an important role in %Qt for The fourth class is the <A HREF="https://doc.qt.io/qt-6/qobject.html">`QObject`</A>. It plays an important role in %Qt for
event handling and memory management. First, it allows to add <A HREF="https://doc.qt.io/qt-5/signalsandslots.html">signals and event handling and memory management. First, it allows to add <A HREF="https://doc.qt.io/qt-6/signalsandslots.html">signals and
slots</A>, and to connect them. Second, it allows to install <A HREF="https://doc.qt.io/qt-5/eventsandfilters.html">event filters</A>. slots</A>, and to connect them. Second, it allows to install <A HREF="https://doc.qt.io/qt-6/eventsandfilters.html">event filters</A>.
\cgalFigureBegin{graphicsviewuml,uml-design.png} \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). 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 In order to visualize for example a `CGAL::Delaunay_triangulation_2`, we
provide the graphics item class `CGAL::Qt::TriangulationGraphicsItem<T>`. provide the graphics item class `CGAL::Qt::TriangulationGraphicsItem<T>`.
It provides a `paint` method that draws the edges and vertices of a triangulation It provides a `paint` method that draws the edges and vertices of a triangulation
using the drawing primitives of the <A HREF="https://doc.qt.io/qt-5/qpainter.html">`QPainter`</A>. The color of vertices and edges, using the drawing primitives of the <A HREF="https://doc.qt.io/qt-6/qpainter.html">`QPainter`</A>. The color of vertices and edges,
can be chosen by setting a user defined <A HREF="https://doc.qt.io/qt-5/qpen.html">`QPen`</A>. can be chosen by setting a user defined <A HREF="https://doc.qt.io/qt-6/qpen.html">`QPen`</A>.
As this graphics item only stores a pointer to a triangulation, it As this graphics item only stores a pointer to a triangulation, it
must be notified about changes like the insertion of points coming from must be notified about changes like the insertion of points coming from

View File

@ -13,7 +13,7 @@
\cgalPkgPicture{detail.png} \cgalPkgPicture{detail.png}
\cgalPkgSummaryBegin \cgalPkgSummaryBegin
\cgalPkgAuthors{Andreas Fabri and Laurent Rineau} \cgalPkgAuthors{Andreas Fabri and Laurent Rineau}
\cgalPkgDesc{This package provides classes for displaying \cgal objects and data structures in the <A HREF="https://doc.qt.io/qt-5/graphicsview.html">Qt 5 Graphics View Framework</A>.} \cgalPkgDesc{This package provides classes for displaying \cgal objects and data structures in the <A HREF="https://doc.qt.io/qt-6/graphicsview.html">Qt 5 Graphics View Framework</A>.}
\cgalPkgManuals{Chapter_CGAL_and_the_Qt_Graphics_View_Framework,PkgGraphicsViewRef} \cgalPkgManuals{Chapter_CGAL_and_the_Qt_Graphics_View_Framework,PkgGraphicsViewRef}
\cgalPkgSummaryEnd \cgalPkgSummaryEnd
\cgalPkgShortInfoBegin \cgalPkgShortInfoBegin
@ -26,7 +26,7 @@
This package provides some classes which allow to use \cgal classes in This package provides some classes which allow to use \cgal classes in
<I>Qt</I> applications which make use of the <A <I>Qt</I> applications which make use of the <A
HREF="https://doc.qt.io/qt-5/graphicsview.html">Qt Graphics HREF="https://doc.qt.io/qt-6/graphicsview.html">Qt Graphics
View Framework</A>. View Framework</A>.
\cgalClassifedRefPages \cgalClassifedRefPages