Qt 6.12 LTS is out! See what's new in the release
blog
QTextBrowser.setHTML do not support <input type=checkbox>
-
-
QTextBrowser.setHTML do not support <input type=checkbox>
None of
QTextBrowser,QTextEditorQLabelsupports any kind of<input ...>HTML tag per Supported Tags.For your purpose you perhaps need to find some images of a checked/unchecked checkbox and use the HTML
<img>tag? Alternatively try the HTML characters/codes/entities:☐,☑and☒, these are checkbox characters and work fine for me. -
J JonB referenced this topic
-
S sonichy has marked this topic as solved