Skip to content

PythonQt.Qt.QAbstractItemDelegate · declarations 001

Back to PythonQt.Qt.QAbstractItemDelegate

closeEditor

closeEditor(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAbstractItemDelegate.closeEditor; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAbstractItemDelegate::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint \= NoHint)

This signal is emitted when the user has finished editing an item using the specified editor.

The hint provides a way for the delegate to influence how the model and view behave after editing is completed. It indicates to these components what action should be performed next to provide a comfortable editing experience for the user. For example, if EditNextItem is specified, the view should use a delegate to open an editor on the next item in the model.

See also EndEditHint.

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemdelegate.html#closeEditor

commitData

commitData(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAbstractItemDelegate.commitData; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAbstractItemDelegate::commitData(QWidget *editor)

This signal must be emitted when the editor widget has completed editing the data, and wants to write it back into the model.

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemdelegate.html#commitData

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAbstractItemDelegate.destroyed; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAbstractItemDelegate.objectNameChanged; argument details are not documented.

sizeHintChanged

sizeHintChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAbstractItemDelegate.sizeHintChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAbstractItemDelegate::sizeHintChanged(const QModelIndex \&index)

This signal must be emitted when the sizeHint() of index changed.

Views automatically connect to this signal and relayout items as necessary.

This function was introduced in Qt 4.4.

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemdelegate.html#sizeHintChanged