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. How to make destop panel (e.g. like Plank, Docky,Screenlets)
Qt 6.11 is out! See what's new in the release blog

How to make destop panel (e.g. like Plank, Docky,Screenlets)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 367 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
    ProkopHapala
    wrote on last edited by
    #1

    Hi,

    I would like to make something like Deskop Environment Extension ( new silde-panel on the border of screen with icons, independnet of original destop environement ) ... something like Cairo Dock, Docky, Plank, Screenlets, Desklets

    In perticular what I think I need:

    • run at startup
    • Overide standard windows focus management. The panel should be possible to stay on the top and stay in background
    • capture global keyboard and mouse
      • activate when mouse hit lower bottom of screen
      • activate when I hit ~ or F1 key irrespective what application has currentlyu the focus

    I found following wiggets which may be relevant to that. But I still miss something:

    • https://doc.qt.io/qt-5/qtwidgets-desktop-systray-example.html
    • https://forum.qt.io/topic/111914/draw-in-qdesktopwidget-desktop-background/7

    My Background:
    I have some experience with Qt (mostly PyQt but also C++) to make GUI for standard application. I have quite lot of experience developing physics simulations and 3D graphics in C++ and python, but not much developing user interface.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      For global hotkeys, you have to use platform API
      Like
      http://amin-ahmadi.com/2015/11/14/how-to-use-system-wide-hotkeys-in-your-qt-application/
      for windows.
      For linux, i would inspect something like
      http://www.nongnu.org/xbindkeys/xbindkeys.html
      to see how it does.

      Regarding the stay on the top and stay in background feature.
      This will depend heavily on the Windows manger if supported/allowed.

      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