Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Image from http in QTextBrowser
Forum Updated to NodeBB v4.3 + New Features

Image from http in QTextBrowser

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 413 Views
  • 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.
  • L Offline
    L Offline
    Luemmel
    wrote on last edited by
    #1

    Hi guys,

    i need to find a way to put images from web directly into a QTextBrowser.
    Does anyone know how to implement a http integration?

    Best regards!

    DenniD 1 Reply Last reply
    0
    • L Luemmel

      Hi guys,

      i need to find a way to put images from web directly into a QTextBrowser.
      Does anyone know how to implement a http integration?

      Best regards!

      DenniD Offline
      DenniD Offline
      Denni
      wrote on last edited by
      #2

      @Luemmel well the QLabel class has a Qt.Format that allows you to set the format to RichText which supports HTML4 encoding perhaps that will work or something similar to it cannot really say their documentation is like searching for a needle in a haystack for these various fairly simple features -- like setting the formatting of a Header Label should be a simple property of a window but it is not. So good luck on this.

      QLabel
      https://doc.qt.io/qt-5/qlabel.html

      Supported HTML Subset
      https://doc.qt.io/qt-5/richtext-html-subset.html

      HTML 4 Documentation
      http://www.htmlhelp.com/reference/html40/structure.html

      madness... is like gravity, all takes is a little... push -- like from an unsolvable bug

      1 Reply Last reply
      0

      • Login

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