PDA

View Full Version : removing the cancel button from a QProcessDialog



Ferric
17th February 2010, 23:04
Hi, Does anybody know how to remove the cancel button from a QProcessDialog?

Ferric
17th February 2010, 23:17
Ah, I have found the answer:


progress = new QProgressDialog ;
progress->setCancelButtonText(0); // makes it so that no cancel button appears.