pub struct QItemSelectionRange { /* private fields */ }Expand description
C++ class: QItemSelectionRange.
Implementations§
Source§impl QItemSelectionRange
impl QItemSelectionRange
Sourcepub unsafe fn bottom(&self) -> c_int
pub unsafe fn bottom(&self) -> c_int
Calls C++ function: int QItemSelectionRange::bottom() const.
Sourcepub unsafe fn bottom_right(&self) -> Ref<QPersistentModelIndex>
pub unsafe fn bottom_right(&self) -> Ref<QPersistentModelIndex>
Calls C++ function: const QPersistentModelIndex& QItemSelectionRange::bottomRight() const.
Sourcepub unsafe fn contains_1a(&self, index: impl CastInto<Ref<QModelIndex>>) -> bool
pub unsafe fn contains_1a(&self, index: impl CastInto<Ref<QModelIndex>>) -> bool
Calls C++ function: bool QItemSelectionRange::contains(const QModelIndex& index) const.
Sourcepub unsafe fn contains_3a(
&self,
row: c_int,
column: c_int,
parent_index: impl CastInto<Ref<QModelIndex>>,
) -> bool
pub unsafe fn contains_3a( &self, row: c_int, column: c_int, parent_index: impl CastInto<Ref<QModelIndex>>, ) -> bool
Calls C++ function: bool QItemSelectionRange::contains(int row, int column, const QModelIndex& parentIndex) const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QItemSelectionRange>>,
) -> Ref<QItemSelectionRange>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QItemSelectionRange>>, ) -> Ref<QItemSelectionRange>
Calls C++ function: QItemSelectionRange& QItemSelectionRange::operator=(const QItemSelectionRange& other).
Sourcepub unsafe fn height(&self) -> c_int
pub unsafe fn height(&self) -> c_int
Calls C++ function: int QItemSelectionRange::height() const.
Sourcepub unsafe fn indexes(&self) -> CppBox<QListOfQModelIndex>
pub unsafe fn indexes(&self) -> CppBox<QListOfQModelIndex>
Calls C++ function: QList<QModelIndex> QItemSelectionRange::indexes() const.
Sourcepub unsafe fn intersected(
&self,
other: impl CastInto<Ref<QItemSelectionRange>>,
) -> CppBox<QItemSelectionRange>
pub unsafe fn intersected( &self, other: impl CastInto<Ref<QItemSelectionRange>>, ) -> CppBox<QItemSelectionRange>
Calls C++ function: QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange& other) const.
Sourcepub unsafe fn intersects(
&self,
other: impl CastInto<Ref<QItemSelectionRange>>,
) -> bool
pub unsafe fn intersects( &self, other: impl CastInto<Ref<QItemSelectionRange>>, ) -> bool
Calls C++ function: bool QItemSelectionRange::intersects(const QItemSelectionRange& other) const.
Sourcepub unsafe fn is_empty(&self) -> bool
pub unsafe fn is_empty(&self) -> bool
Calls C++ function: bool QItemSelectionRange::isEmpty() const.
Sourcepub unsafe fn is_valid(&self) -> bool
pub unsafe fn is_valid(&self) -> bool
Calls C++ function: bool QItemSelectionRange::isValid() const.
Sourcepub unsafe fn model(&self) -> QPtr<QAbstractItemModel>
pub unsafe fn model(&self) -> QPtr<QAbstractItemModel>
Calls C++ function: const QAbstractItemModel* QItemSelectionRange::model() const.
Sourcepub unsafe fn new_0a() -> CppBox<QItemSelectionRange>
pub unsafe fn new_0a() -> CppBox<QItemSelectionRange>
Calls C++ function: [constructor] void QItemSelectionRange::QItemSelectionRange().
Sourcepub unsafe fn new_2a(
top_l: impl CastInto<Ref<QModelIndex>>,
bottom_r: impl CastInto<Ref<QModelIndex>>,
) -> CppBox<QItemSelectionRange>
pub unsafe fn new_2a( top_l: impl CastInto<Ref<QModelIndex>>, bottom_r: impl CastInto<Ref<QModelIndex>>, ) -> CppBox<QItemSelectionRange>
Calls C++ function: [constructor] void QItemSelectionRange::QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR).
Sourcepub unsafe fn new_1a(
index: impl CastInto<Ref<QModelIndex>>,
) -> CppBox<QItemSelectionRange>
pub unsafe fn new_1a( index: impl CastInto<Ref<QModelIndex>>, ) -> CppBox<QItemSelectionRange>
Calls C++ function: [constructor] void QItemSelectionRange::QItemSelectionRange(const QModelIndex& index).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QItemSelectionRange>>,
) -> CppBox<QItemSelectionRange>
pub unsafe fn new_copy( other: impl CastInto<Ref<QItemSelectionRange>>, ) -> CppBox<QItemSelectionRange>
Calls C++ function: [constructor] void QItemSelectionRange::QItemSelectionRange(const QItemSelectionRange& other).
Sourcepub unsafe fn parent(&self) -> CppBox<QModelIndex>
pub unsafe fn parent(&self) -> CppBox<QModelIndex>
Calls C++ function: QModelIndex QItemSelectionRange::parent() const.
Sourcepub unsafe fn right(&self) -> c_int
pub unsafe fn right(&self) -> c_int
Calls C++ function: int QItemSelectionRange::right() const.
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QItemSelectionRange>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QItemSelectionRange>>)
Calls C++ function: void QItemSelectionRange::swap(QItemSelectionRange& other).
Sourcepub unsafe fn top_left(&self) -> Ref<QPersistentModelIndex>
pub unsafe fn top_left(&self) -> Ref<QPersistentModelIndex>
Calls C++ function: const QPersistentModelIndex& QItemSelectionRange::topLeft() const.