org.kde.koala
public class KProgressDialog extends KDialogBase
UNKNOWN: A dialog with a progress bar.
Constructor Summary | |
---|---|
protected | KProgressDialog(Class dummy) |
KProgressDialog(QWidget parent, String name, String caption, String text, boolean modal)
Constructs a KProgressDialog | |
KProgressDialog(QWidget parent, String name, String caption, String text) | |
KProgressDialog(QWidget parent, String name, String caption) | |
KProgressDialog(QWidget parent, String name) | |
KProgressDialog(QWidget parent) | |
KProgressDialog() |
Method Summary | |
---|---|
boolean | allowCancel()
Returns true if the dialog can be canceled, false otherwise |
boolean | autoClose()
Returns true if the dialog will close upon completion,
or false otherwise |
boolean | autoReset()
Returns true if the KProgress widget will be reset
upon completion, or false otherwise |
String | buttonText()
Returns the text on the cancel button |
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
String | labelText()
Returns the current dialog text |
QMetaObject | metaObject() |
int | minimumDuration()
Returns the wait duration in milliseconds |
KProgress | progressBar()
Returns the KProgress used in this dialog.
|
void | setAllowCancel(boolean allowCancel)
Sets whether or not the user can cancel the process.
|
void | setAutoClose(boolean close)
Sets whether the dialog should close automagically when
all the steps in the KProgress have been completed. |
void | setAutoReset(boolean autoReset)
Sets whether the dialog should reset the KProgress dialog
back to 0 steps compelete when all steps have been completed.
|
void | setButtonText(String arg1)
Sets the text to appear on the cancel button. |
void | setLabel(String text)
Sets the text in the dialog |
void | setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before
actually showing the dialog |
void | showCancelButton(boolean show)
Sets whether the cancel button is visible. setAllowCancel(false)
implies showCancelButton(false) |
protected void | slotAutoActions(int percentage) |
protected void | slotAutoShow() |
protected void | slotCancel() |
boolean | wasCancelled()
Returns true if the dialog was closed or canceled
before completion. |
Parameters: parent Parent of the widget name Widget name caption Text to display in window title bar text Text to display in the dialog modal Set to true to make the dialog modal
UNKNOWN: Constructs a KProgressDialog
UNKNOWN: Returns true if the dialog can be canceled, false otherwise
UNKNOWN: Returns true if the dialog will close upon completion, or false otherwise
UNKNOWN: Returns true if the KProgress widget will be reset upon completion, or false otherwise
UNKNOWN: Returns the text on the cancel button
UNKNOWN: Returns the current dialog text
UNKNOWN: Returns the wait duration in milliseconds
UNKNOWN: Returns the KProgress used in this dialog.
Parameters: allowCancel Set to true to make the dialog non-closable
UNKNOWN: Sets whether or not the user can cancel the process.
UNKNOWN: Sets whether the dialog should close automagically when all the steps in the KProgress have been completed.
UNKNOWN: Sets whether the dialog should reset the KProgress dialog back to 0 steps compelete when all steps have been completed.
UNKNOWN: Sets the text to appear on the cancel button.
Parameters: text the text to display
UNKNOWN: Sets the text in the dialog
UNKNOWN: Set the minimum number of milliseconds to wait before actually showing the dialog
Parameters: show Whether or not the cancel button should be shown
UNKNOWN: Sets whether the cancel button is visible.
UNKNOWN: Returns true if the dialog was closed or canceled before completion.