QPaintEvent Class Reference


The QPaintEvent class contains event parameters for paint events. (details) (complete member list)

#include <qevent.h>

Inherits QEvent.

Public Members


Detailed Description

The QPaintEvent class contains event parameters for paint events.

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 virtual function QWidget::paintEvent() receives paint events.

See also: QWidget::update() and QWidget::repaint().


Member Function Documentation

QPaintEvent::QPaintEvent (const QRect &paintRect)

Constructs a paint event object with the rectangle that should be updated.

QRect & QPaintEvent::rect ()

Returns the rectangle that should be updated.


This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech