QItemSelectionModel Class Reference
[QtGui module]
Inherits QObject.
Types
Methods
- __init__ (self, QAbstractItemModel)
- __init__ (self, QAbstractItemModel, QObject)
- clear (self)
- clearSelection (self)
- bool columnIntersectsSelection (self, int, QModelIndex)
- QModelIndex currentIndex (self)
- emitSelectionChanged (self, QItemSelection, QItemSelection)
- bool hasSelection (self)
- bool isColumnSelected (self, int, QModelIndex)
- bool isRowSelected (self, int, QModelIndex)
- bool isSelected (self, QModelIndex)
- QAbstractItemModel model (self)
- reset (self)
- bool rowIntersectsSelection (self, int, QModelIndex)
- select (self, QModelIndex, SelectionFlags)
- select (self, QItemSelection, SelectionFlags)
- list-of-QModelIndex selectedColumns (self, int row = 0)
- list-of-QModelIndex selectedIndexes (self)
- list-of-QModelIndex selectedRows (self, int column = 0)
- QItemSelection selection (self)
- setCurrentIndex (self, QModelIndex, SelectionFlags)
Qt Signals
Detailed Description
Type Documentation
QItemSelectionModel.SelectionFlag
Method Documentation
QItemSelectionModel.__init__ (self, QAbstractItemModel)
The QObject argument, if not None, causes self to be owned by Qt instead of PyQt.
QItemSelectionModel.clear (self)
This method is also a Qt slot with the C++ signature void clear().
QItemSelectionModel.clearSelection (self)
This method is also a Qt slot with the C++ signature void clearSelection().
bool QItemSelectionModel.columnIntersectsSelection (self, int, QModelIndex)
QModelIndex QItemSelectionModel.currentIndex (self)
bool QItemSelectionModel.hasSelection (self)
bool QItemSelectionModel.isColumnSelected (self, int, QModelIndex)
bool QItemSelectionModel.isRowSelected (self, int, QModelIndex)
bool QItemSelectionModel.isSelected (self, QModelIndex)
QItemSelectionModel.reset (self)
This method is also a Qt slot with the C++ signature void reset().
bool QItemSelectionModel.rowIntersectsSelection (self, int, QModelIndex)
This method is also a Qt slot with the C++ signature void select(const QModelIndex&,QItemSelectionModel::SelectionFlags).
This method is also a Qt slot with the C++ signature void select(const QItemSelection&,QItemSelectionModel::SelectionFlags).
list-of-QModelIndex QItemSelectionModel.selectedColumns (self, int row = 0)
list-of-QModelIndex QItemSelectionModel.selectedIndexes (self)
list-of-QModelIndex QItemSelectionModel.selectedRows (self, int column = 0)
QItemSelection QItemSelectionModel.selection (self)
This method is also a Qt slot with the C++ signature void setCurrentIndex(const QModelIndex&,QItemSelectionModel::SelectionFlags).
Qt Signal Documentation
void currentChanged (const QModelIndex&,const QModelIndex&)
This is the default overload of this signal.
void currentColumnChanged (const QModelIndex&,const QModelIndex&)
This is the default overload of this signal.
void currentRowChanged (const QModelIndex&,const QModelIndex&)
This is the default overload of this signal.
void selectionChanged (const QItemSelection&,const QItemSelection&)
This is the default overload of this signal.