How to enhance the display time of a QDialog like QWidget

  • When the form is a QDialog, it first display the main frame before its children widgets. I want it to be faster like when the form is QWidget it display the form and children at same time.
    The form contains button that has images and QGraphicsDropShadowEffect and I know that it is the cause of slow UI. Even it is slow I want all of the widgets and form to display at the same time using QDialog. The code is old and I need to modify its dependent modules / procedures when I'm gonna change it to QWidget. Here are the codes regarding the form maybe one of these cause the issue.

    @this->setWindowFlags( Qt:ialog | Qt::CustomizeWindowHint );

Log in to reply

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