Hi,
Could you tell me which signal is emitted when a space bar is pressed in the QTreeWidget ?
Thanks,
*npc*
Hi,
Could you tell me which signal is emitted when a space bar is pressed in the QTreeWidget ?
Thanks,
*npc*
There is no such signal. You can
- reimplement QWidget::keyPressEvent() to catch the corresponding key press event (or use an event filter)
- create a QShortcut and bind it to the corresponding key
- just a guess, but if you want to start editing, you may also modify QAbstractItemView::editTriggers()
J-P Nurmi
I think that itemActivated() might be emitted pointing to the current item.
Bookmarks