以下成員源於類 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 () 構造函數。
另請參閱 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 () 構造函數。
另請參閱 setTotalSteps ().