[−][src]Struct qt_gui::QHideEvent
The QHideEvent class provides an event which is sent after a widget is hidden.
C++ class: QHideEvent
.
The QHideEvent class provides an event which is sent after a widget is hidden.
This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.
If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true
.
Methods
impl QHideEvent
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QHideEvent>>
) -> MutRef<QHideEvent>
[src]
&mut self,
other: impl CastInto<Ref<QHideEvent>>
) -> MutRef<QHideEvent>
The QHideEvent class provides an event which is sent after a widget is hidden.
Calls C++ function: QHideEvent& QHideEvent::operator=(const QHideEvent& other)
.
The QHideEvent class provides an event which is sent after a widget is hidden.
This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.
If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true
.
pub unsafe fn new() -> CppBox<QHideEvent>
[src]
Constructs a QHideEvent.
Calls C++ function: [constructor] void QHideEvent::QHideEvent()
.
Constructs a QHideEvent.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QHideEvent>>
) -> CppBox<QHideEvent>
[src]
other: impl CastInto<Ref<QHideEvent>>
) -> CppBox<QHideEvent>
The QHideEvent class provides an event which is sent after a widget is hidden.
Calls C++ function: [constructor] void QHideEvent::QHideEvent(const QHideEvent& other)
.
The QHideEvent class provides an event which is sent after a widget is hidden.
This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.
If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true
.
Trait Implementations
impl CppDeletable for QHideEvent
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: virtual [destructor] void QHideEvent::~QHideEvent()
.
impl Deref for QHideEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr)
.
impl DerefMut for QHideEvent
[src]
fn deref_mut(&mut self) -> &mut QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr)
.
impl DynamicCast<QHideEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QHideEvent>
[src]
Calls C++ function: QHideEvent* dynamic_cast<QHideEvent*>(QEvent* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QHideEvent>
[src]
Calls C++ function: QHideEvent* dynamic_cast<QHideEvent*>(QEvent* ptr)
.
impl StaticDowncast<QHideEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QHideEvent>
[src]
Calls C++ function: QHideEvent* static_cast<QHideEvent*>(QEvent* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QHideEvent>
[src]
Calls C++ function: QHideEvent* static_cast<QHideEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QHideEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QHideEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QHideEvent>) -> MutPtr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QHideEvent
impl Send for QHideEvent
impl Sync for QHideEvent
impl Unpin for QHideEvent
impl UnwindSafe for QHideEvent
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>,