Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
The QExposeEvent class contains event parameters for expose events. \inmodule QtGui. More...
#include <qevent.h>
Public Member Functions | |
QExposeEvent (const QRegion &m_region) | |
Constructs an expose event for the given exposeRegion which must be in local coordinates. | |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
Constructs an event object of type type. | |
virtual | ~QEvent () |
Destroys the event. | |
Type | type () const |
Returns the event type. | |
bool | spontaneous () const |
Returns true if the event originated outside the application (a system event); otherwise returns false . | |
virtual void | setAccepted (bool accepted) |
bool | isAccepted () const |
void | accept () |
Sets the accept flag of the event object, the equivalent of calling setAccepted(true). | |
void | ignore () |
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). | |
bool | isInputEvent () const noexcept |
bool | isPointerEvent () const noexcept |
bool | isSinglePointEvent () const noexcept |
virtual QEvent * | clone () const |
Creates and returns an identical copy of this event. | |
Protected Attributes | |
QRegion | m_region |
Protected Attributes inherited from QEvent | |
quint16 | t |
Friends | |
class | QWidgetWindow |
The QExposeEvent class contains event parameters for expose events. \inmodule QtGui.
Expose events are sent to windows when they move between the un-exposed and exposed states.
An exposed window is potentially visible to the user. If the window is moved off screen, is made totally obscured by another window, is minimized, or similar, an expose event is sent to the window, and isExposed() might change to false.
Expose events should not be used to paint. Handle QPaintEvent instead.
The event handler QWindow::exposeEvent() receives expose events.
|
explicit |
Constructs an expose event for the given exposeRegion which must be in local coordinates.
Definition at line 1720 of file qevent.cpp.
|
friend |