Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt widget goes behind the system OS taskbar. How to keep it above?

Qt widget goes behind the system OS taskbar. How to keep it above?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.8k 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.
  • A Offline
    A Offline
    Abin
    wrote on last edited by
    #1

    Hi,

    I've an issue that my application window goes behind the taskbar of my PC. I use win 8. same issue i found when i use in an android device also.

    The same issue is found to be discussed in a link "screen-area":http://www.fiveminutes.eu/qt-dev-screen-area/

    I tried the same.. but it is visible to user that the widget resize after show. Is there a better way to resolve this?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      There's a window flag for that:
      @
      widget->setWindowFlags(widget->windowFlags() | Qt::WindowStaysOnTopHint);
      @

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Abin
        wrote on last edited by
        #3

        Thank Chris Kawa. But this solution doesn't work for me..

        I my case I have a main window and child windows. One of the child windows has this size issue. Once I show that child window, it goes out of screen. Also the main window re sizes and goes out of screen.

        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