The QPaintEvent class contains event parameters for paint events. More...
#include <qevent.h>
Inherits QEvent.
Paint events are sent to widgets that need to update themselves, for instance when a part of a widget is exposed because an overlying widget is moved away.
The event handler QWidget::paintEvent() receives paint events.
See also QPainter, QWidget::update() and QWidget::repaint().
Examples: qtimage/qtimage.cpp grapher/grapher.cpp drawlines/connect.cpp xform/xform.cpp drawdemo/drawdemo.cpp progress/progress.cpp qmag/qmag.cpp splitter/splitter.cpp forever/forever.cpp desktop/desktop.cpp trivial/trivial.cpp picture/picture.cpp
Constructs a paint event object with the rectangle that should be updated.
Constructs a paint event object with the region that should be updated.
Returns whether the paint event region (or rectangle) has been erased with the widget's background.
Returns the rectangle that should be updated.
See also region() and QPainter::setClipRect().
Examples: qtimage/qtimage.cpp grapher/grapher.cpp progress/progress.cpp splitter/splitter.cpp trivial/trivial.cpp
Returns the region that should be updated.
See also rect() and QPainter::setClipRegion().
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright İ 2000 Trolltech | Trademarks | Qt version 2.2.1
|