Hello,
how can I put a QCheckBox in read-only mode. Which means that the user can only read but not change the state of the box.
The application still has full control over the box.
How is that done in Qt?
Thanks in advance
Alu
Hello,
how can I put a QCheckBox in read-only mode. Which means that the user can only read but not change the state of the box.
The application still has full control over the box.
How is that done in Qt?
Thanks in advance
Alu
subclass QCheckBox, override mousePressEvent/mouseReleaseEvent and do nothing there.
Hi,
Also you can set it disabled and so, it will be showed as disabled but you can set it checked or unchecked by code.
Òscar Llarch i Galán
Bookmarks