[Qt-creator] QProgressDialog
Paulo Jnkml
paulo.jnkml at gmail.com
Mon Feb 2 21:31:33 CET 2009
Tested exactly the same code here, and I get only the progress bar. No
label or cancel button.
=(
> Yes, the qt-interest at trolltech.com mailing list would be better suited.
>
> Nevertheless, the following code does show the cancel button+label for
> me (I'm at a Mac though):
>
> int main(int argc, char *argv[])
> {
> QApplication a(argc, argv);
> QProgressDialog dialog("Progress", "Cancel", 0, 1000);
> dialog.show();
> for (int i = 0; i <= 1000; ++i) {
> dialog.setValue(i);
> }
> }
>
>
More information about the Qt-creator-old
mailing list