[Qt-interest] rtf and qt

Ross Bencina rossb-lists at audiomulch.com
Tue Sep 8 10:16:33 CEST 2009


You can use HTML for basic styled text in Qt:
http://doc.trolltech.com/4.5/richtext-html-subset.html

HTH

Ross.


  ----- Original Message ----- 
  From: inhahe 
  To: qt-interest at trolltech.com 
  Sent: Sunday, September 06, 2009 2:45 AM
  Subject: [Qt-interest] rtf and qt


  hello, 
  if i understand correctly, the only way to render text with various characteristics like bold, underline, color, etc. is to use the rtf format.  the only problem is I don't know rtf, and the microsoft documentation on it is 277 freakin pages!  i've looked for briefer and easier sources of documentation for rtf, but couldn't find any.   
  i'm trying to figure out something as simple as using a particular text color.  the only way i can see so far is to create a color table using \colortbl and then use an index into it using \cf.  is that right, or is there a more direct way? thanks..










------------------------------------------------------------------------------


  _______________________________________________
  Qt-interest mailing list
  Qt-interest at trolltech.com
  http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090908/bfa66dcd/attachment.html 


More information about the Qt-interest-old mailing list