Results 1 to 4 of 4

Thread: QGraphicsItem visible in only one QGraphicsView and hidden in the other

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Apr 2010
    Posts
    769
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 94 Times in 86 Posts

    Default Re: QGraphicsItem visible in only one QGraphicsView and hidden in the other

    You might be able to leverage the view's drawItems() function. Generally, though, this sounds like a bad idea. You might also have a look at the view's drawForeground and drawBackground functions, depending on what it is you're trying to accomplish.

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

    Stef (7th February 2011)

Similar Threads

  1. Replies: 2
    Last Post: 16th July 2010, 13:42
  2. qwidget how to set visible/hidden ?
    By ricky in forum Newbie
    Replies: 4
    Last Post: 12th August 2009, 08:07
  3. Replies: 1
    Last Post: 16th July 2009, 16:58
  4. get all QListWidgetItem*(visible and hidden )
    By Levon Nikoghosyan in forum Qt Programming
    Replies: 2
    Last Post: 24th October 2006, 22:02
  5. hidden QListView column suddenly visible
    By edb in forum Qt Programming
    Replies: 10
    Last Post: 27th January 2006, 08:00

Tags for this Thread

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.