Update docs.

Change-Id: I7bd1f1efe2d6ce3aee8cb7454f43cfef2979f525
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Frederik Gladhorn 2012-08-15 13:13:01 +02:00 committed by Qt by Nokia
parent ab802b3c85
commit 76cec118d0

View File

@ -4737,7 +4737,7 @@ static void sendResizeEvents(QWidget *target)
\since 5.0
Renders the widget into a pixmap restricted by the
given \a rectangle. If the \a widget has any children, then
given \a rectangle. If the widget has any children, then
they are also painted in the appropriate positions.
If a rectangle with an invalid size is specified (the default),
@ -11217,6 +11217,11 @@ void QWidget::ungrabGesture(Qt::GestureType gesture)
\a m is the metric to get.
*/
/*!
Initializes the \a painter pen, background and font to the same as
the given widget's. This function is called automatically when the
painter is opened on a QWidget.
*/
void QWidget::init(QPainter *painter) const
{
const QPalette &pal = palette();