Hello All !
For some strange reason when I'm setting
qtreeView->setEditTriggers(QAbstractItemView::CurrentChanged )
the doubleClicked signal is no longer emited. Is it normal (but undocumented) behavior or a bug ?
Hello All !
For some strange reason when I'm setting
qtreeView->setEditTriggers(QAbstractItemView::CurrentChanged )
the doubleClicked signal is no longer emited. Is it normal (but undocumented) behavior or a bug ?
I guess the view doesn't even receive a double click event because the first press causes an editor to be opened in front of the view.
J-P Nurmi
In my case editor opens in another column (just like in Designer properties editor) and not under mouse. I've tried to install eventFilter for treeView but it does not receives any events at all (mouseTracking is enabled).
Remember that it's the viewport that receives events, not the view itself.
Most likely the view also loses focus by the time an editor is opened.
J-P Nurmi
Bookmarks