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
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 more