pub struct PanelModality(/* private fields */);
Expand description
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.
Implementations§
Source§impl PanelModality
impl PanelModality
Sourcepub const NonModal: PanelModality
pub const NonModal: PanelModality
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
)
Sourcepub const PanelModal: PanelModality
pub const PanelModal: PanelModality
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
)
Sourcepub const SceneModal: PanelModality
pub const SceneModal: PanelModality
The window is modal to the entire scene and blocks input to all panels. (C++ enum variant: SceneModal = 2
)
Trait Implementations§
Source§impl Clone for PanelModality
impl Clone for PanelModality
Source§fn clone(&self) -> PanelModality
fn clone(&self) -> PanelModality
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more