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. [Solved]QLabel not on top of Windows context Menu Form..

[Solved]QLabel not on top of Windows context Menu Form..

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

    I am making a mouse pointer using QLabel .The problem is that when I right click the context menu appears but the QLabel that i have made a mouse pointer does not show on context menu instead of it hides below the context menu form.
    even I set flag:-setWindowFlags(Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
    Is there any way so that a QLabel can be shown on context menu form or any such windows form.

    Help will be appreciated.

    Be Cute

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      use QWidget::raise() at an appropriate time.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by
        #3

        Big Thanking You for Your suggestion , but I found there is no way of doing this in Qt.
        I have solved this problem by changing system cursor pixmap.

        Be Cute

        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