以下成员源于类 Q3ProgressBar 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
|
Q3ProgressBar (int totalSteps , QWidget * parent , const char * name , Qt::WindowFlags f = 0) |
(obsolete)
|
Q3ProgressBar (QWidget * parent , const char * name , Qt::WindowFlags f = 0) |
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.
另请参阅 setTotalSteps () 和 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.
另请参阅 setTotalSteps ().