Struct qt_core::WindowState
source · pub struct WindowState(/* private fields */);
Expand description
This enum type is used to specify the current state of a top-level window.
C++ enum: Qt::WindowState
.
This enum type is used to specify the current state of a top-level window.
The states are
The WindowStates type is a typedef for QFlags<WindowState>. It stores an OR combination of WindowState values.
Implementations§
source§impl WindowState
impl WindowState
sourcepub const WindowNoState: WindowState = _
pub const WindowNoState: WindowState = _
The window has no state set (in normal state). (C++ enum variant: WindowNoState = 0
)
sourcepub const WindowMinimized: WindowState = _
pub const WindowMinimized: WindowState = _
The window is minimized (i.e. iconified). (C++ enum variant: WindowMinimized = 1
)
sourcepub const WindowMaximized: WindowState = _
pub const WindowMaximized: WindowState = _
The window is maximized with a frame around it. (C++ enum variant: WindowMaximized = 2
)
sourcepub const WindowFullScreen: WindowState = _
pub const WindowFullScreen: WindowState = _
The window fills the entire screen without any frame around it. (C++ enum variant: WindowFullScreen = 4
)
sourcepub const WindowActive: WindowState = _
pub const WindowActive: WindowState = _
The window is the active window, i.e. it has keyboard focus. (C++ enum variant: WindowActive = 8
)
Trait Implementations§
source§impl<T: Into<QFlags<WindowState>>> BitOr<T> for WindowState
impl<T: Into<QFlags<WindowState>>> BitOr<T> for WindowState
§type Output = QFlags<WindowState>
type Output = QFlags<WindowState>
|
operator.source§impl Clone for WindowState
impl Clone for WindowState
source§fn clone(&self) -> WindowState
fn clone(&self) -> WindowState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WindowState
impl Debug for WindowState
source§impl From<WindowState> for QFlags<WindowState>
impl From<WindowState> for QFlags<WindowState>
source§fn from(value: WindowState) -> Self
fn from(value: WindowState) -> Self
source§impl From<WindowState> for c_int
impl From<WindowState> for c_int
source§fn from(value: WindowState) -> Self
fn from(value: WindowState) -> Self
source§impl From<i32> for WindowState
impl From<i32> for WindowState
source§impl PartialEq for WindowState
impl PartialEq for WindowState
source§fn eq(&self, other: &WindowState) -> bool
fn eq(&self, other: &WindowState) -> bool
self
and other
values to be equal, and is used
by ==
.