|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KMessageBox
public class KMessageBox
Easy message dialog box. Provides convenience functions for some i18n'ed standard dialogs. The text in message boxes is wrapped automatically. The text may either be plaintext or richtext. If the text is plaintext, a newline-character may be used to indicate the end of a paragraph.
Field Summary | |
---|---|
static int |
AllowLink
|
static int |
Cancel
|
static int |
Continue
|
static int |
Dangerous
|
static int |
Error
|
static int |
Information
|
static int |
No
|
static int |
NoExec
|
static int |
Notify
|
static int |
Ok
Button types. |
static int |
PlainCaption
|
static int |
QuestionYesNo
|
static int |
QuestionYesNoCancel
|
static int |
Sorry
|
static int |
WarningContinueCancel
|
static int |
WarningYesNo
|
static int |
WarningYesNoCancel
|
static int |
Yes
|
Constructor Summary | |
---|---|
|
KMessageBox()
|
protected |
KMessageBox(java.lang.Class dummy)
|
Method Summary | |
---|---|
static void |
about(org.kde.qt.QWidget parent,
java.lang.String text)
|
static void |
about(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static void |
about(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
int options)
Display an "About" dialog. |
static int |
createKMessageBox(KDialogBase dialog,
int icon,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String ask,
boolean[] checkboxReturn,
int options)
|
static int |
createKMessageBox(KDialogBase dialog,
int icon,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String ask,
boolean[] checkboxReturn,
int options,
java.lang.String details)
Create content and layout of a standard dialog |
static int |
createKMessageBox(KDialogBase dialog,
org.kde.qt.QPixmap icon,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String ask,
boolean[] checkboxReturn,
int options)
|
static int |
createKMessageBox(KDialogBase dialog,
org.kde.qt.QPixmap icon,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String ask,
boolean[] checkboxReturn,
int options,
java.lang.String details)
|
static int |
createKMessageBox(KDialogBase dialog,
org.kde.qt.QPixmap icon,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String ask,
boolean[] checkboxReturn,
int options,
java.lang.String details,
int notifyType)
Create content and layout of a standard dialog |
static void |
detailedError(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details)
|
static void |
detailedError(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
|
static void |
detailedError(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details,
java.lang.String caption,
int options)
Displays an "Error" dialog with a "Details >>" button. |
static void |
detailedErrorWId(long parent_id,
java.lang.String text,
java.lang.String details)
|
static void |
detailedErrorWId(long parent_id,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
|
static void |
detailedErrorWId(long parent_id,
java.lang.String text,
java.lang.String details,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
detailedSorry(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details)
|
static void |
detailedSorry(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
|
static void |
detailedSorry(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details,
java.lang.String caption,
int options)
Displays a "Sorry" dialog with a "Details >>" button. |
static void |
detailedSorryWId(long parent_id,
java.lang.String text,
java.lang.String details)
|
static void |
detailedSorryWId(long parent_id,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
|
static void |
detailedSorryWId(long parent_id,
java.lang.String text,
java.lang.String details,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
static void |
enableAllMessages()
Enable all messages which have been turned off with the dontShowAgainName feature. |
static void |
enableMessage(java.lang.String dontShowAgainName)
Re-enable a specific dontShowAgainName messages that had
previously been turned off. |
static void |
error(org.kde.qt.QWidget parent,
java.lang.String text)
|
static void |
error(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static void |
error(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
int options)
Display an "Error" dialog. |
static void |
errorList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static void |
errorList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static void |
errorList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
int options)
Display an "Error" dialog with a listbox. |
static void |
errorListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static void |
errorListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static void |
errorListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
errorWId(long parent_id,
java.lang.String text)
|
static void |
errorWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static void |
errorWId(long parent_id,
java.lang.String text,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
protected void |
finalize()
Deletes the wrapped C++ instance |
static void |
information(org.kde.qt.QWidget parent,
java.lang.String text)
|
static void |
information(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static void |
information(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
java.lang.String dontShowAgainName)
|
static void |
information(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
java.lang.String dontShowAgainName,
int options)
Display an "Information" dialog. |
static void |
informationList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static void |
informationList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static void |
informationList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
java.lang.String dontShowAgainName)
|
static void |
informationList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
java.lang.String dontShowAgainName,
int options)
Display an "Information" dialog with a listbox. |
static void |
informationListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static void |
informationListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static void |
informationListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
java.lang.String dontShowAgainName)
|
static void |
informationListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
java.lang.String dontShowAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
informationWId(long parent_id,
java.lang.String text)
|
static void |
informationWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static void |
informationWId(long parent_id,
java.lang.String text,
java.lang.String caption,
java.lang.String dontShowAgainName)
|
static void |
informationWId(long parent_id,
java.lang.String text,
java.lang.String caption,
java.lang.String dontShowAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text)
|
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption)
|
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
int options)
Alternate method to show a messagebox: |
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontShowAskAgainName)
|
static int |
messageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontShowAskAgainName,
int options)
Alternate method to show a messagebox: |
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text)
|
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption)
|
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontShowAskAgainName)
|
static int |
messageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontShowAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text)
|
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a simple "question" dialog. |
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text)
|
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a simple "question" dialog. |
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text)
|
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a "question" dialog with a listbox to show information to the user |
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
questionYesNoWId(long parent_id,
java.lang.String text)
|
static int |
questionYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static int |
questionYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
questionYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
questionYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
questionYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
queuedDetailedError(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details)
|
static void |
queuedDetailedError(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
Like detailedError This function will return immediately, the messagebox will be shown once the application enters an event loop and no other messagebox is being shown. |
static void |
queuedDetailedErrorWId(long parent_id,
java.lang.String text,
java.lang.String details)
|
static void |
queuedDetailedErrorWId(long parent_id,
java.lang.String text,
java.lang.String details,
java.lang.String caption)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
queuedMessageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text)
|
static void |
queuedMessageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption)
|
static void |
queuedMessageBox(org.kde.qt.QWidget parent,
int type,
java.lang.String text,
java.lang.String caption,
int options)
Like messageBox Only for message boxes of type Information, Sorry or Error. |
static void |
queuedMessageBoxWId(long parent_id,
int type,
java.lang.String text)
|
static void |
queuedMessageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
queuedMessageBoxWId(long parent_id,
int type,
java.lang.String text,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static void |
saveDontShowAgainContinue(java.lang.String dontShowAgainName)
Save the fact that the continue/cancel message box should not be shown again. |
static void |
saveDontShowAgainYesNo(java.lang.String dontShowAgainName,
int result)
Save the fact that the yes/no message box should not be shown again. |
static void |
setDontShowAskAgainConfig(KConfig cfg)
Use cfg for all settings related to the dontShowAgainName feature. |
static boolean |
shouldBeShownContinue(java.lang.String dontShowAgainName)
|
static boolean |
shouldBeShownYesNo(java.lang.String dontShowAgainName,
int result)
|
static void |
sorry(org.kde.qt.QWidget parent,
java.lang.String text)
|
static void |
sorry(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static void |
sorry(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
int options)
Display an "Sorry" dialog. |
static void |
sorryWId(long parent_id,
java.lang.String text)
|
static void |
sorryWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static void |
sorryWId(long parent_id,
java.lang.String text,
java.lang.String caption,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningContinueCancel(org.kde.qt.QWidget parent,
java.lang.String text)
|
static int |
warningContinueCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static int |
warningContinueCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue)
|
static int |
warningContinueCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName)
|
static int |
warningContinueCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName,
int options)
Display a "warning" dialog. |
static int |
warningContinueCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningContinueCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningContinueCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue)
|
static int |
warningContinueCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName)
|
static int |
warningContinueCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName,
int options)
Display a "warning" dialog with a listbox to show information to the user. |
static int |
warningContinueCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningContinueCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningContinueCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue)
|
static int |
warningContinueCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName)
|
static int |
warningContinueCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningContinueCancelWId(long parent_id,
java.lang.String text)
|
static int |
warningContinueCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static int |
warningContinueCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue)
|
static int |
warningContinueCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName)
|
static int |
warningContinueCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonContinue,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text)
|
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNo(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a "warning" dialog. |
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text)
|
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption)
|
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoCancel(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a Yes/No/Cancel "warning" dialog. |
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoCancelList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. |
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoCancelListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text)
|
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoCancelWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoList(org.kde.qt.QWidget parent,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
Display a "warning" dialog with a listbox to show information to the user |
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist)
|
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption)
|
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoListWId(long parent_id,
java.lang.String text,
java.lang.String[] strlist,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
static int |
warningYesNoWId(long parent_id,
java.lang.String text)
|
static int |
warningYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption)
|
static int |
warningYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes)
|
static int |
warningYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo)
|
static int |
warningYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName)
|
static int |
warningYesNoWId(long parent_id,
java.lang.String text,
java.lang.String caption,
KGuiItem buttonYes,
KGuiItem buttonNo,
java.lang.String dontAskAgainName,
int options)
This function accepts the window id of the parent window, instead of QWidget. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int Ok
public static final int Cancel
public static final int Yes
public static final int No
public static final int Continue
public static final int QuestionYesNo
public static final int WarningYesNo
public static final int WarningContinueCancel
public static final int WarningYesNoCancel
public static final int Information
public static final int Sorry
public static final int Error
public static final int QuestionYesNoCancel
public static final int Notify
public static final int AllowLink
public static final int Dangerous
public static final int PlainCaption
public static final int NoExec
Constructor Detail |
---|
protected KMessageBox(java.lang.Class dummy)
public KMessageBox()
Method Detail |
---|
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Question").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions like "Do you have a printer?"
The default button is "Yes". Pressing "Esc" selects "No".
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static int questionYesNo(org.kde.qt.QWidget parent, java.lang.String text)
public static int questionYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int questionYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNoWId(long parent_id, java.lang.String text, java.lang.String caption)
public static int questionYesNoWId(long parent_id, java.lang.String text)
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Question").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions like "Do you want to discard the message or save it for later?",
The default button is "Yes". Pressing "Esc" selects "Cancel".
NOTE: The cancel button will always have the i18n'ed text '&Cancel'.
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static int questionYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption)
public static int questionYesNoCancelWId(long parent_id, java.lang.String text)
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the list is
empty, it doesn't show any listbox, working as questionYesNo.caption
- Message box title. The application name is added to
the title. The default title is i18n("Question").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions like "Do you really want to delete these files?"
And show the user exactly which files are going to be deleted in case
he presses "Yes"
The default button is "Yes". Pressing "Esc" selects "No".
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int questionYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int questionYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Warning").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions "Shall I update your configuration?"
The text should explain the implication of both options.
The default button is "No". Pressing "Esc" selects "No".
Yes
is returned if the Yes-button is pressed. No
is returned
if the No-button is pressed.public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static int warningYesNo(org.kde.qt.QWidget parent, java.lang.String text)
public static int warningYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int warningYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoWId(long parent_id, java.lang.String text, java.lang.String caption)
public static int warningYesNoWId(long parent_id, java.lang.String text)
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the list is
empty, it doesn't show any listbox, working as questionYesNo.caption
- Message box title. The application name is added to
the title. The default title is i18n("Question").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions like "Do you really want to delete these files?"
And show the user exactly which files are going to be deleted in case
he presses "Yes"
The default button is "No". Pressing "Esc" selects "No".
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningYesNoList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningYesNoListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static int warningContinueCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Warning").buttonContinue
- The text for the first button.dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
The second button always has the text "Cancel".
To be used for questions like "You are about to Print. Are you sure?"
the continueButton should then be labeled "Print".
The default button is buttonContinue. Pressing "Esc" selects "Cancel".
Continue
is returned if the Continue-button is pressed.
Cancel
is returned if the Cancel-button is pressed.public static int warningContinueCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName)
public static int warningContinueCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue)
public static int warningContinueCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static int warningContinueCancel(org.kde.qt.QWidget parent, java.lang.String text)
public static int warningContinueCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName, int options)
public static int warningContinueCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName)
public static int warningContinueCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonContinue)
public static int warningContinueCancelWId(long parent_id, java.lang.String text, java.lang.String caption)
public static int warningContinueCancelWId(long parent_id, java.lang.String text)
public static int warningContinueCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the
list is empty, it doesn't show any listbox, working
as warningContinueCancel.caption
- Message box title. The application name is added to
the title. The default title is i18n("Warning").buttonContinue
- The text for the first button.dontAskAgainName
- If provided, a checkbox is added with which
further confirmation can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
The second button always has the text "Cancel".
To be used for questions like "You are about to Print. Are you sure?"
the continueButton should then be labeled "Print".
The default button is buttonContinue. Pressing "Esc" selects "Cancel".
Continue
is returned if the Continue-button is pressed.
Cancel
is returned if the Cancel-button is pressed.public static int warningContinueCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName)
public static int warningContinueCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue)
public static int warningContinueCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningContinueCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static int warningContinueCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName, int options)
public static int warningContinueCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue, java.lang.String dontAskAgainName)
public static int warningContinueCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonContinue)
public static int warningContinueCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningContinueCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Warning").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further questions can be turned off. If turned off
all questions will be automatically answered with the
last answer (either Yes or No).
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions "Do you want to save your changes?"
The text should explain the implication of choosing 'No'.
The default button is "Yes". Pressing "Esc" selects "Cancel"
NOTE: The cancel button will always have the i18n'ed text '&Cancel'.
Yes
is returned if the Yes-button is pressed. No
is returned
if the No-button is pressed. Cancel
is retunred if the Cancel-
button is pressed.public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static int warningYesNoCancel(org.kde.qt.QWidget parent, java.lang.String text)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text, java.lang.String caption)
public static int warningYesNoCancelWId(long parent_id, java.lang.String text)
public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the
list is empty, it doesn't show any listbox, working
as warningYesNoCancel.caption
- Message box title. The application name is added to
the title. The default title is i18n("Warning").buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontAskAgainName
- If provided, a checkbox is added with which
further questions can be turned off. If turned off
all questions will be automatically answered with the
last answer (either Yes or No).
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.
If dontAskAgainName
starts with a ':' then the setting
is stored in the global config file.options
- see OptionsType
To be used for questions "Do you want to save your changes?"
The text should explain the implication of choosing 'No'.
The default button is "Yes". Pressing "Esc" selects "Cancel"
NOTE: The cancel button will always have the i18n'ed text '&Cancel'.
Yes
is returned if the Yes-button is pressed. No
is returned
if the No-button is pressed. Cancel
is retunred if the Cancel-
button is pressed.public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningYesNoCancelList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName, int options)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontAskAgainName)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, KGuiItem buttonYes)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static int warningYesNoCancelListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static void error(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Error").options
- see OptionsType
Your program messed up and now it's time to inform the user.
To be used for important things like "Sorry, I deleted your hard disk."
If your program detects the action specified by the user is somehow
not allowed, this should never be reported with error(). Use sorry()
instead to explain to the user that this action is not allowed.
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The OK button will always have the i18n'ed text '&OK'.public static void error(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static void error(org.kde.qt.QWidget parent, java.lang.String text)
public static void errorWId(long parent_id, java.lang.String text, java.lang.String caption, int options)
public static void errorWId(long parent_id, java.lang.String text, java.lang.String caption)
public static void errorWId(long parent_id, java.lang.String text)
public static void errorList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the
list is empty, it doesn't show any listbox, working
as error().caption
- Message box title. The application name is added to
the title. The default title is i18n("Error").options
- see OptionsType
Your program messed up and now it's time to inform the user.
To be used for important things like "Sorry, I deleted your hard disk."
If your program detects the action specified by the user is somehow
not allowed, this should never be reported with error(). Use sorry()
instead to explain to the user that this action is not allowed.
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The OK button will always have the i18n'ed text '&OK'.public static void errorList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static void errorList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static void errorListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, int options)
public static void errorListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static void errorListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static void detailedError(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.details
- Detailed message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Error").options
- see OptionsType
Your program messed up and now it's time to inform the user.
To be used for important things like "Sorry, I deleted your hard disk."
The details
message can conatin additional information about
the problem and can be shown on request to advanced/interested users.
If your program detects the action specified by the user is somehow
not allowed, this should never be reported with error(). Use sorry()
instead to explain to the user that this action is not allowed.
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The OK button will always have the i18n'ed text '&OK'.public static void detailedError(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void detailedError(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details)
public static void detailedErrorWId(long parent_id, java.lang.String text, java.lang.String details, java.lang.String caption, int options)
public static void detailedErrorWId(long parent_id, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void detailedErrorWId(long parent_id, java.lang.String text, java.lang.String details)
public static void queuedDetailedError(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void queuedDetailedError(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details)
public static void queuedDetailedErrorWId(long parent_id, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void queuedDetailedErrorWId(long parent_id, java.lang.String text, java.lang.String details)
public static void sorry(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Sorry").options
- see OptionsType
Either your program messed up and asks for understanding
or your user did something stupid.
To be used for small problems like
"Sorry, I can't find the file you specified."
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The ok button will always have the i18n'ed text '&OK'.public static void sorry(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static void sorry(org.kde.qt.QWidget parent, java.lang.String text)
public static void sorryWId(long parent_id, java.lang.String text, java.lang.String caption, int options)
public static void sorryWId(long parent_id, java.lang.String text, java.lang.String caption)
public static void sorryWId(long parent_id, java.lang.String text)
public static void detailedSorry(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.details
- Detailed message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Sorry").options
- see OptionsType
Either your program messed up and asks for understanding
or your user did something stupid.
To be used for small problems like
"Sorry, I can't find the file you specified."
And then details
can contain something like
"foobar.txt was not found in any of
the following directories:
/usr/bin,/usr/local/bin,/usr/sbin"
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The ok button will always have the i18n'ed text '&OK'.public static void detailedSorry(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void detailedSorry(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String details)
public static void detailedSorryWId(long parent_id, java.lang.String text, java.lang.String details, java.lang.String caption, int options)
public static void detailedSorryWId(long parent_id, java.lang.String text, java.lang.String details, java.lang.String caption)
public static void detailedSorryWId(long parent_id, java.lang.String text, java.lang.String details)
public static void information(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, java.lang.String dontShowAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("Information").dontShowAgainName
- If provided, a checkbox is added with which
further notifications can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.options
- see OptionsType
Your program wants to tell the user something.
To be used for things like:
"Your bookmarks have been rearranged."
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The OK button will always have the i18n'ed text '&OK'.public static void information(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, java.lang.String dontShowAgainName)
public static void information(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static void information(org.kde.qt.QWidget parent, java.lang.String text)
public static void informationWId(long parent_id, java.lang.String text, java.lang.String caption, java.lang.String dontShowAgainName, int options)
public static void informationWId(long parent_id, java.lang.String text, java.lang.String caption, java.lang.String dontShowAgainName)
public static void informationWId(long parent_id, java.lang.String text, java.lang.String caption)
public static void informationWId(long parent_id, java.lang.String text)
public static void informationList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, java.lang.String dontShowAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.strlist
- List of strings to be written in the listbox. If the
list is empty, it doesn't show any listbox, working
as information.caption
- Message box title. The application name is added to
the title. The default title is i18n("Information").dontShowAgainName
- If provided, a checkbox is added with which
further notifications can be turned off.
The string is used to lookup and store the setting
in the applications config file.
The setting is stored in the "Notification Messages" group.options
- see OptionsType
Your program wants to tell the user something.
To be used for things like:
"The following bookmarks have been rearranged:"
The default button is "&OK". Pressing "Esc" selects the OK-button.
NOTE: The OK button will always have the i18n'ed text '&OK'.public static void informationList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, java.lang.String dontShowAgainName)
public static void informationList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static void informationList(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String[] strlist)
public static void informationListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, java.lang.String dontShowAgainName, int options)
public static void informationListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption, java.lang.String dontShowAgainName)
public static void informationListWId(long parent_id, java.lang.String text, java.lang.String[] strlist, java.lang.String caption)
public static void informationListWId(long parent_id, java.lang.String text, java.lang.String[] strlist)
public static void enableAllMessages()
dontShowAgainName
feature.
public static void enableMessage(java.lang.String dontShowAgainName)
dontShowAgainName
messages that had
previously been turned off.
saveDontShowAgainYesNo(java.lang.String, int)
,
saveDontShowAgainContinue(java.lang.String)
public static void about(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.text
- Message string.caption
- Message box title. The application name is added to
the title. The default title is i18n("About \options
- see OptionsType
Your program wants to show some general information about the application
like the authors's names and email addresses.
The default button is "&OK".
NOTE: The ok button will always have the i18n'ed text '&OK'.public static void about(org.kde.qt.QWidget parent, java.lang.String text, java.lang.String caption)
public static void about(org.kde.qt.QWidget parent, java.lang.String text)
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontShowAskAgainName, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.type
- type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel...text
- Message string.caption
- Message box title.buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").dontShowAskAgainName
- If provided, a checkbox is added with which
further questions/informations can be turned off. If turned off
all questions will be automatically answered with the
last answer (either Yes or No), if the message box needs an answer.
The string is used to lookup and store the setting
in the applications config file.options
- see OptionsType
Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused.
and for Information, none is used.
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontShowAskAgainName)
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options)
parent
- If parent
is 0, then the message box becomes an
application-global modal dialog box. If parent
is a
widget, the message box becomes modal relative to parent.type
- type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel...text
- Message string.caption
- Message box title.buttonYes
- The text for the first button.
The default is i18n("&Yes").buttonNo
- The text for the second button.
The default is i18n("&No").options
- see OptionsType
Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused.
and for Information, none is used.
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption)
public static int messageBox(org.kde.qt.QWidget parent, int type, java.lang.String text)
public static int messageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontShowAskAgainName, int options)
public static int messageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo, java.lang.String dontShowAskAgainName)
public static int messageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes, KGuiItem buttonNo)
public static int messageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption, KGuiItem buttonYes)
public static int messageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption)
public static int messageBoxWId(long parent_id, int type, java.lang.String text)
public static void queuedMessageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption, int options)
public static void queuedMessageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption, int options)
public static void queuedMessageBox(org.kde.qt.QWidget parent, int type, java.lang.String text, java.lang.String caption)
public static void queuedMessageBox(org.kde.qt.QWidget parent, int type, java.lang.String text)
public static void queuedMessageBoxWId(long parent_id, int type, java.lang.String text, java.lang.String caption)
public static void queuedMessageBoxWId(long parent_id, int type, java.lang.String text)
public static boolean shouldBeShownYesNo(java.lang.String dontShowAgainName, int result)
dontShowAgainName
- the name that identify the message box. If
empty, true is always returned.result
- is set to the result (Yes or No) that was chosen the last
time the message box was shown. Only meaningful, if the message box
should not be shown.
public static boolean shouldBeShownContinue(java.lang.String dontShowAgainName)
dontShowAgainName
- the name that identify the message box. If
empty, true is always returned.
public static void saveDontShowAgainYesNo(java.lang.String dontShowAgainName, int result)
dontShowAgainName
- the name that identify the message box. If
empty, this method does nothing.result
- the value (Yes or No) that should be used as the result
for the message box.public static void saveDontShowAgainContinue(java.lang.String dontShowAgainName)
dontShowAgainName
- the name that identify the message box. If
empty, this method does nothing.public static void setDontShowAskAgainConfig(KConfig cfg)
cfg
for all settings related to the dontShowAgainName feature.
If cfg
is 0 (default) KGlobal.config() will be used.
public static int createKMessageBox(KDialogBase dialog, int icon, java.lang.String text, java.lang.String[] strlist, java.lang.String ask, boolean[] checkboxReturn, int options, java.lang.String details)
dialog
- The parent dialog baseicon
- Which predefined icon the message box shall show.text
- Message string.strlist
- List of strings to be written in the listbox.
If the list is empty, it doesn't show any listboxask
- The text of the checkbox. If empty none will be shown.checkboxReturn
- The result of the checkbox. If it's initially
true then the checkbox will be checked by default.options
- see OptionsTypedetails
- Detailed message string.
dialog
(ie. will return KDialogBase.Yes [256] instead of
KMessageBox.Yes [3]). Will return KMessageBox.Cancel
if the message box is queued for display instead of
exec()ed immediately or if the option NoExec is set.public static int createKMessageBox(KDialogBase dialog, int icon, java.lang.String text, java.lang.String[] strlist, java.lang.String ask, boolean[] checkboxReturn, int options)
public static int createKMessageBox(KDialogBase dialog, org.kde.qt.QPixmap icon, java.lang.String text, java.lang.String[] strlist, java.lang.String ask, boolean[] checkboxReturn, int options, java.lang.String details, int notifyType)
dialog
- The parent dialog baseicon
- A QPixmap containing the icon to be displayed in the
dialog next to the text.text
- Message string.strlist
- List of strings to be written in the listbox.
If the list is empty, it doesn't show any listboxask
- The text of the checkbox. If empty none will be shown.checkboxReturn
- The result of the checkbox. If it's initially
true then the checkbox will be checked by default.options
- see OptionsTypedetails
- Detailed message string.notifyType
- The type of notification to send when this message
is presentend.
dialog
(ie. will return KDialogBase.Yes [256] instead of
KMessageBox.Yes [3]). Will return KMessageBox.Cancel
if the message box is queued for display instead of
exec()ed immediately or if the option NoExec is set.public static int createKMessageBox(KDialogBase dialog, org.kde.qt.QPixmap icon, java.lang.String text, java.lang.String[] strlist, java.lang.String ask, boolean[] checkboxReturn, int options, java.lang.String details)
public static int createKMessageBox(KDialogBase dialog, org.kde.qt.QPixmap icon, java.lang.String text, java.lang.String[] strlist, java.lang.String ask, boolean[] checkboxReturn, int options)
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |