Results 1 to 6 of 6

Thread: Placing a widget at fixed place on top of QAbstractScrollArea (actually QGV)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Posts
    45
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Placing a widget at fixed place on top of QAbstractScrollArea (actually QGV)

    Yes, your code works for me too. It seems that I've found a reason for my problem: I've created a widget from QGraphicsView-derived class constructor and viewport was created after it and after raise() call - so my widget was simply covered by viewport. Sorry for disturbing you.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Placing a widget at fixed place on top of QAbstractScrollArea (actually QGV)

    Ok, great that the problem was solved. And no worries, this was not disturbing at all!
    J-P Nurmi

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.