QExposeEvent Class

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

Header: #include <QExposeEvent>
qmake: QT += gui
Since: Qt 5.0
Inherits: QEvent

Public Functions

QExposeEvent(const QRegion &exposeRegion)
const QRegion &region() const
  • 6 public functions inherited from QEvent

Additional Inherited Members

  • 1 property inherited from QEvent
  • 1 static public member inherited from QEvent

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.

Member Function Documentation

QExposeEvent::QExposeEvent(const QRegion &exposeRegion)

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

const QRegion &QExposeEvent::region() const

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

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.