Minor documentation fixes in item views.
Change-Id: I986662ba48840e0195f0cfd4264e4d5d8b186c51 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
This commit is contained in:
parent
2dc3181bdc
commit
ed4389b055
@ -554,7 +554,7 @@
|
||||
|
||||
\image designer-stylesheet-options.png
|
||||
|
||||
In Qt 4.2 and later, \l{Qt Designer}{Qt Designer} also includes a
|
||||
In Qt 4.2 and later, \l{Qt Designer} also includes a
|
||||
style sheet syntax highlighter and validator. The validator indicates
|
||||
if the syntax is valid or invalid, at the bottom left of the \uicontrol{Edit
|
||||
Style Sheet} dialog.
|
||||
|
@ -243,12 +243,12 @@ QWidget *QAbstractItemDelegate::createEditor(QWidget *,
|
||||
|
||||
|
||||
/*!
|
||||
Called when the \a editor is no longer needed for editing the data item
|
||||
with the given \a index and should be destroyed. The default behavior is a
|
||||
call to deleteLater on the editor. It is possible e.g. to avoid this delete by
|
||||
reimplementing this function.
|
||||
|
||||
\since 5.0
|
||||
|
||||
A function called when the \a editor is no longer needed for \a index and should be
|
||||
destroyed. The default behavior is a call to deleteLater on the editor.
|
||||
It possible e.g. to avoid this delete by reimplementing this function.
|
||||
|
||||
\sa createEditor()
|
||||
*/
|
||||
void QAbstractItemDelegate::destroyEditor(QWidget *editor, const QModelIndex &index) const
|
||||
|
@ -3218,10 +3218,9 @@ void QAbstractItemView::update(const QModelIndex &index)
|
||||
}
|
||||
|
||||
/*!
|
||||
This slot is called when items are changed in the model. The
|
||||
changed items are those from \a topLeft to \a bottomRight
|
||||
inclusive. If just one item is changed \a topLeft == \a
|
||||
bottomRight.
|
||||
This slot is called when items with the given \a roles are changed in the
|
||||
model. The changed items are those from \a topLeft to \a bottomRight
|
||||
inclusive. If just one item is changed \a topLeft == \a bottomRight.
|
||||
|
||||
The \a roles which have been changed can either be an empty container (meaning everything
|
||||
has changed), or a non-empty container with the subset of roles which have changed.
|
||||
|
Loading…
Reference in New Issue
Block a user