Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT and keeping the window on top.
Qt 6.11 is out! See what's new in the release blog

QT and keeping the window on top.

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 4.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoopStan
    wrote on last edited by
    #1

    Hello everyone, I'm quite new to QT and such, but, I am curious if there are any resources on keeping the window on top of all other apps? Such as for a lock. I've searched around but haven't found any answers. Could you help me out?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      viswesr
      wrote on last edited by
      #2

      Use setWindowFlags(Qt::WindowStaysOnTopHint); for the main window.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LoopStan
        wrote on last edited by
        #3

        I tried that, but on the Symbian platform, it doesn't show the window. Sorry I wasn't more specific. Is there a way to keep the window on top with a Symbian platform phone?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved