API reference - Class QItemSelectionRange

Notation used in Ruby API documentation

Description: Binding of QItemSelectionRange

Public constructors

new QItemSelectionRangenewConstructor QItemSelectionRange::QItemSelectionRange()
new QItemSelectionRangenew(const QItemSelectionRange other)Constructor QItemSelectionRange::QItemSelectionRange(const QItemSelectionRange &other)
new QItemSelectionRangenew(const QModelIndex topLeft,
const QModelIndex bottomRight)
Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topLeft, const QModelIndex &bottomRight)
new QItemSelectionRangenew(const QModelIndex index)Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &index)

Public methods

[const]bool!=(const QItemSelectionRange other)Method bool QItemSelectionRange::operator!=(const QItemSelectionRange &other)
[const]bool==(const QItemSelectionRange other)Method bool QItemSelectionRange::operator==(const QItemSelectionRange &other)
[const]voidassign(const QItemSelectionRange other)Assign the contents of another object to self
[const]intbottomMethod int QItemSelectionRange::bottom()
[const]QModelIndexbottomRightMethod QModelIndex QItemSelectionRange::bottomRight()
[const]boolcontains(const QModelIndex index)Method bool QItemSelectionRange::contains(const QModelIndex &index)
[const]boolcontains(int row,
int column,
const QModelIndex parentIndex)
Method bool QItemSelectionRange::contains(int row, int column, const QModelIndex &parentIndex)
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QItemSelectionRangedupCreates a copy of self
[const]intheightMethod int QItemSelectionRange::height()
[const]QModelIndex[]indexesMethod QList<QModelIndex> QItemSelectionRange::indexes()
[const]QItemSelectionRangeintersect(const QItemSelectionRange other)Method QItemSelectionRange QItemSelectionRange::intersect(const QItemSelectionRange &other)
[const]QItemSelectionRangeintersected(const QItemSelectionRange other)Method QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange &other)
[const]boolintersects(const QItemSelectionRange other)Method bool QItemSelectionRange::intersects(const QItemSelectionRange &other)
[const]boolisValidMethod bool QItemSelectionRange::isValid()
[const]boolisValid?Method bool QItemSelectionRange::isValid()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]intleftMethod int QItemSelectionRange::left()
[const]const QAbstractItemModel ptrmodelMethod const QAbstractItemModel *QItemSelectionRange::model()
[const]QModelIndexparentMethod QModelIndex QItemSelectionRange::parent()
[const]intrightMethod int QItemSelectionRange::right()
[const]inttopMethod int QItemSelectionRange::top()
[const]QModelIndextopLeftMethod QModelIndex QItemSelectionRange::topLeft()
[const]intwidthMethod int QItemSelectionRange::width()

Detailed description

[const] bool !=(const QItemSelectionRange other)

Description: Method bool QItemSelectionRange::operator!=(const QItemSelectionRange &other)

[const] bool ==(const QItemSelectionRange other)

Description: Method bool QItemSelectionRange::operator==(const QItemSelectionRange &other)

[const] void assign(const QItemSelectionRange other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[const] int bottom

Description: Method int QItemSelectionRange::bottom()

[const] QModelIndex bottomRight

Description: Method QModelIndex QItemSelectionRange::bottomRight()

[const] bool contains(const QModelIndex index)

Description: Method bool QItemSelectionRange::contains(const QModelIndex &index)

[const] bool contains(int row,int column,const QModelIndex parentIndex)

Description: Method bool QItemSelectionRange::contains(int row, int column, const QModelIndex &parentIndex)

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QItemSelectionRange dup

Description: Creates a copy of self

[const] int height

Description: Method int QItemSelectionRange::height()

[const] QModelIndex[] indexes

Description: Method QList<QModelIndex> QItemSelectionRange::indexes()

[const] QItemSelectionRange intersect(const QItemSelectionRange other)

Description: Method QItemSelectionRange QItemSelectionRange::intersect(const QItemSelectionRange &other)

[const] QItemSelectionRange intersected(const QItemSelectionRange other)

Description: Method QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange &other)

[const] bool intersects(const QItemSelectionRange other)

Description: Method bool QItemSelectionRange::intersects(const QItemSelectionRange &other)

[const] bool isValid

Description: Method bool QItemSelectionRange::isValid()

[const] bool isValid?

Description: Method bool QItemSelectionRange::isValid()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] int left

Description: Method int QItemSelectionRange::left()

[const] const QAbstractItemModel ptr model

Description: Method const QAbstractItemModel *QItemSelectionRange::model()

[static] new QItemSelectionRange new

Description: Constructor QItemSelectionRange::QItemSelectionRange()

This method creates an object of class QItemSelectionRange.

[static] new QItemSelectionRange new(const QItemSelectionRange other)

Description: Constructor QItemSelectionRange::QItemSelectionRange(const QItemSelectionRange &other)

This method creates an object of class QItemSelectionRange.

[static] new QItemSelectionRange new(const QModelIndex topLeft,const QModelIndex bottomRight)

Description: Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topLeft, const QModelIndex &bottomRight)

This method creates an object of class QItemSelectionRange.

[static] new QItemSelectionRange new(const QModelIndex index)

Description: Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &index)

This method creates an object of class QItemSelectionRange.

[const] QModelIndex parent

Description: Method QModelIndex QItemSelectionRange::parent()

[const] int right

Description: Method int QItemSelectionRange::right()

[const] int top

Description: Method int QItemSelectionRange::top()

[const] QModelIndex topLeft

Description: Method QModelIndex QItemSelectionRange::topLeft()

[const] int width

Description: Method int QItemSelectionRange::width()