Results 1 to 2 of 2

Thread: Help on QGraphicsItem::paint please

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Help on QGraphicsItem::paint please

    Have you set the QGraphicsItem Flag:

    Qt Code:
    1. setFlag(QGraphicsItem::ItemUsesExtendedStyleOption);
    To copy to clipboard, switch view to plain text mode 


    It's mentioned in the doc that the exposedRect member depend on it

  2. The following user says thank you to mitch for this useful post:

    lni (3rd May 2012)

Similar Threads

  1. QGraphicsItem paint not triggered
    By roband915 in forum Qt Programming
    Replies: 9
    Last Post: 31st March 2011, 10:06
  2. Replies: 4
    Last Post: 30th August 2010, 14:37
  3. OpenGL functions in QGraphicsItem::paint
    By Lendrick in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2010, 17:30
  4. Qgraphicsitem parent/child paint problem.
    By repka3 in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2009, 22:03
  5. Paint QGraphicsItem problem
    By dreamer in forum Qt Programming
    Replies: 3
    Last Post: 23rd June 2008, 18:18

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.