Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to enhance the display time of a QDialog like QWidget

How to enhance the display time of a QDialog like QWidget

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 615 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    reginald-jimac
    wrote on last edited by
    #1

    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 );
    this->setAutoFillBackground(true);
    this->setWindowModality(Qt::WindowModal);
    this->setModal(true);@

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved