Fix declarations of some \ccFunction to improve the manual index.

This commit is contained in:
Sylvain Pion 2007-04-17 09:59:18 +00:00
parent 9c1dafa587
commit dd7d2df96b
2 changed files with 19 additions and 31 deletions

View File

@ -107,7 +107,7 @@ The first example draws a red segment on an orange background.
\ccIncludeExampleCode{Qt_widget/hellosegment.cpp} \ccIncludeExampleCode{Qt_widget/hellosegment.cpp}
We follow the \qt\ naming conventions for material properties, for 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 All the drawing code should be put between \ccStyle{Qt\_Widget}'s lock() and
unlock() functions. See the manual reference pages of 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} \subsection{Example: Signals and Slots}
This example is slightly more involved and uses the This example is slightly more involved and uses the
signal/slots mechanism of \qt\ . signal/slots mechanism of \qt.
The main widget shows a The main widget shows a
Delaunay triangulation. Every time the mouse button is pressed over Delaunay triangulation. Every time the mouse button is pressed over

View File

@ -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} 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 via the operator \ccc{<<}, to change the context for further drawing.
drawing.
Here, we simply document the use of these operators which is all the Here, we simply document the use of these operators which is all the
user needs to know to modify the state of a stream. user needs to know to modify the state of a stream.
\ccFunction{Qt_widget& operator<<(Qt_widget& win, BackgroundColor(const \ccFunction{Qt_widget& operator<<(Qt_widget& win, BackgroundColor);}
Color& c));}{Sets the color used for background color.} {Sets the color used for background color.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, FillColor(const \ccFunction{Qt_widget& operator<<(Qt_widget& win, FillColor);}
Color& c));}{Sets the color used for filling the objects.} {Sets the color used for filling the objects.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, LineWidth(const \ccFunction{Qt_widget& operator<<(Qt_widget& win, LineWidth);}
unsigned int i));}{Sets the width of the line for drawing objects.} {Sets the width of the line for drawing objects.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, PointSize(const \ccFunction{Qt_widget& operator<<(Qt_widget& win, PointSize);}
unsigned int i));}{Sets the size of the points.} {Sets the size of the points.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, noFill);}{Sets the state \ccFunction{Qt_widget& operator<<(Qt_widget& win, noFill);}
of Qt\_widget concerning filling the objects to be false.} {Sets the state of \ccc{Qt_widget} concerning filling the objects to be false.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const Color& c);}{Sets the \ccFunction{Qt_widget& operator<<(Qt_widget& win, const Color& c);}
color used as the Qt\_widget fillColor.} {Sets the color used as the \ccc{Qt_widget} fillColor.}
\ccGlue \ccGlue
\ccFunction{Qt_widget& operator<<(Qt_widget& win, const PointStyle& ps);}{Sets \ccFunction{Qt_widget& operator<<(Qt_widget& win, const PointStyle& ps);}
the point style for \ccc{Qt_widget}.} {Sets the point style for \ccc{Qt_widget}.}
\ccGlue \ccGlue
% +-----------------------------------------------------+
% EOF