Results 1 to 6 of 6

Thread: QGraphicsTextItem Paint()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    China
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGraphicsTextItem Paint()

    That's OK
    Qt Code:
    1. rect.setBottomRight(QPointF(rect.x() +100, rect.y()+100));
    To copy to clipboard, switch view to plain text mode 

    thanks a lot!

    I have another problem, how to change the line space?
    Last edited by goldhappywang; 18th September 2009 at 09:56.

Similar Threads

  1. Drawing standard widgets using a custom paint engine
    By Waywocket in forum Qt Programming
    Replies: 26
    Last Post: 21st October 2010, 20:40
  2. Problem on set QGraphicsTextItem write protect.
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2007, 20:53
  3. QGraphicsTextItem: handling cursor position change
    By Angelo Moriconi in forum Qt Programming
    Replies: 2
    Last Post: 30th January 2007, 10:42
  4. QGraphicsTextItem size
    By Angelo Moriconi in forum Qt Programming
    Replies: 1
    Last Post: 26th January 2007, 08:34
  5. paint QTreeView item !!
    By mcenatie in forum Qt Programming
    Replies: 2
    Last Post: 19th March 2006, 14:24

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
  •  
Qt is a trademark of The Qt Company.