pub struct ModelChangeType(/* private fields */);
Expand description
This enum describes the different types of changes in the table model.
C++ enum: QAccessibleTableModelChangeEvent::ModelChangeType
.
This enum describes the different types of changes in the table model.
Implementations§
source§impl ModelChangeType
impl ModelChangeType
sourcepub const ModelReset: ModelChangeType = _
pub const ModelReset: ModelChangeType = _
The model has been reset, all previous knowledge about the model is now invalid. (C++ enum variant: ModelReset = 0
)
sourcepub const DataChanged: ModelChangeType = _
pub const DataChanged: ModelChangeType = _
No cells have been added or removed, but the data of the specified cell range is invalid. (C++ enum variant: DataChanged = 1
)
sourcepub const RowsInserted: ModelChangeType = _
pub const RowsInserted: ModelChangeType = _
New rows have been inserted. (C++ enum variant: RowsInserted = 2
)
sourcepub const ColumnsInserted: ModelChangeType = _
pub const ColumnsInserted: ModelChangeType = _
New columns have been inserted. (C++ enum variant: ColumnsInserted = 3
)
sourcepub const RowsRemoved: ModelChangeType = _
pub const RowsRemoved: ModelChangeType = _
Rows have been removed. (C++ enum variant: RowsRemoved = 4
)
sourcepub const ColumnsRemoved: ModelChangeType = _
pub const ColumnsRemoved: ModelChangeType = _
Columns have been removed. (C++ enum variant: ColumnsRemoved = 5
)
Trait Implementations§
source§impl Clone for ModelChangeType
impl Clone for ModelChangeType
source§fn clone(&self) -> ModelChangeType
fn clone(&self) -> ModelChangeType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelChangeType
impl Debug for ModelChangeType
source§impl From<ModelChangeType> for c_int
impl From<ModelChangeType> for c_int
source§fn from(value: ModelChangeType) -> Self
fn from(value: ModelChangeType) -> Self
Converts to this type from the input type.
source§impl From<i32> for ModelChangeType
impl From<i32> for ModelChangeType
source§impl PartialEq for ModelChangeType
impl PartialEq for ModelChangeType
source§fn eq(&self, other: &ModelChangeType) -> bool
fn eq(&self, other: &ModelChangeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ModelChangeType
impl Eq for ModelChangeType
impl StructuralEq for ModelChangeType
impl StructuralPartialEq for ModelChangeType
Auto Trait Implementations§
impl RefUnwindSafe for ModelChangeType
impl Send for ModelChangeType
impl Sync for ModelChangeType
impl Unpin for ModelChangeType
impl UnwindSafe for ModelChangeType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more