\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.
/*!
- \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.
+ 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
\sa createEditor()
*/
void QAbstractItemDelegate::destroyEditor(QWidget *editor, const QModelIndex &index) const
}
/*!
- 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.