Important: Please read the Qt Code of Conduct -

Popups that behaves like QMessagebox

  • Hi there,

    There have been few issues with QMessagebox on different platforms, and I would like to create similar Message boxes but not using QMessagebox to avoid the issues. For example, fading time taken into account correctly, or being able to add a close button, make them appear where I want etc.

    Do you guys have any idea if such widget already exists? If not how would you proceed to achieve something like that?


  • Lifetime Qt Champion

    QMessagebox is just a dialog QDialog subclass , so to make a custom
    one, you can just inherited QDialog and make it do as you want.

    However, what is wrong with QMessagebox ?

Log in to reply