Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    2
    3
    1057
    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.
    • IamSumit
      IamSumit last edited by

      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 Reply Quote 0
      • raven-worx
        raven-worx Moderators last edited by

        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 Reply Quote 0
        • IamSumit
          IamSumit last edited by

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