Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableWidget custom widget delegate
amezei last edited by
I want to add a custom widget (checkboxes with an ok button) to a QTableWidget cell. I know that I have to use delegate for that, but the delegate should not only appear in edit mode, but in default mode too. For example in default mode the chexboxes are shown only and in edit mode the ok button should appear too. Can you please give me an advice or tutorial how to do that?
VRonin last edited by
Page 193, "An Editable Column or Row Delegate", Advanced Qt Programming: Creating Great Software with C++ and Qt 4 (applies to Qt5 too)