cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Reduce number of clicks to achieve editing #19

Closed rlux closed 11 years ago

rlux commented 11 years ago

e.g. currently you need 3 clicks to change the value of a checkbox

rlux commented 11 years ago

http://qt-project.org/doc/qt-5.0/qtwidgets/qabstractitemview.html#EditTrigger-enum

default trigger is double click, other options are possible

rlux commented 11 years ago

for checkboxes this might be an option: http://www.qtcentre.org/threads/8250-QItemDelegate-and-QCheckBox