pub struct RelationFlag(/* private fields */);
Expand description
This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.
C++ enum: QAccessible::RelationFlag
.
This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.
Implementations of relations() return a combination of these flags. Some values are mutually exclusive.
The Relation type is a typedef for QFlags<RelationFlag>. It stores an OR combination of RelationFlag values.
Implementations§
Source§impl RelationFlag
impl RelationFlag
Sourcepub const Label: RelationFlag
pub const Label: RelationFlag
The first object is the label of the second object. (C++ enum variant: Label = 1
)
Sourcepub const Labelled: RelationFlag
pub const Labelled: RelationFlag
The first object is labelled by the second object. (C++ enum variant: Labelled = 2
)
Sourcepub const Controller: RelationFlag
pub const Controller: RelationFlag
The first object controls the second object. (C++ enum variant: Controller = 4
)
Sourcepub const Controlled: RelationFlag
pub const Controlled: RelationFlag
The first object is controlled by the second object. (C++ enum variant: Controlled = 8
)
Sourcepub const AllRelations: RelationFlag
pub const AllRelations: RelationFlag
Used as a mask to specify that we are interesting in information about all relations (C++ enum variant: AllRelations = -1
)
Trait Implementations§
Source§impl<T: Into<QFlags<RelationFlag>>> BitOr<T> for RelationFlag
impl<T: Into<QFlags<RelationFlag>>> BitOr<T> for RelationFlag
Source§impl Clone for RelationFlag
impl Clone for RelationFlag
Source§fn clone(&self) -> RelationFlag
fn clone(&self) -> RelationFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more