Hi all,

How do I emit a particular object's QListWidget::itemActivated signal on single click always? (Qt 5.9.8 btw)

Normally this follows system settings. Thus e.g. on Windows the emit happens on double click by default.

I found QStyle::SH_ItemView_ActivateItemOnSingleClick. However I have no idea how to apply this to said object. Do I need to overload QStyle::styleHint and set this style on the object? If so, what would the implementation have to look like?

Thank you for your consideration.