Results 1 to 2 of 2

Thread: Change font in a text file

  1. #1
    Join Date
    Mar 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Change font in a text file

    Hi
    Is it possible to change the font and the size of the font in when writing to a text file using QFile and QTextStream?
    If yes I vould be greatful for some examples of how it's done.

    /
    Victor

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,531
    Thanked 281 Times in 276 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Change font in a text file

    Pure text file don't have information about font. This is only text.

Similar Threads

  1. Change font directory path
    By Beppe in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 7th May 2010, 19:17
  2. Change Font of QListWidget to Monospace Font
    By pospiech in forum Qt Programming
    Replies: 3
    Last Post: 25th July 2008, 18:23
  3. How is it easier to change font properties?
    By alex chpenst in forum Qt Programming
    Replies: 1
    Last Post: 11th July 2008, 20:01
  4. How do I change the font color in QTextBrowser?
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 29th November 2006, 12:08
  5. Change font in QPainter::drawText
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 19th May 2006, 16:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.