Results 1 to 2 of 2

Thread: Qt::WindowStaysOnTopHint vs. QWidget::hide()

  1. #1
    Join Date
    Jan 2007
    Location
    Augsburg, Germany
    Posts
    75
    Thanks
    4
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Qt::WindowStaysOnTopHint vs. QWidget::hide()

    Hello there,

    I'm holding my application in front if it looses it's focus (ApplicationDeactivated). After calling hide() and show()ing the main window again the window does not stay in front anymore

    Anyone has an idea why this happens?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt::WindowStaysOnTopHint vs. QWidget::hide()

    I think it's a standard behaviour. The tag persists only as long as the window is visible. At least on my KDE box

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.