QItemSelectionModel

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QItemSelectionModel : QObject {}

Constructors

this
this(QAbstractItemModel model)
Undocumented in source.
this
this(QAbstractItemModel model, QObject parent)
Undocumented in source.
this
this(QItemSelectionModelPrivate dd, QAbstractItemModel model)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

SelectionFlags
alias SelectionFlags = QFlags!(SelectionFlag)
Undocumented in source.

Enums

SelectionFlag
enum SelectionFlag
Undocumented in source.

Functions

clear
void clear()
Undocumented in source.
clearCurrentIndex
void clearCurrentIndex()
Undocumented in source.
clearSelection
void clearSelection()
Undocumented in source.
columnIntersectsSelection
bool columnIntersectsSelection(int column, const(QModelIndex) parent)
Undocumented in source.
currentChanged
void currentChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.
currentColumnChanged
void currentColumnChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.
currentIndex
QModelIndex currentIndex()
Undocumented in source.
currentRowChanged
void currentRowChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.
emitSelectionChanged
void emitSelectionChanged(const(QItemSelection) newSelection, const(QItemSelection) oldSelection)
Undocumented in source.
hasSelection
bool hasSelection()
Undocumented in source.
isColumnSelected
bool isColumnSelected(int column, const(QModelIndex) parent)
Undocumented in source.
isRowSelected
bool isRowSelected(int row, const(QModelIndex) parent)
Undocumented in source.
isSelected
bool isSelected(const(QModelIndex) index)
Undocumented in source.
model
const(QAbstractItemModel) model()
Undocumented in source.
model
QAbstractItemModel model()
Undocumented in source.
modelChanged
void modelChanged(QAbstractItemModel model)
Undocumented in source.
reset
void reset()
Undocumented in source.
rowIntersectsSelection
bool rowIntersectsSelection(int row, const(QModelIndex) parent)
Undocumented in source.
select
void select(const(QModelIndex) index, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
select
void select(const(QItemSelection) selection, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
selectedColumns
QModelIndexList selectedColumns(int row)
Undocumented in source.
selectedIndexes
QModelIndexList selectedIndexes()
Undocumented in source.
selectedRows
QModelIndexList selectedRows(int column)
Undocumented in source.
selection
const(QItemSelection) selection()
Undocumented in source.
selectionChanged
void selectionChanged(const(QItemSelection) selected, const(QItemSelection) deselected)
Undocumented in source.
setCurrentIndex
void setCurrentIndex(const(QModelIndex) index, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setModel
void setModel(QAbstractItemModel model)
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal
Undocumented in source.
QSlot
struct QSlot
Undocumented in source.
QInvokable
struct QInvokable
Undocumented in source.
QScriptable
struct QScriptable
Undocumented in source.
Q_OBJECT
enum Q_OBJECT;
Undocumented in source.
Q_OBJECT_D
enum Q_OBJECT_D;
Undocumented in source.
Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.
objectName
QString objectName()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
killTimer
void killTimer(int id)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
connect
QMetaObject.Connection connect(QObject sender, char* signal, QObject receiver, char* member, ConnectionType )
Undocumented in source.
signal
template signal(string name, Params...)
Undocumented in source.
slot
template slot(string name, Params...)
Undocumented in source.
connect
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
registerUserData
uint registerUserData()
Undocumented in source.
setUserData
void setUserData(uint id, QObjectUserData data)
Undocumented in source.
userData
QObjectUserData userData(uint id)
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteLater
void deleteLater()
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

Meta