[Qt-interest] QProgressDialog wont show correctely
Paulo Jnkml
paulo.jnkml at gmail.com
Mon Feb 2 18:57:37 CET 2009
Hi,
consider the following code:
QProgressDialog dialog("Progress", "Cancel", 0, 100);
dialog.show(); //Calling this here only shows the bar, no button or label.
dialog.exec(); //This shows all correctly but, I can't call this here
because the next step will never be executed. (Unless there's a non
blocking call to exec)
someFunctionWithCalbackForProgression(
boost::bind(&QProgressDialog::setValue, &dialog, _1) ); //boost free pub =)
dialog.exec(); //Won't be of much use here.
How can I make this dialog show itself completely without calling the
exec()?
I was told "dialog.show()" should show the cancel and label.
So this must be a bug.
I'm using Qt 4.3.3 on linux sabayon 3.3 + Compiz-fusion.
Any help please.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090203/97070816/attachment.html
More information about the Qt-interest-old
mailing list