Hi all
I have a qt application in which I have a QTreewidget that displays some content in the QTextBrowser. I set the contents for the html document in the textbrowser using the setHtml() function. All I want now is to fetch the url of this html document so that I could use it later somewhere in my application. I looked around a lot but all in vain. I hope someone could help me with it.
myk45
48
Posting Whiz
Recommended Answers
Jump to PostAccording to the documentation, the
setHtml()
function sets the html data directly (as a QString containing the html code), and you can usetoHtml()
to retrieve that html code later on. If you got an html page from some URL and you dumped the html source code from that page …
All 3 Replies
richieking
44
Master Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
myk45
48
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.