I have a custom delegate class that inherits from QStyledItemDelegate.
Is it possible to know in createEditor() of the delegate, what action triggered the delegate?
If it's double click I would like to have a LineEdit pop up. QAbstractItemView::CurrentChanged and QAbstractItemView::SelectedClicked should result in showing a button.

Thanks