[−][src]Struct qt_widgets::q_graphics_item::PanelModality
This enum specifies the behavior of a modal panel. A modal panel is one that blocks input to other panels. Note that items that are children of a modal panel are not blocked.
C++ enum: QGraphicsItem::PanelModality
.
This enum specifies the behavior of a modal panel. A modal panel is one that blocks input to other panels. Note that items that are children of a modal panel are not blocked.
The values are:
This enum was introduced or modified in Qt 4.6.
See also QGraphicsItem::setPanelModality(), QGraphicsItem::panelModality(), and QGraphicsItem::ItemIsPanel.
Methods
impl PanelModality
[src]
impl PanelModality
[src]
pub const NonModal: PanelModality
[src]
The panel is not modal and does not block input to other panels. This is the default value for panels. (C++ enum variant: NonModal = 0
)
pub const PanelModal: PanelModality
[src]
The panel is modal to a single item hierarchy and blocks input to its parent pane, all grandparent panels, and all siblings of its parent and grandparent panels. (C++ enum variant: PanelModal = 1
)
pub const SceneModal: PanelModality
[src]
The window is modal to the entire scene and blocks input to all panels. (C++ enum variant: SceneModal = 2
)
Trait Implementations
impl Clone for PanelModality
[src]
fn clone(&self) -> PanelModality
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PanelModality
[src]
impl Debug for PanelModality
[src]
impl Eq for PanelModality
[src]
impl From<PanelModality> for c_int
[src]
fn from(value: PanelModality) -> Self
[src]
impl From<i32> for PanelModality
[src]
impl PartialEq<PanelModality> for PanelModality
[src]
fn eq(&self, other: &PanelModality) -> bool
[src]
fn ne(&self, other: &PanelModality) -> bool
[src]
impl StructuralEq for PanelModality
[src]
impl StructuralPartialEq for PanelModality
[src]
Auto Trait Implementations
impl RefUnwindSafe for PanelModality
impl Send for PanelModality
impl Sync for PanelModality
impl Unpin for PanelModality
impl UnwindSafe for PanelModality
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>,