mirror of https://github.com/CGAL/cgal
Fix declarations of some \ccFunction to improve the manual index.
This commit is contained in:
parent
9c1dafa587
commit
dd7d2df96b
|
|
@ -107,7 +107,7 @@ The first example draws a red segment on an orange background.
|
|||
\ccIncludeExampleCode{Qt_widget/hellosegment.cpp}
|
||||
|
||||
We follow the \qt\ naming conventions for material properties, for
|
||||
example, the {\tt CGAL::BackgroundColor} above.
|
||||
example, the \ccc{CGAL::BackgroundColor} above.
|
||||
|
||||
All the drawing code should be put between \ccStyle{Qt\_Widget}'s lock() and
|
||||
unlock() functions. See the manual reference pages of
|
||||
|
|
@ -126,7 +126,7 @@ whenever necessary. This is the topic of the next example.
|
|||
\subsection{Example: Signals and Slots}
|
||||
|
||||
This example is slightly more involved and uses the
|
||||
signal/slots mechanism of \qt\ .
|
||||
signal/slots mechanism of \qt.
|
||||
|
||||
The main widget shows a
|
||||
Delaunay triangulation. Every time the mouse button is pressed over
|
||||
|
|
|
|||
|
|
@ -10,51 +10,39 @@
|
|||
|
||||
% +-----------------------------------------------------+
|
||||
|
||||
\ccHeading{Manipulators for Qt\_widget}
|
||||
\ccHeading{Manipulators for \ccc{Qt_widget}}
|
||||
|
||||
|
||||
A \ccc{manipulator} is an object which can be inserted in the \ccc{Qt_widget}
|
||||
, via the operator \ccc{<<}, to change the context for further
|
||||
drawing.
|
||||
A \ccc{manipulator} is an object which can be inserted in the \ccc{Qt_widget},
|
||||
via the operator \ccc{<<}, to change the context for further drawing.
|
||||
|
||||
Here, we simply document the use of these operators which is all the
|
||||
user needs to know to modify the state of a stream.
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, BackgroundColor(const
|
||||
Color& c));}{Sets the color used for background color.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, BackgroundColor);}
|
||||
{Sets the color used for background color.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, FillColor(const
|
||||
Color& c));}{Sets the color used for filling the objects.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, FillColor);}
|
||||
{Sets the color used for filling the objects.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, LineWidth(const
|
||||
unsigned int i));}{Sets the width of the line for drawing objects.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, LineWidth);}
|
||||
{Sets the width of the line for drawing objects.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, PointSize(const
|
||||
unsigned int i));}{Sets the size of the points.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, PointSize);}
|
||||
{Sets the size of the points.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, noFill);}{Sets the state
|
||||
of Qt\_widget concerning filling the objects to be false.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, noFill);}
|
||||
{Sets the state of \ccc{Qt_widget} concerning filling the objects to be false.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const Color& c);}{Sets the
|
||||
color used as the Qt\_widget fillColor.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const Color& c);}
|
||||
{Sets the color used as the \ccc{Qt_widget} fillColor.}
|
||||
\ccGlue
|
||||
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const PointStyle& ps);}{Sets
|
||||
the point style for \ccc{Qt_widget}.}
|
||||
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const PointStyle& ps);}
|
||||
{Sets the point style for \ccc{Qt_widget}.}
|
||||
\ccGlue
|
||||
|
||||
|
||||
% +-----------------------------------------------------+
|
||||
% EOF
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue