Hello,
I am newbie in qt.
I want to ask that how I can display output text and a link in html in text browser when I use settext() and setHtml();
Hello,
I am newbie in qt.
I want to ask that how I can display output text and a link in html in text browser when I use settext() and setHtml();
You mean somehting like this?
Qt Code:
ui->textBrowser->setHtml(html);To copy to clipboard, switch view to plain text mode
huydo (15th June 2016)
Yeah, it is the solution for my question. Thank you so much !!
But may I can change font of plaintext ??
Use this link to the Qt documentation to find the answers to your questions. You'll have to research the HTML4 documentation if you don't know how to use these HTML tags.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks