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



  • 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.


  • Moderators

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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.