void TreeListWidget::closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { #ifdef K_DEBUG #ifdef Q_OS_WIN32 qDebug() << "[TupCommandExecutor::removeItem()]"; #else T_FUNCINFO; #endif #endif QLineEdit *edit = qobject_cast<QLineEdit *>(editor); if (edit) emit editorClosed(); QTreeWidget::closeEditor(editor, hint); }
void QgsVertexEditor::closeEvent( QCloseEvent *event ) { QgsDockWidget::closeEvent( event ); emit editorClosed(); }