cgal/GraphicsView/include/CGAL/Qt
Laurent Rineau b731d74096 CGAL::Qt::GraphicsViewNavigation is no longer constructed from a
QGraphicsView*. It is now able to handle several graphics view at the same
time (just install several event filters).

New class CGAL::Qt::DemosMainWindow. That class has several protected
methods:
  void setupStatusBar();
  void addNavigation(QGraphicsView*);
  void setupOptionsMenu(QMenu* menu  = NULL);
  void addAboutCGAL(QMenu* menu  = NULL);
  void addAboutDemo(QString htmlResourceName, QMenu* menu  = NULL);

setupStatusBar() adds a label in the statusBar(), that is connected to the
navigation class, and shows the position of the mouse.

addNavigation(QGraphicsView* v) adds a navigation class to the view v.

setupOptionsMenu(QMenu* m  = NULL) adds two options "Use OpenGL" and
"Use antialiasing" to the menu m. If m==0, a menu named "Options" is searched
for, or created if it does not exists.

addAboutCGAL(QMenu* m  = NULL) adds an entry "About CGAL..." to the menu
m. If m==0, a "Help" menu is searched for or created.

addAboutDemo(QString htmlResourceName, QMenu* m  = NULL) adds an entre
"About the demo...", to the menu m. If m==0, a "Help" menu is searched for
or created. If the entry is clicked, a popup dialog shows the content of
the resource/file whose name is in htmlResourceName.
Example:
  addAboutDemo(":/cgal/help/about_triangulation.html")
2008-06-26 15:19:44 +00:00
..
ConstrainedTriangulationGraphicsItem.h Use T::Geom_traits instead of K 2008-06-26 13:07:40 +00:00
Converter.h more low level conversion and drawing 2008-06-26 12:46:19 +00:00
GraphicsItem.h Reorganize classes in a namespace and directory called Qt 2008-06-26 08:07:36 +00:00
GraphicsViewCircleInput.h Put the clipping in the Converter 2008-06-26 10:17:51 +00:00
GraphicsViewInput.h Reorganize classes in a namespace and directory called Qt 2008-06-26 08:07:36 +00:00
GraphicsViewLineInput.h
GraphicsViewNavigation.h CGAL::Qt::GraphicsViewNavigation is no longer constructed from a 2008-06-26 15:19:44 +00:00
GraphicsViewPolylineInput.h Reorganize classes in a namespace and directory called Qt 2008-06-26 08:07:36 +00:00
PainterOstream.h more low level conversion and drawing 2008-06-26 12:46:19 +00:00
TriangulationGraphicsItem.h Use T::Geom_traits instead of K 2008-06-26 13:07:40 +00:00
VoronoiGraphicsItem.h Put the clipping in the Converter 2008-06-26 10:17:51 +00:00