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. Utility With Always Available Pop-out Windows GUI
Forum Updated to NodeBB v4.3 + New Features

Utility With Always Available Pop-out Windows GUI

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

    I am new to Qt and my programming skills are somewhat rusty. I am trying to create a utility that is "docked" to the side of the screen. When you move your cursor to the screen edge where it is docked the utility GUI will open on top of whatever is there, even a full screen window. When you are done and click outside of the utility GUI, the utility window will close again.

    My initial experiments with the Qt 5 example projects have not gone too well. I tried both Qt Quick (QML) examples and Qt Widget based examples trying to modify them to open against the edge of the screen without success. I also tried a simple "Hello World" application but I am getting confused with which modules are QML based and which are Widget based. I was also getting OpenGL errors on one of my machines with QML so I don't know how may issue I would have when I offer my utility to the general public.

    I am hoping someone can tell me if what I am trying to do is even possible with Qt or do I need to go .Net.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MuldeR
      wrote on last edited by
      #2

      You can make a window "topmost" by using the following window flag:
      Qt::WindowStaysOnTopHint

      The global cursor position can be obtained via QCursor::pos() function.

      My OpenSource software at: http://muldersoft.com/

      Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

      Go visit the coop: http://youtu.be/Jay...

      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