Results 1 to 2 of 2

Thread: Some text properties...

  1. #1
    Join Date
    Jan 2011
    Posts
    128
    Thanks
    2

    Default Some text properties...

    Hello,
    I'm making a kind of a notepad with a PlainTextEdit...
    But I have some questions.
    1)The font size,is too small.How can I set it to a bigger one?
    2)How can I make a thing like this in the menu,for the user?
    3)I'd like to add a syntax highlighting for c++ to it as well..and I found the custom at the examples..but it doesn't seem to work.Is there any other and better way?

    Thank you guys.

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Some text properties...

    1) you can change the point size in Designer properties
    2) QFontDialog
    3) take a look at Syntax Highlighter example: http://doc.qt.nokia.com/4.7/richtext...ghlighter.html
    Last edited by schnitzel; 16th March 2011 at 21:15. Reason: updated contents

Similar Threads

  1. QObject, properties
    By Archa4 in forum Newbie
    Replies: 8
    Last Post: 11th February 2011, 09:05
  2. dynamic properties
    By Hogwarts in forum Qt Programming
    Replies: 1
    Last Post: 3rd May 2010, 17:37
  3. Properties Window
    By manti_madhu in forum Qt Programming
    Replies: 3
    Last Post: 30th October 2009, 10:30
  4. Replies: 1
    Last Post: 3rd September 2008, 15:16
  5. QAxWidget Properties
    By ToddAtWSU in forum Newbie
    Replies: 1
    Last Post: 13th February 2006, 18:45

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.