org.kde.koala
public class KProgress extends QProgressBar
UNKNOWN: A progress indicator widget.
| Constructor Summary | |
|---|---|
| protected | KProgress(Class dummy) |
| KProgress(QWidget parent, String name, int f)
Construct a progress bar. | |
| KProgress(QWidget parent, String name) | |
| KProgress(QWidget parent) | |
| KProgress() | |
| KProgress(int totalSteps, QWidget parent, String name, int f)
Construct a progress bar with a total number of steps.
| |
| KProgress(int totalSteps, QWidget parent, String name) | |
| KProgress(int totalSteps, QWidget parent) | |
| KProgress(int totalSteps) | |
| Method Summary | |
|---|---|
| void | advance(int offset)
Advance the progress bar by offset.
This method is
provided for convenience and is equivalent with
setProgress(progress()+offset). |
| String | className() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| String | format()
Retrieve the current format for printing status text. |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| QMetaObject | metaObject() |
| void | setFormat(String format)
Set the format of the text to use to display status.
|
| protected boolean | setIndicator(StringBuffer indicator, int progress, int totalSteps) |
| void | setProgress(int progress)
Set the current value of the progress bar to progress. |
| void | setTextEnabled(boolean arg1)
If this is set to true, the progress text will be displayed. |
| void | setTotalSteps(int totalSteps)
Set the current total number of steps in the action tat the progress bar
is representing. |
| boolean | textEnabled()
Returns true if progress text will be displayed,
false otherwise. |
UNKNOWN: Construct a progress bar.
UNKNOWN: Construct a progress bar with a total number of steps.
offset.
This method is
provided for convenience and is equivalent with
setProgress(progress()+offset).UNKNOWN: Advance the progress bar by offset.
See Also: KProgress
UNKNOWN: Retrieve the current format for printing status text.
Parameters: format "%p" is replaced by percentage done, "%v" is replaced by actual value, "%m" is replaced by the maximum value.
UNKNOWN: Set the format of the text to use to display status.
progress.UNKNOWN: Set the current value of the progress bar to progress.
true, the progress text will be displayed.UNKNOWN: If this is set to true, the progress text will be displayed.
UNKNOWN: Set the current total number of steps in the action tat the progress bar is representing.
true if progress text will be displayed,
false otherwise.See Also: KProgress
UNKNOWN: Returns true if progress text will be displayed, false otherwise.