The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Q3ProgressBar ( int totalSteps, QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) (obsolete) | |
Q3ProgressBar ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) (obsolete) |
Constructs a progress bar.
The totalSteps is the total number of steps that need to be completed for the operation which this progress bar represents. For example, if the operation is to examine 50 files, this value would be 50. Before examining the first file, call setProgress(0); call setProgress(50) after examining the last file.
The parent, name and widget flags, f, are passed to the QFrame::QFrame() constructor.
See also setTotalSteps() and setProgress().
Constructs a progress bar.
The total number of steps is set to 100 by default.
The parent, name and widget flags, f, are passed on to the QFrame::QFrame() constructor.
See also setTotalSteps().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.