CopperSpice API  1.7.2
QExposeEvent Class Reference

The QExposeEvent class contains event parameters for expose events. More...

Inheritance diagram for QExposeEvent:
QEvent

Public Methods

 QExposeEvent (const QRegion &exposeRegion)
 
const QRegionregion () const
 
- Public Methods inherited from QEvent
 QEvent (const QEvent &other)
 
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
QEvent & operator= (const QEvent &other)
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
 
- Static Public Methods inherited from QEvent
static int registerEventType (int hint=-1)
 

Detailed Description

The QExposeEvent class contains event parameters for expose events. Expose events are sent to windows when an area of the window is invalidated or window visibility in the windowing system changes. The event handler QWindow::exposeEvent() receives expose events.

Constructor & Destructor Documentation

QExposeEvent::QExposeEvent ( const QRegion exposeRegion)
explicit

Constructs an expose event for the given exposeRegion which must be in local coordinates.

Method Documentation

const QRegion & QExposeEvent::region ( ) const
inline

Returns the window area that has been exposed. The region is given in local coordinates.