Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
Public Member Functions | |
void | DataChanged (QModelIndex topLeft, QModelIndex bottomRight) |
| |
void | HeaderDataChanged (Qt.Orientation orientation, int first, int last) |
| |
void | LayoutChanged () |
| |
void | LayoutAboutToBeChanged () |
| |
void | RowsAboutToBeInserted (QModelIndex parent, int first, int last) |
void | RowsInserted (QModelIndex parent, int first, int last) |
void | RowsAboutToBeRemoved (QModelIndex parent, int first, int last) |
void | RowsRemoved (QModelIndex parent, int first, int last) |
void | ColumnsAboutToBeInserted (QModelIndex parent, int first, int last) |
void | ColumnsInserted (QModelIndex parent, int first, int last) |
void | ColumnsAboutToBeRemoved (QModelIndex parent, int first, int last) |
void | ColumnsRemoved (QModelIndex parent, int first, int last) |
void | ModelAboutToBeReset () |
void | ModelReset () |
void | RowsAboutToBeMoved (QModelIndex sourceParent, int sourceStart, int sourceEnd, QModelIndex destinationParent, int destinationRow) |
void | RowsMoved (QModelIndex parent, int start, int end, QModelIndex destination, int row) |
void | ColumnsAboutToBeMoved (QModelIndex sourceParent, int sourceStart, int sourceEnd, QModelIndex destinationParent, int destinationColumn) |
void | ColumnsMoved (QModelIndex parent, int start, int end, QModelIndex destination, int column) |
Public Member Functions inherited from QtCore.IQObjectSignals | |
void | Destroyed (QObject arg1) |
void | Destroyed () |
| |
void QtCore.IQAbstractItemModelSignals.ColumnsAboutToBeInserted | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.ColumnsAboutToBeMoved | ( | QModelIndex | sourceParent, |
int | sourceStart, | ||
int | sourceEnd, | ||
QModelIndex | destinationParent, | ||
int | destinationColumn | ||
) |
void QtCore.IQAbstractItemModelSignals.ColumnsAboutToBeRemoved | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.ColumnsInserted | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.ColumnsMoved | ( | QModelIndex | parent, |
int | start, | ||
int | end, | ||
QModelIndex | destination, | ||
int | column | ||
) |
void QtCore.IQAbstractItemModelSignals.ColumnsRemoved | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.DataChanged | ( | QModelIndex | topLeft, |
QModelIndex | bottomRight | ||
) |
This signal is emitted whenever the data in an existing item changes.
If the items are of the same parent, the affected ones are those between topLeft and bottomRight inclusive. If the items do not have the same parent, the behavior is undefined.
When reimplementing the setData() function, this signal must be emitted explicitly.
See also headerDataChanged(), setData(), and layoutChanged().
void QtCore.IQAbstractItemModelSignals.HeaderDataChanged | ( | Qt.Orientation | orientation, |
int | first, | ||
int | last | ||
) |
This signal is emitted whenever a header is changed. The orientation indicates whether the horizontal or vertical header has changed. The sections in the header from the first to the last need to be updated.
When reimplementing the setHeaderData() function, this signal must be emitted explicitly.
If you are changing the number of columns or rows you do not need to emit this signal, but use the begin/end functions (refer to the section on subclassing in the QAbstractItemModel class description for details).
See also headerData(), setHeaderData(), and dataChanged().
void QtCore.IQAbstractItemModelSignals.LayoutAboutToBeChanged | ( | ) |
This signal is emitted just before the layout of a model is changed. Components connected to this signal use it to adapt to changes in the model's layout.
Subclasses should update any persistent model indexes after emitting layoutAboutToBeChanged().
This function was introduced in Qt 4.2.
See also layoutChanged() and changePersistentIndex().
void QtCore.IQAbstractItemModelSignals.LayoutChanged | ( | ) |
This signal is emitted whenever the layout of items exposed by the model has changed; for example, when the model has been sorted. When this signal is received by a view, it should update the layout of items to reflect this change.
When subclassing QAbstractItemModel or QAbstractProxyModel, ensure that you emit layoutAboutToBeChanged() before changing the order of items or altering the structure of the data you expose to views, and emit layoutChanged() after changing the layout.
Subclasses should update any persistent model indexes before emitting layoutChanged(). In other words, when the structure changes:
emit layoutAboutToBeChanged
Remember the QModelIndex that will change
Update your internal data
Call changePersistentIndex()
emit layoutChanged
See also layoutAboutToBeChanged(), dataChanged(), headerDataChanged(), modelReset(), and changePersistentIndex().
void QtCore.IQAbstractItemModelSignals.ModelAboutToBeReset | ( | ) |
void QtCore.IQAbstractItemModelSignals.ModelReset | ( | ) |
void QtCore.IQAbstractItemModelSignals.RowsAboutToBeInserted | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.RowsAboutToBeMoved | ( | QModelIndex | sourceParent, |
int | sourceStart, | ||
int | sourceEnd, | ||
QModelIndex | destinationParent, | ||
int | destinationRow | ||
) |
void QtCore.IQAbstractItemModelSignals.RowsAboutToBeRemoved | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.RowsInserted | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |
void QtCore.IQAbstractItemModelSignals.RowsMoved | ( | QModelIndex | parent, |
int | start, | ||
int | end, | ||
QModelIndex | destination, | ||
int | row | ||
) |
void QtCore.IQAbstractItemModelSignals.RowsRemoved | ( | QModelIndex | parent, |
int | first, | ||
int | last | ||
) |