Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    2
    2
    87
    Loading More Posts
    • 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
      ProkopHapala last edited by

      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 Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post