qpaintevent man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



QPaintEvent(3qt)				 QPaintEvent(3qt)

NAME
       QPaintEvent - Event parameters for paint events

       #include <qevent.h>

       Inherits QEvent.

   Public Members
       QPaintEvent ( const QRegion & paintRegion, bool erased =
	   TRUE )
       QPaintEvent ( const QRect & paintRect, bool erased = TRUE
	   )
       const QRect& rect () const
       const QRegion& region () const
       bool erased () const

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 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 desktop/desktop.cpp
       trivial/trivial.cpp picture/picture.cpp

MEMBER FUNCTION DOCUMENTATION
QPaintEvent::QPaintEvent ( const QRect & paintRect, bool
       erased=TRUE = TRUE )
       Constructs a paint event object with the rectangle that
       should be updated.

QPaintEvent::QPaintEvent ( const QRegion & paintRegion, bool
       erased=TRUE = TRUE )
       Constructs a paint event object with the region that
       should be updated.

bool QPaintEvent::erased () const
       Returns whether the paint event region (or rectangle) has
       been erased with the widget's background.

const QRect & QPaintEvent::rect () const
       Returns the rectangle that should be updated.

Trolltech AS		   13 June 2001				1

QPaintEvent(3qt)				 QPaintEvent(3qt)

       See also region() and QPainter::setClipRect().

       Examples: qtimage/qtimage.cpp grapher/grapher.cpp
       progress/progress.cpp splitter/splitter.cpp
       trivial/trivial.cpp

const QRegion & QPaintEvent::region () const
       Returns the region that should be updated.

       See also	 rect() and QPainter::setClipRegion().

SEE ALSO
       http://doc.trolltech.com/qpaintevent.html
       http://www.trolltech.com/faq/tech.html

COPYRIGHT
       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.

AUTHOR
       Generated automatically from the source code.

BUGS
       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.	Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qpaintevent.3qt) and the Qt version (2.3.1).

Trolltech AS		   13 June 2001				2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net