Results 1 to 13 of 13

Thread: Problems updating a dialog

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Problems updating a dialog

    Hi all, I have a dialog window that contains 2 widgets inside. When this 2 widgets need to update their contents, they show a progress dialog. I've reimplemented the showEvent of the widgets to check if they need to update their contents. The problem is that in the first show, when the dialog is opened (executed in this case), the progress dialog is shown before the dialog window is shown and looks bad. What I want in this case is: 1) show (paint) the dialog window 2) show the progress dialog while both widgets are updating. I've tried to reimplement the showEvent method of the dialog and call 'repaint' and 'processEvents' but it doesn't works. Any suggestions will be really appreciated...

    Thanks.
    Last edited by SkripT; 30th March 2006 at 12:25.

Similar Threads

  1. Issue with Modelless dialog on Mac
    By Satyanarayana Chebrolu in forum Qt Programming
    Replies: 0
    Last Post: 24th February 2009, 10:10
  2. Dialog is not closing
    By manmohan in forum Newbie
    Replies: 5
    Last Post: 1st December 2008, 17:04
  3. [Eclipse/Integration] Project Settings dialog problems
    By BrainB0ne in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd January 2008, 15:52
  4. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52
  5. Updating a QTableWidget through a Dialog
    By dragon in forum Newbie
    Replies: 3
    Last Post: 19th January 2006, 21:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.