Results 1 to 2 of 2

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

Hybrid View

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

    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,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    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.