Unsolved Image from http in QTextBrowser
-
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!
-
@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.htmlSupported HTML Subset
https://doc.qt.io/qt-5/richtext-html-subset.htmlHTML 4 Documentation
http://www.htmlhelp.com/reference/html40/structure.html