QItemSelectionModel

Binding for C++ class QItemSelectionModel.

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

bindableModel
QBindable!(QAbstractItemModel) bindableModel()
Undocumented in source.
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
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, SelectionFlags command)
Undocumented in source.
select
void select(const(QItemSelection) selection, 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.
selectionChanged
void selectionChanged(const(QItemSelection) selected, const(QItemSelection) deselected)
Undocumented in source.
setCurrentIndex
void setCurrentIndex(const(QModelIndex) index, 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

UDA for marking member functions as signals.

QSlot
struct QSlot

UDA for marking member functions as slots.

QInvokable
struct QInvokable

UDA for marking member functions as invokable.

QScriptable
struct QScriptable

UDA for marking member functions as scriptable.

Q_OBJECT
enum Q_OBJECT;
Q_OBJECT_D
enum Q_OBJECT_D;

String constant for mixin in every class inheriting QObject.

Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;

String constant for mixin in every signal in classes implemnted in D.

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.
bindableObjectName
QBindable!(QString) bindableObjectName()
Undocumented in source.
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.
disconnect
bool disconnect(const(QMetaObject.Connection) )
Undocumented in source.
signal
template signal(string name, Params...)

Returns the set of signals with given name and optionally filtered by parameter types. All signals are used, if no parameter types are given. Otherwise the parameter types have to match.

slot
template slot(string name, Params...)

Returns the set of slots with given name and optionally filtered by parameter types. All slots are used, if no parameter types are given. Otherwise the parameter types have to match.

connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)

Connects a signal to a delegate.

connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)

Connects a signal to a slot.

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.
bindingStorage
QBindingStorage* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
bindingStorage
const(QBindingStorage)* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
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