[−][src]Struct qt_gui::QExposeEvent
The QExposeEvent class contains event parameters for expose events.
C++ class: QExposeEvent
.
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.
Methods
impl QExposeEvent
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QExposeEvent>>
) -> MutRef<QExposeEvent>
[src]
&mut self,
other: impl CastInto<Ref<QExposeEvent>>
) -> MutRef<QExposeEvent>
The QExposeEvent class contains event parameters for expose events.
Calls C++ function: QExposeEvent& QExposeEvent::operator=(const QExposeEvent& other)
.
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.
pub unsafe fn new(rgn: impl CastInto<Ref<QRegion>>) -> CppBox<QExposeEvent>
[src]
Constructs an expose event for the given exposeRegion which must be in local coordinates.
Calls C++ function: [constructor] void QExposeEvent::QExposeEvent(const QRegion& rgn)
.
Constructs an expose event for the given exposeRegion which must be in local coordinates.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QExposeEvent>>
) -> CppBox<QExposeEvent>
[src]
other: impl CastInto<Ref<QExposeEvent>>
) -> CppBox<QExposeEvent>
The QExposeEvent class contains event parameters for expose events.
Calls C++ function: [constructor] void QExposeEvent::QExposeEvent(const QExposeEvent& other)
.
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.
pub unsafe fn region(&self) -> Ref<QRegion>
[src]
Returns the window area that has been exposed. The region is given in local coordinates.
Calls C++ function: const QRegion& QExposeEvent::region() const
.
Returns the window area that has been exposed. The region is given in local coordinates.
Trait Implementations
impl CppDeletable for QExposeEvent
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: virtual [destructor] void QExposeEvent::~QExposeEvent()
.
impl Deref for QExposeEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QExposeEvent* ptr)
.
impl DerefMut for QExposeEvent
[src]
fn deref_mut(&mut self) -> &mut QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QExposeEvent* ptr)
.
impl DynamicCast<QExposeEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QExposeEvent>
[src]
Calls C++ function: QExposeEvent* dynamic_cast<QExposeEvent*>(QEvent* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QExposeEvent>
[src]
Calls C++ function: QExposeEvent* dynamic_cast<QExposeEvent*>(QEvent* ptr)
.
impl StaticDowncast<QExposeEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QExposeEvent>
[src]
Calls C++ function: QExposeEvent* static_cast<QExposeEvent*>(QEvent* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QExposeEvent>
[src]
Calls C++ function: QExposeEvent* static_cast<QExposeEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QExposeEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QExposeEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QExposeEvent* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QExposeEvent>) -> MutPtr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QExposeEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QExposeEvent
impl Send for QExposeEvent
impl Sync for QExposeEvent
impl Unpin for QExposeEvent
impl UnwindSafe for QExposeEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,