Popup Message



  • What is the best way to show popup message like tool tip.
    I want to show message for longer period(10 Sec) in my Application.
    Message box should be frameless and without buttons.



  • The obvious reason is QToolTip::showText().

    Alternatives might be a simple QLabel (probably manually positioned within the parent widget), a non-modal / modal Qt::FramelessWindowHint Qt::WindowStaysOnTopHint dialog or a QStatusBar.



  • Thanks for the reply. I used QtoolTip::showtext() function.
    But message was disappearing very soon. how that can be avoided?


  • Moderators

    You can create a frameless QWidget and show it yourself. A quick search should point you in the right direction.


Log in to reply
 

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