[−][src]Struct qt_core::q_abstract_item_model::CheckIndexOption
This enum can be used to control the checks performed by QAbstractItemModel::checkIndex().
C++ enum: QAbstractItemModel::CheckIndexOption
.
This enum can be used to control the checks performed by QAbstractItemModel::checkIndex().
This enum was introduced or modified in Qt 5.11.
The CheckIndexOptions type is a typedef for QFlags<CheckIndexOption>. It stores an OR combination of CheckIndexOption values.
Methods
impl CheckIndexOption
[src]
impl CheckIndexOption
[src]
pub const NoOption: CheckIndexOption
[src]
No check options are specified. (C++ enum variant: NoOption = 0
)
pub const IndexIsValid: CheckIndexOption
[src]
The model index passed to QAbstractItemModel::checkIndex() is checked to be a valid model index. (C++ enum variant: IndexIsValid = 1
)
pub const DoNotUseParent: CheckIndexOption
[src]
Does not perform any check involving the usage of the parent of the index passed to QAbstractItemModel::checkIndex(). (C++ enum variant: DoNotUseParent = 2
)
pub const ParentIsInvalid: CheckIndexOption
[src]
The parent of the model index passed to QAbstractItemModel::checkIndex() is checked to be an invalid model index. If both this option and DoNotUseParent are specified, then this option is ignored. (C++ enum variant: ParentIsInvalid = 4
)
Trait Implementations
impl<T: Into<QFlags<CheckIndexOption>>> BitOr<T> for CheckIndexOption
[src]
type Output = QFlags<CheckIndexOption>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<CheckIndexOption>
[src]
impl Clone for CheckIndexOption
[src]
fn clone(&self) -> CheckIndexOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CheckIndexOption
[src]
impl Debug for CheckIndexOption
[src]
impl Eq for CheckIndexOption
[src]
impl From<CheckIndexOption> for c_int
[src]
fn from(value: CheckIndexOption) -> Self
[src]
impl From<CheckIndexOption> for QFlags<CheckIndexOption>
[src]
fn from(value: CheckIndexOption) -> Self
[src]
impl From<i32> for CheckIndexOption
[src]
impl PartialEq<CheckIndexOption> for CheckIndexOption
[src]
fn eq(&self, other: &CheckIndexOption) -> bool
[src]
fn ne(&self, other: &CheckIndexOption) -> bool
[src]
impl StructuralEq for CheckIndexOption
[src]
impl StructuralPartialEq for CheckIndexOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for CheckIndexOption
impl Send for CheckIndexOption
impl Sync for CheckIndexOption
impl Unpin for CheckIndexOption
impl UnwindSafe for CheckIndexOption
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>,