Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTextBrowser.setHTML do not support <input type=checkbox>
Qt 6.12 LTS is out! See what's new in the release blog

QTextBrowser.setHTML do not support <input type=checkbox>

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 239 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote last edited by
    #1

    https://s41.ax1x.com/2026/10/26/pnrlKHI.jpg

    https://github.com/sonichy

    JonBJ 1 Reply Last reply
    0
    • sonichyS sonichy

      https://s41.ax1x.com/2026/10/26/pnrlKHI.jpg

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote last edited by JonB
      #2

      @sonichy

      QTextBrowser.setHTML do not support <input type=checkbox>

      None of QTextBrowser, QTextEdit or QLabel supports 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: &#x2610;, &#x2611; and &#x2612;, these are checkbox characters and work fine for me.

      1 Reply Last reply
      1
      • JonBJ JonB referenced this topic
      • sonichyS Offline
        sonichyS Offline
        sonichy
        wrote last edited by
        #3

        It is nice!

        https://github.com/sonichy

        1 Reply Last reply
        0
        • sonichyS sonichy has marked this topic as solved

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved