Results 1 to 2 of 2

Thread: Font size in QGraphicsTextItem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    26
    Thanks
    1

    Default Font size in QGraphicsTextItem

    I add QGraphicsTextItem to graphics scene and then change its font family and font size. It works ok, but when I click and/or move my item font size changes to the 12 size. Actually its changed in QGraphicsTextItem::mouseReleaseEvent().
    What is needed to force QGraphicsTextItem keep font size? Thanks in advance.
    Last edited by rippa; 7th December 2008 at 12:00.

Similar Threads

  1. Replies: 1
    Last Post: 2nd August 2008, 15:46
  2. Font size of a spinbox
    By SailinShoes in forum Qt Programming
    Replies: 6
    Last Post: 5th May 2008, 14:29
  3. Font size calculation when painting in a QImage
    By Ishark in forum Qt Programming
    Replies: 3
    Last Post: 15th July 2007, 22:22
  4. QGraphicsTextItem size
    By Angelo Moriconi in forum Qt Programming
    Replies: 1
    Last Post: 26th January 2007, 08:34
  5. QTreeView font size not being set
    By forrestfsu in forum Qt Tools
    Replies: 2
    Last Post: 12th October 2006, 13:53

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.