[Interest] Mac OS X / QTreeWidget::itemActivated() not triggered on Enter/Return?

R. Reucher rene.reucher at batcom-it.net
Mon Oct 8 10:47:50 CEST 2012

On Sunday 07 October 2012 12:20:01 R. Reucher wrote:
> Now, to solve this "issue" for my users, I would need to know which key /
> key- sequence is used on Mac OS X to activate an item in a view (instead
> of Enter/Return)???! My application allows users to remap key-sqeuences,
> so if I knew the respective sequence, the user could change it.
Never mind, I think I found out myself:

From http://qt-project.org/doc/qt-4.8/qlistwidget.html#itemActivated:

"... (on Windows and X11 this is the Return key, on Mac OS X it is Ctrl+0)."

However, that information is missing in the QTreeWidget doc. And (please 
correct me if I'm wrong), it's apparently not 'Ctrl+0' (zero) but 'Ctrl+O'.

Cheers, René

More information about the Interest mailing list