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. Force window to stay in background (like Conky)
Forum Updated to NodeBB v4.3 + New Features

Force window to stay in background (like Conky)

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

    Hi everyone,

    I'm somewhat new to QT and this is my first post to this forum. I tried searching for an answer to my question but could not find it.

    What I'm trying to do is make some kind of desktop widget that will always stay on the desktop and behind any other windows. Kind of like how the Conky system monitor does. Conky has the option to draw straight to the frame buffer or stay in it's own window. When it is in its own window, it always stays in the background, does not show up on the alt-tab list or any other window switchers and does not appear on the Unity bar on the left side. I would like my window to behave like that.

    I have the widget built, and this is the last thing that needs to be done. If anyone knows how to do this and can help with this, I would greatly appreciate it.

    Thanks,

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      I would start with setting the Qt:WindowStaysOnBottomHint window flag.

      I'm not quite sure on how to hide it from the Unity bar, but usually a hidden parent window does the trick.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Protonsoup
        wrote on last edited by
        #3

        [quote author="Lukas Geyer" date="1352735892"]I would start with setting the Qt:WindowStaysOnBottomHint window flag.

        I'm not quite sure on how to hide it from the Unity bar, but usually a hidden parent window does the trick.[/quote]

        Well that did make the window stay in the background, Thanks! Now I just gotta figure out how to do the rest of the things.

        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