View Full Version : QLabel with HTML-style formatting docs?
Everall
7th February 2006, 09:21
Hello,
in the book
C++ GUI Programming with QT3 chapter 1, there is an example where some
HTML-style formatting is used on a QLabel.
QLabel *label = new QLabel("<h2><i>Hello</i> "
"<font color=red>Qt!</font></h2>", 0);
Can someone point me to any documentation where I can read more about it?
Thanks
BrainB0ne
7th February 2006, 09:36
found already a thread at Qt Centre.. maybe it's useful :)
http://www.qtcentre.org/forum/showthread.php?t=195
Everall
7th February 2006, 09:37
Thanks Brainbone
I found this also in QT3 documentation :
http://doc.trolltech.com/3.3/qstylesheet.html#details
zlatko
7th February 2006, 09:41
you can read any doc abour simple html and use it in QLabel;)
Everall
7th February 2006, 09:49
you can read any doc abour simple html and use it in QLabel;)
thanks,
I think i already found enough toys to play with.
Cheers
yop
7th February 2006, 20:03
I really like http://computer.howstuffworks.com/pdf/web-page-tags.pdf it's a one page pdf covering the most usefull tags. I 've printed it and pinned it in my notifications board next to my office for a quick lookup.
Everall
7th February 2006, 21:01
thanks yop,
looks really cool.
Everall
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.