Results 1 to 2 of 2

Thread: Problem with option->exposedRect

  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    8
    Thanked 18 Times in 17 Posts

    Default Problem with option->exposedRect

    Hello,

    QGraphicsItem:aint always give me the entire item's boundingRect for option->exposedRect.

    What is the flag to set so the option->exposedRect will be minimum?

    Thanks!

  2. #2
    Join Date
    Jun 2011
    Location
    Finland
    Posts
    164
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo
    Thanks
    1
    Thanked 26 Times in 26 Posts

    Default Re: Problem with option->exposedRect

    setFlag (QGraphicsItem::ItemUsesExtendedStyleOption) on QGraphicsItem.

  3. The following user says thank you to Rachol for this useful post:

    lni (22nd June 2011)

Similar Threads

  1. unknown option
    By anoopmj in forum Newbie
    Replies: 2
    Last Post: 1st July 2010, 16:20
  2. Replies: 0
    Last Post: 3rd February 2010, 14:50
  3. Remove Help option
    By bismitapadhy in forum Qt Programming
    Replies: 4
    Last Post: 15th June 2009, 13:23
  4. using the lib template dll option on *nix
    By jamadagni in forum Qt Programming
    Replies: 3
    Last Post: 19th April 2007, 13:14
  5. rtti option
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 5th January 2007, 15:10

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.