Results 1 to 8 of 8

Thread: dialog content is not painted

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default dialog content is not painted

    Hello,
    my original problem was found in PyQt (http://stackoverflow.com/questions/1...-processevents), but it's almost the same when I rewrote in into C++.

    My goal is to show some dialog with label (something like "please wait" or whatever) while executing some other code in main thread. Main thread is important because of some error handlings (Qt Dialog with error message) etc later.
    Note: I have 2 connects to button.clicked because in pyqt version there were different behaviour (first dialog works fine, second one without label). In C++ version both dialogs aren't repainted.
    It seems Splash dialog is not repainted even if QApplication:rocessEvents(); is called. When I remove "delete splash;" line, it's repainted when main thread leaves MyWindow::handleButton method

    Thank you for any help or suggestion.

    Michal
    Attached Files Attached Files

Similar Threads

  1. QDialogButtonBox text not painted
    By kshi in forum Qt Programming
    Replies: 0
    Last Post: 8th January 2011, 00:41
  2. How to erase everything widget has painted?
    By TheNewGuy in forum Newbie
    Replies: 1
    Last Post: 12th December 2009, 07:23
  3. Widget not painted properly
    By qwakaw in forum Qt Programming
    Replies: 0
    Last Post: 11th November 2008, 11:30
  4. Tabs/Dialog with hidden/extendable content
    By dentharg in forum Qt Tools
    Replies: 6
    Last Post: 20th November 2007, 19:30

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.