[−][src]Struct qt_core::WindowModality
This enum specifies the behavior of a modal window. A modal window is one that blocks input to other windows. Note that windows that are children of a modal window are not blocked.
C++ enum: Qt::WindowModality
.
This enum specifies the behavior of a modal window. A modal window is one that blocks input to other windows. Note that windows that are children of a modal window are not blocked.
The values are:
See also QWidget::windowModality and QDialog.
Methods
impl WindowModality
[src]
impl WindowModality
[src]
pub const NonModal: WindowModality
[src]
The window is not modal and does not block input to other windows. (C++ enum variant: NonModal = 0
)
pub const WindowModal: WindowModality
[src]
The window is modal to a single window hierarchy and blocks input to its parent window, all grandparent windows, and all siblings of its parent and grandparent windows. (C++ enum variant: WindowModal = 1
)
pub const ApplicationModal: WindowModality
[src]
The window is modal to the application and blocks input to all windows. (C++ enum variant: ApplicationModal = 2
)
Trait Implementations
impl Clone for WindowModality
[src]
fn clone(&self) -> WindowModality
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WindowModality
[src]
impl Debug for WindowModality
[src]
impl Eq for WindowModality
[src]
impl From<WindowModality> for c_int
[src]
fn from(value: WindowModality) -> Self
[src]
impl From<i32> for WindowModality
[src]
impl PartialEq<WindowModality> for WindowModality
[src]
fn eq(&self, other: &WindowModality) -> bool
[src]
fn ne(&self, other: &WindowModality) -> bool
[src]
impl StructuralEq for WindowModality
[src]
impl StructuralPartialEq for WindowModality
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowModality
impl Send for WindowModality
impl Sync for WindowModality
impl Unpin for WindowModality
impl UnwindSafe for WindowModality
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]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,