C# Class Kimono.KMessageBox

Inheritance: Object, IDisposable
ファイルを表示 Open project: 0xd34df00d/Qross Class Usage Examples

Protected Properties

Property Type Description
interceptor SmokeInvocation

Public Methods

Method Description
About ( QWidget parent, string text ) : void
About ( QWidget parent, string text, string caption ) : void
About ( QWidget parent, string text, string caption, uint options ) : void Display an "About" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("About \"). name="options" see Options 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'.
CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int
CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details, Qyoto.QMessageBox notifyType ) : int Create content and layout of a standard dialog name="dialog" The parent dialog base name="icon" A QPixmap containing the icon to be displayed in the dialog next to the text. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox name="ask" The text of the checkbox. If empty none will be shown. name="checkboxReturn" The result of the checkbox. If it's initially true then the checkbox will be checked by default. name="options" see Options name="details" Detailed message string. name="notifyType" The type of notification to send when this message is presentend.
CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int Create content and layout of a standard dialog name="dialog" The parent dialog base name="icon" Which predefined icon the message box shall show. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox name="ask" The text of the checkbox. If empty none will be shown. name="checkboxReturn" The result of the checkbox. If it's initially true then the checkbox will be checked by default. name="options" see Options name="details" Detailed message string.
DetailedError ( QWidget parent, string text, string details ) : void
DetailedError ( QWidget parent, string text, string details, string caption ) : void
DetailedError ( QWidget parent, string text, string details, string caption, uint options ) : void Displays an "Error" dialog with a "Details >>" button. name="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. name="text" Message string. name="details" Detailed message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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'.
DetailedErrorWId ( uint parent_id, string text, string details ) : void
DetailedErrorWId ( uint parent_id, string text, string details, string caption ) : void
DetailedErrorWId ( uint parent_id, string text, string details, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
DetailedSorry ( QWidget parent, string text, string details ) : void
DetailedSorry ( QWidget parent, string text, string details, string caption ) : void
DetailedSorry ( QWidget parent, string text, string details, string caption, uint options ) : void Displays a "Sorry" dialog with a "Details >>" button. name="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. name="text" Message string. name="details" Detailed message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Sorry"). name="options" see Options 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'.
DetailedSorryWId ( uint parent_id, string text, string details ) : void
DetailedSorryWId ( uint parent_id, string text, string details, string caption ) : void
DetailedSorryWId ( uint parent_id, string text, string details, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
Dispose ( ) : void
EnableAllMessages ( ) : void Enable all messages which have been turned off with the dontShowAgainName feature.
EnableMessage ( string dontShowAgainName ) : void Re-enable a specific dontShowAgainName messages that had previously been turned off.
Error ( QWidget parent, string text ) : void
Error ( QWidget parent, string text, string caption ) : void
Error ( QWidget parent, string text, string caption, uint options ) : void Display an "Error" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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'.
ErrorList ( QWidget parent, string text, List strlist ) : void
ErrorList ( QWidget parent, string text, List strlist, string caption ) : void
ErrorList ( QWidget parent, string text, List strlist, string caption, uint options ) : void Display an "Error" dialog with a listbox. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as error(). name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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'.
ErrorListWId ( uint parent_id, string text, List strlist ) : void
ErrorListWId ( uint parent_id, string text, List strlist, string caption ) : void
ErrorListWId ( uint parent_id, string text, List strlist, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
ErrorWId ( uint parent_id, string text ) : void
ErrorWId ( uint parent_id, string text, string caption ) : void
ErrorWId ( uint parent_id, string text, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
Information ( QWidget parent, string text ) : void
Information ( QWidget parent, string text, string caption ) : void
Information ( QWidget parent, string text, string caption, string dontShowAgainName ) : void
Information ( QWidget parent, string text, string caption, string dontShowAgainName, uint options ) : void Display an "Information" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Information"). name="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. name="options" see Options 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'.
InformationList ( QWidget parent, string text, List strlist ) : void
InformationList ( QWidget parent, string text, List strlist, string caption ) : void
InformationList ( QWidget parent, string text, List strlist, string caption, string dontShowAgainName ) : void
InformationList ( QWidget parent, string text, List strlist, string caption, string dontShowAgainName, uint options ) : void Display an "Information" dialog with a listbox. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as information. name="caption" Message box title. The application name is added to the title. The default title is i18n("Information"). name="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. name="options" see Options 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'.
InformationListWId ( uint parent_id, string text, List strlist ) : void
InformationListWId ( uint parent_id, string text, List strlist, string caption ) : void
InformationListWId ( uint parent_id, string text, List strlist, string caption, string dontShowAgainName ) : void
InformationListWId ( uint parent_id, string text, List strlist, string caption, string dontShowAgainName, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
InformationWId ( uint parent_id, string text ) : void
InformationWId ( uint parent_id, string text, string caption ) : void
InformationWId ( uint parent_id, string text, string caption, string dontShowAgainName ) : void
InformationWId ( uint parent_id, string text, string caption, string dontShowAgainName, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
MessageBox ( QWidget parent, KMessageBox type, string text ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName ) : int
MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options ) : int Alternate method to show a messagebox: name="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. name="type" type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... name="text" Message string. name="caption" Message box title. name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="dontShowAskAgainName" If provided, a checkbox is added with which further questions/information 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. name="options" see Options Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. and for Information, none is used.
MessageBoxWId ( uint parent_id, KMessageBox type, string text ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName ) : int
MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QuestionYesNo ( QWidget parent, string text ) : int
QuestionYesNo ( QWidget parent, string text, string caption ) : int
QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int Display a simple "question" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Option To be used for questions like "Do you have a printer?" The default button is "Yes". Pressing "Esc" selects "No".
QuestionYesNoCancel ( QWidget parent, string text ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int Display a simple "question" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
QuestionYesNoCancelWId ( uint parent_id, string text ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QuestionYesNoList ( QWidget parent, string text, List strlist ) : int
QuestionYesNoList ( QWidget parent, string text, List strlist, string caption ) : int
QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int Display a "question" dialog with a listbox to show information to the user name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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".
QuestionYesNoListWId ( uint parent_id, string text, List strlist ) : int
QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption ) : int
QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QuestionYesNoWId ( uint parent_id, string text ) : int
QuestionYesNoWId ( uint parent_id, string text, string caption ) : int
QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QueuedDetailedError ( QWidget parent, string text, string details ) : void
QueuedDetailedError ( QWidget parent, string text, string details, string caption ) : void 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. Note that if the parent gets deleted, the messagebox will not be shown.
QueuedDetailedErrorWId ( uint parent_id, string text, string details ) : void
QueuedDetailedErrorWId ( uint parent_id, string text, string details, string caption ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QueuedMessageBox ( QWidget parent, KMessageBox type, string text ) : void
QueuedMessageBox ( QWidget parent, KMessageBox type, string text, string caption ) : void @overload This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
QueuedMessageBox ( QWidget parent, KMessageBox type, string text, string caption, uint options ) : void Like messageBox Only for message boxes of type Information, Sorry or Error. This function will return immediately, the messagebox will be shown once the application enters an event loop and no other messagebox is being shown. Note that if the parent gets deleted, the messagebox will not be shown.
QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text ) : void
QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
SaveDontShowAgainContinue ( string dontShowAgainName ) : void Save the fact that the continue/cancel message box should not be shown again. name="dontShowAgainName" the name that identify the message box. If empty, this method does nothing.
SaveDontShowAgainYesNo ( string dontShowAgainName, KMessageBox result ) : void Save the fact that the yes/no message box should not be shown again. name="dontShowAgainName" the name that identify the message box. If empty, this method does nothing. name="result" the value (Yes or No) that should be used as the result for the message box.
SetDontShowAskAgainConfig ( KConfig cfg ) : void Use cfg for all settings related to the dontShowAgainName feature. If cfg is 0 (default) KGlobal.Config() will be used.
ShouldBeShownContinue ( string dontShowAgainName ) : bool name="dontShowAgainName" the name that identify the message box. If empty, true is always returned.
ShouldBeShownYesNo ( string dontShowAgainName, KMessageBox result ) : bool name="dontShowAgainName" the name that identify the message box. If empty, true is always returned. name="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.
Sorry ( QWidget parent, string text ) : void
Sorry ( QWidget parent, string text, string caption ) : void
Sorry ( QWidget parent, string text, string caption, uint options ) : void Display an "Sorry" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Sorry"). name="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'.
SorryWId ( uint parent_id, string text ) : void
SorryWId ( uint parent_id, string text, string caption ) : void
SorryWId ( uint parent_id, string text, string caption, uint options ) : void This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningContinueCancel ( QWidget parent, string text ) : int
WarningContinueCancel ( QWidget parent, string text, string caption ) : int
WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue ) : int
WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int Display a "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonContinue" The text for the first button. The default is KStandardGuiItem.Cont(). name="buttonCancel" The text for the second button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
WarningContinueCancelList ( QWidget parent, string text, List strlist ) : int
WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption ) : int
WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue ) : int
WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int Display a "warning" dialog with a listbox to show information to the user. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningContinueCancel. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonContinue" The text for the first button. The default is KStandardGuiItem.Cont(). name="buttonCancel" The text for the second button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
WarningContinueCancelListWId ( uint parent_id, string text, List strlist ) : int
WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption ) : int
WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue ) : int
WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningContinueCancelWId ( uint parent_id, string text ) : int
WarningContinueCancelWId ( uint parent_id, string text, string caption ) : int
WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue ) : int
WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningYesNo ( QWidget parent, string text ) : int
WarningYesNo ( QWidget parent, string text, string caption ) : int
WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int Display a "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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".
WarningYesNoCancel ( QWidget parent, string text ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int Display a Yes/No/Cancel "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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"
WarningYesNoCancelList ( QWidget parent, string text, List strlist ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningYesNoCancel. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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"
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningYesNoCancelWId ( uint parent_id, string text ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningYesNoList ( QWidget parent, string text, List strlist ) : int
WarningYesNoList ( QWidget parent, string text, List strlist, string caption ) : int
WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int Display a "warning" dialog with a listbox to show information to the user name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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".
WarningYesNoListWId ( uint parent_id, string text, List strlist ) : int
WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption ) : int
WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
WarningYesNoWId ( uint parent_id, string text ) : int
WarningYesNoWId ( uint parent_id, string text, string caption ) : int
WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.

Protected Methods

Method Description
CreateProxy ( ) : void
KMessageBox ( Type dummy ) : System

Private Methods

Method Description
KMessageBox ( ) : System

Method Details

About() public static method

public static About ( QWidget parent, string text ) : void
parent Qyoto.QWidget
text string
return void

About() public static method

public static About ( QWidget parent, string text, string caption ) : void
parent Qyoto.QWidget
text string
caption string
return void

About() public static method

Display an "About" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("About \"). name="options" see Options 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 About ( QWidget parent, string text, string caption, uint options ) : void
parent Qyoto.QWidget
text string
caption string
options uint
return void

CreateKMessageBox() public static method

public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
dialog Kimono.KDialog
icon Qyoto.QIcon
text string
strlist List
ask string
checkboxReturn bool
options uint
return int

CreateKMessageBox() public static method

public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int
dialog Kimono.KDialog
icon Qyoto.QIcon
text string
strlist List
ask string
checkboxReturn bool
options uint
details string
return int

CreateKMessageBox() public static method

Create content and layout of a standard dialog name="dialog" The parent dialog base name="icon" A QPixmap containing the icon to be displayed in the dialog next to the text. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox name="ask" The text of the checkbox. If empty none will be shown. name="checkboxReturn" The result of the checkbox. If it's initially true then the checkbox will be checked by default. name="options" see Options name="details" Detailed message string. name="notifyType" The type of notification to send when this message is presentend.
public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QIcon icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details, Qyoto.QMessageBox notifyType ) : int
dialog Kimono.KDialog
icon Qyoto.QIcon
text string
strlist List
ask string
checkboxReturn bool
options uint
details string
notifyType Qyoto.QMessageBox
return int

CreateKMessageBox() public static method

public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options ) : int
dialog Kimono.KDialog
icon Qyoto.QMessageBox
text string
strlist List
ask string
checkboxReturn bool
options uint
return int

CreateKMessageBox() public static method

Create content and layout of a standard dialog name="dialog" The parent dialog base name="icon" Which predefined icon the message box shall show. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox name="ask" The text of the checkbox. If empty none will be shown. name="checkboxReturn" The result of the checkbox. If it's initially true then the checkbox will be checked by default. name="options" see Options name="details" Detailed message string.
public static CreateKMessageBox ( Kimono.KDialog dialog, Qyoto.QMessageBox icon, string text, List strlist, string ask, bool &checkboxReturn, uint options, string details ) : int
dialog Kimono.KDialog
icon Qyoto.QMessageBox
text string
strlist List
ask string
checkboxReturn bool
options uint
details string
return int

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DetailedError() public static method

public static DetailedError ( QWidget parent, string text, string details ) : void
parent Qyoto.QWidget
text string
details string
return void

DetailedError() public static method

public static DetailedError ( QWidget parent, string text, string details, string caption ) : void
parent Qyoto.QWidget
text string
details string
caption string
return void

DetailedError() public static method

Displays an "Error" dialog with a "Details >>" button. name="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. name="text" Message string. name="details" Detailed message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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 DetailedError ( QWidget parent, string text, string details, string caption, uint options ) : void
parent Qyoto.QWidget
text string
details string
caption string
options uint
return void

DetailedErrorWId() public static method

public static DetailedErrorWId ( uint parent_id, string text, string details ) : void
parent_id uint
text string
details string
return void

DetailedErrorWId() public static method

public static DetailedErrorWId ( uint parent_id, string text, string details, string caption ) : void
parent_id uint
text string
details string
caption string
return void

DetailedErrorWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static DetailedErrorWId ( uint parent_id, string text, string details, string caption, uint options ) : void
parent_id uint
text string
details string
caption string
options uint
return void

DetailedSorry() public static method

public static DetailedSorry ( QWidget parent, string text, string details ) : void
parent Qyoto.QWidget
text string
details string
return void

DetailedSorry() public static method

public static DetailedSorry ( QWidget parent, string text, string details, string caption ) : void
parent Qyoto.QWidget
text string
details string
caption string
return void

DetailedSorry() public static method

Displays a "Sorry" dialog with a "Details >>" button. name="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. name="text" Message string. name="details" Detailed message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Sorry"). name="options" see Options 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 DetailedSorry ( QWidget parent, string text, string details, string caption, uint options ) : void
parent Qyoto.QWidget
text string
details string
caption string
options uint
return void

DetailedSorryWId() public static method

public static DetailedSorryWId ( uint parent_id, string text, string details ) : void
parent_id uint
text string
details string
return void

DetailedSorryWId() public static method

public static DetailedSorryWId ( uint parent_id, string text, string details, string caption ) : void
parent_id uint
text string
details string
caption string
return void

DetailedSorryWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static DetailedSorryWId ( uint parent_id, string text, string details, string caption, uint options ) : void
parent_id uint
text string
details string
caption string
options uint
return void

Dispose() public method

public Dispose ( ) : void
return void

EnableAllMessages() public static method

Enable all messages which have been turned off with the dontShowAgainName feature.
public static EnableAllMessages ( ) : void
return void

EnableMessage() public static method

Re-enable a specific dontShowAgainName messages that had previously been turned off.
public static EnableMessage ( string dontShowAgainName ) : void
dontShowAgainName string
return void

Error() public static method

public static Error ( QWidget parent, string text ) : void
parent Qyoto.QWidget
text string
return void

Error() public static method

public static Error ( QWidget parent, string text, string caption ) : void
parent Qyoto.QWidget
text string
caption string
return void

Error() public static method

Display an "Error" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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 Error ( QWidget parent, string text, string caption, uint options ) : void
parent Qyoto.QWidget
text string
caption string
options uint
return void

ErrorList() public static method

public static ErrorList ( QWidget parent, string text, List strlist ) : void
parent Qyoto.QWidget
text string
strlist List
return void

ErrorList() public static method

public static ErrorList ( QWidget parent, string text, List strlist, string caption ) : void
parent Qyoto.QWidget
text string
strlist List
caption string
return void

ErrorList() public static method

Display an "Error" dialog with a listbox. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as error(). name="caption" Message box title. The application name is added to the title. The default title is i18n("Error"). name="options" see Options 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 ErrorList ( QWidget parent, string text, List strlist, string caption, uint options ) : void
parent Qyoto.QWidget
text string
strlist List
caption string
options uint
return void

ErrorListWId() public static method

public static ErrorListWId ( uint parent_id, string text, List strlist ) : void
parent_id uint
text string
strlist List
return void

ErrorListWId() public static method

public static ErrorListWId ( uint parent_id, string text, List strlist, string caption ) : void
parent_id uint
text string
strlist List
caption string
return void

ErrorListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static ErrorListWId ( uint parent_id, string text, List strlist, string caption, uint options ) : void
parent_id uint
text string
strlist List
caption string
options uint
return void

ErrorWId() public static method

public static ErrorWId ( uint parent_id, string text ) : void
parent_id uint
text string
return void

ErrorWId() public static method

public static ErrorWId ( uint parent_id, string text, string caption ) : void
parent_id uint
text string
caption string
return void

ErrorWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static ErrorWId ( uint parent_id, string text, string caption, uint options ) : void
parent_id uint
text string
caption string
options uint
return void

Information() public static method

public static Information ( QWidget parent, string text ) : void
parent Qyoto.QWidget
text string
return void

Information() public static method

public static Information ( QWidget parent, string text, string caption ) : void
parent Qyoto.QWidget
text string
caption string
return void

Information() public static method

public static Information ( QWidget parent, string text, string caption, string dontShowAgainName ) : void
parent Qyoto.QWidget
text string
caption string
dontShowAgainName string
return void

Information() public static method

Display an "Information" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Information"). name="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. name="options" see Options 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 Information ( QWidget parent, string text, string caption, string dontShowAgainName, uint options ) : void
parent Qyoto.QWidget
text string
caption string
dontShowAgainName string
options uint
return void

InformationList() public static method

public static InformationList ( QWidget parent, string text, List strlist ) : void
parent Qyoto.QWidget
text string
strlist List
return void

InformationList() public static method

public static InformationList ( QWidget parent, string text, List strlist, string caption ) : void
parent Qyoto.QWidget
text string
strlist List
caption string
return void

InformationList() public static method

public static InformationList ( QWidget parent, string text, List strlist, string caption, string dontShowAgainName ) : void
parent Qyoto.QWidget
text string
strlist List
caption string
dontShowAgainName string
return void

InformationList() public static method

Display an "Information" dialog with a listbox. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as information. name="caption" Message box title. The application name is added to the title. The default title is i18n("Information"). name="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. name="options" see Options 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 InformationList ( QWidget parent, string text, List strlist, string caption, string dontShowAgainName, uint options ) : void
parent Qyoto.QWidget
text string
strlist List
caption string
dontShowAgainName string
options uint
return void

InformationListWId() public static method

public static InformationListWId ( uint parent_id, string text, List strlist ) : void
parent_id uint
text string
strlist List
return void

InformationListWId() public static method

public static InformationListWId ( uint parent_id, string text, List strlist, string caption ) : void
parent_id uint
text string
strlist List
caption string
return void

InformationListWId() public static method

public static InformationListWId ( uint parent_id, string text, List strlist, string caption, string dontShowAgainName ) : void
parent_id uint
text string
strlist List
caption string
dontShowAgainName string
return void

InformationListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static InformationListWId ( uint parent_id, string text, List strlist, string caption, string dontShowAgainName, uint options ) : void
parent_id uint
text string
strlist List
caption string
dontShowAgainName string
options uint
return void

InformationWId() public static method

public static InformationWId ( uint parent_id, string text ) : void
parent_id uint
text string
return void

InformationWId() public static method

public static InformationWId ( uint parent_id, string text, string caption ) : void
parent_id uint
text string
caption string
return void

InformationWId() public static method

public static InformationWId ( uint parent_id, string text, string caption, string dontShowAgainName ) : void
parent_id uint
text string
caption string
dontShowAgainName string
return void

InformationWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static InformationWId ( uint parent_id, string text, string caption, string dontShowAgainName, uint options ) : void
parent_id uint
text string
caption string
dontShowAgainName string
options uint
return void

KMessageBox() protected method

protected KMessageBox ( Type dummy ) : System
dummy Type
return System

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text ) : int
parent QWidget
type KMessageBox
text string
return int

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption ) : int
parent QWidget
type KMessageBox
text string
caption string
return int

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
return int

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

MessageBox() public static method

public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontShowAskAgainName string
return int

MessageBox() public static method

Alternate method to show a messagebox: name="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. name="type" type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... name="text" Message string. name="caption" Message box title. name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="dontShowAskAgainName" If provided, a checkbox is added with which further questions/information 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. name="options" see Options Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. and for Information, none is used.
public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontShowAskAgainName string
options uint
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text ) : int
parent_id uint
type KMessageBox
text string
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption ) : int
parent_id uint
type KMessageBox
text string
caption string
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes ) : int
parent_id uint
type KMessageBox
text string
caption string
buttonYes KGuiItem
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent_id uint
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

MessageBoxWId() public static method

public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName ) : int
parent_id uint
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontShowAskAgainName string
return int

MessageBoxWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static MessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options ) : int
parent_id uint
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontShowAskAgainName string
options uint
return int

QuestionYesNo() public static method

public static QuestionYesNo ( QWidget parent, string text ) : int
parent QWidget
text string
return int

QuestionYesNo() public static method

public static QuestionYesNo ( QWidget parent, string text, string caption ) : int
parent QWidget
text string
caption string
return int

QuestionYesNo() public static method

public static QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
return int

QuestionYesNo() public static method

public static QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNo() public static method

public static QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

QuestionYesNo() public static method

Display a simple "question" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Option To be used for questions like "Do you have a printer?" The default button is "Yes". Pressing "Esc" selects "No".
public static QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text ) : int
parent QWidget
text string
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text, string caption ) : int
parent QWidget
text string
caption string
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

QuestionYesNoCancel() public static method

public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

QuestionYesNoCancel() public static method

Display a simple "question" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text ) : int
parent_id uint
text string
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption ) : int
parent_id uint
text string
caption string
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

QuestionYesNoCancelWId() public static method

public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

QuestionYesNoCancelWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QuestionYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

QuestionYesNoList() public static method

public static QuestionYesNoList ( QWidget parent, string text, List strlist ) : int
parent QWidget
text string
strlist List
return int

QuestionYesNoList() public static method

public static QuestionYesNoList ( QWidget parent, string text, List strlist, string caption ) : int
parent QWidget
text string
strlist List
caption string
return int

QuestionYesNoList() public static method

public static QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
return int

QuestionYesNoList() public static method

public static QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNoList() public static method

public static QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

QuestionYesNoList() public static method

Display a "question" dialog with a listbox to show information to the user name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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 QuestionYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

QuestionYesNoListWId() public static method

public static QuestionYesNoListWId ( uint parent_id, string text, List strlist ) : int
parent_id uint
text string
strlist List
return int

QuestionYesNoListWId() public static method

public static QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption ) : int
parent_id uint
text string
strlist List
caption string
return int

QuestionYesNoListWId() public static method

public static QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
return int

QuestionYesNoListWId() public static method

public static QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNoListWId() public static method

public static QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

QuestionYesNoListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QuestionYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

QuestionYesNoWId() public static method

public static QuestionYesNoWId ( uint parent_id, string text ) : int
parent_id uint
text string
return int

QuestionYesNoWId() public static method

public static QuestionYesNoWId ( uint parent_id, string text, string caption ) : int
parent_id uint
text string
caption string
return int

QuestionYesNoWId() public static method

public static QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
return int

QuestionYesNoWId() public static method

public static QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

QuestionYesNoWId() public static method

public static QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

QuestionYesNoWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QuestionYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

QueuedDetailedError() public static method

public static QueuedDetailedError ( QWidget parent, string text, string details ) : void
parent QWidget
text string
details string
return void

QueuedDetailedError() public static method

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. Note that if the parent gets deleted, the messagebox will not be shown.
public static QueuedDetailedError ( QWidget parent, string text, string details, string caption ) : void
parent QWidget
text string
details string
caption string
return void

QueuedDetailedErrorWId() public static method

public static QueuedDetailedErrorWId ( uint parent_id, string text, string details ) : void
parent_id uint
text string
details string
return void

QueuedDetailedErrorWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QueuedDetailedErrorWId ( uint parent_id, string text, string details, string caption ) : void
parent_id uint
text string
details string
caption string
return void

QueuedMessageBox() public static method

public static QueuedMessageBox ( QWidget parent, KMessageBox type, string text ) : void
parent QWidget
type KMessageBox
text string
return void

QueuedMessageBox() public static method

@overload This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
public static QueuedMessageBox ( QWidget parent, KMessageBox type, string text, string caption ) : void
parent QWidget
type KMessageBox
text string
caption string
return void

QueuedMessageBox() public static method

Like messageBox Only for message boxes of type Information, Sorry or Error. This function will return immediately, the messagebox will be shown once the application enters an event loop and no other messagebox is being shown. Note that if the parent gets deleted, the messagebox will not be shown.
public static QueuedMessageBox ( QWidget parent, KMessageBox type, string text, string caption, uint options ) : void
parent QWidget
type KMessageBox
text string
caption string
options uint
return void

QueuedMessageBoxWId() public static method

public static QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text ) : void
parent_id uint
type KMessageBox
text string
return void

QueuedMessageBoxWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption ) : void
parent_id uint
type KMessageBox
text string
caption string
return void

QueuedMessageBoxWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static QueuedMessageBoxWId ( uint parent_id, KMessageBox type, string text, string caption, uint options ) : void
parent_id uint
type KMessageBox
text string
caption string
options uint
return void

SaveDontShowAgainContinue() public static method

Save the fact that the continue/cancel message box should not be shown again. name="dontShowAgainName" the name that identify the message box. If empty, this method does nothing.
public static SaveDontShowAgainContinue ( string dontShowAgainName ) : void
dontShowAgainName string
return void

SaveDontShowAgainYesNo() public static method

Save the fact that the yes/no message box should not be shown again. name="dontShowAgainName" the name that identify the message box. If empty, this method does nothing. name="result" the value (Yes or No) that should be used as the result for the message box.
public static SaveDontShowAgainYesNo ( string dontShowAgainName, KMessageBox result ) : void
dontShowAgainName string
result KMessageBox
return void

SetDontShowAskAgainConfig() public static method

Use cfg for all settings related to the dontShowAgainName feature. If cfg is 0 (default) KGlobal.Config() will be used.
public static SetDontShowAskAgainConfig ( KConfig cfg ) : void
cfg KConfig
return void

ShouldBeShownContinue() public static method

name="dontShowAgainName" the name that identify the message box. If empty, true is always returned.
public static ShouldBeShownContinue ( string dontShowAgainName ) : bool
dontShowAgainName string
return bool

ShouldBeShownYesNo() public static method

name="dontShowAgainName" the name that identify the message box. If empty, true is always returned. name="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 ShouldBeShownYesNo ( string dontShowAgainName, KMessageBox result ) : bool
dontShowAgainName string
result KMessageBox
return bool

Sorry() public static method

public static Sorry ( QWidget parent, string text ) : void
parent QWidget
text string
return void

Sorry() public static method

public static Sorry ( QWidget parent, string text, string caption ) : void
parent QWidget
text string
caption string
return void

Sorry() public static method

Display an "Sorry" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Sorry"). name="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 Sorry ( QWidget parent, string text, string caption, uint options ) : void
parent QWidget
text string
caption string
options uint
return void

SorryWId() public static method

public static SorryWId ( uint parent_id, string text ) : void
parent_id uint
text string
return void

SorryWId() public static method

public static SorryWId ( uint parent_id, string text, string caption ) : void
parent_id uint
text string
caption string
return void

SorryWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static SorryWId ( uint parent_id, string text, string caption, uint options ) : void
parent_id uint
text string
caption string
options uint
return void

WarningContinueCancel() public static method

public static WarningContinueCancel ( QWidget parent, string text ) : int
parent QWidget
text string
return int

WarningContinueCancel() public static method

public static WarningContinueCancel ( QWidget parent, string text, string caption ) : int
parent QWidget
text string
caption string
return int

WarningContinueCancel() public static method

public static WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue ) : int
parent QWidget
text string
caption string
buttonContinue KGuiItem
return int

WarningContinueCancel() public static method

public static WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
parent QWidget
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
return int

WarningContinueCancel() public static method

public static WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent QWidget
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningContinueCancel() public static method

Display a "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonContinue" The text for the first button. The default is KStandardGuiItem.Cont(). name="buttonCancel" The text for the second button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
public static WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningContinueCancelList() public static method

public static WarningContinueCancelList ( QWidget parent, string text, List strlist ) : int
parent QWidget
text string
strlist List
return int

WarningContinueCancelList() public static method

public static WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption ) : int
parent QWidget
text string
strlist List
caption string
return int

WarningContinueCancelList() public static method

public static WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue ) : int
parent QWidget
text string
strlist List
caption string
buttonContinue KGuiItem
return int

WarningContinueCancelList() public static method

public static WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
parent QWidget
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
return int

WarningContinueCancelList() public static method

public static WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent QWidget
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningContinueCancelList() public static method

Display a "warning" dialog with a listbox to show information to the user. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningContinueCancel. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonContinue" The text for the first button. The default is KStandardGuiItem.Cont(). name="buttonCancel" The text for the second button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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".
public static WarningContinueCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningContinueCancelListWId() public static method

public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist ) : int
parent_id uint
text string
strlist List
return int

WarningContinueCancelListWId() public static method

public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption ) : int
parent_id uint
text string
strlist List
caption string
return int

WarningContinueCancelListWId() public static method

public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue ) : int
parent_id uint
text string
strlist List
caption string
buttonContinue KGuiItem
return int

WarningContinueCancelListWId() public static method

public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
parent_id uint
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
return int

WarningContinueCancelListWId() public static method

public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent_id uint
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningContinueCancelListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningContinueCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent_id uint
text string
strlist List
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningContinueCancelWId() public static method

public static WarningContinueCancelWId ( uint parent_id, string text ) : int
parent_id uint
text string
return int

WarningContinueCancelWId() public static method

public static WarningContinueCancelWId ( uint parent_id, string text, string caption ) : int
parent_id uint
text string
caption string
return int

WarningContinueCancelWId() public static method

public static WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue ) : int
parent_id uint
text string
caption string
buttonContinue KGuiItem
return int

WarningContinueCancelWId() public static method

public static WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
parent_id uint
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
return int

WarningContinueCancelWId() public static method

public static WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent_id uint
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningContinueCancelWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningContinueCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent_id uint
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNo() public static method

public static WarningYesNo ( QWidget parent, string text ) : int
parent QWidget
text string
return int

WarningYesNo() public static method

public static WarningYesNo ( QWidget parent, string text, string caption ) : int
parent QWidget
text string
caption string
return int

WarningYesNo() public static method

public static WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
return int

WarningYesNo() public static method

public static WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNo() public static method

public static WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

WarningYesNo() public static method

Display a "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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".
public static WarningYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text ) : int
parent QWidget
text string
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text, string caption ) : int
parent QWidget
text string
caption string
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

WarningYesNoCancel() public static method

public static WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningYesNoCancel() public static method

Display a Yes/No/Cancel "warning" dialog. name="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. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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"
public static WarningYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist ) : int
parent QWidget
text string
strlist List
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption ) : int
parent QWidget
text string
strlist List
caption string
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

WarningYesNoCancelList() public static method

public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningYesNoCancelList() public static method

Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as warningYesNoCancel. name="caption" Message box title. The application name is added to the title. The default title is i18n("Warning"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="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. name="options" see Options 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"
public static WarningYesNoCancelList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist ) : int
parent_id uint
text string
strlist List
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption ) : int
parent_id uint
text string
strlist List
caption string
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

WarningYesNoCancelListWId() public static method

public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningYesNoCancelListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningYesNoCancelListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text ) : int
parent_id uint
text string
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text, string caption ) : int
parent_id uint
text string
caption string
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
return int

WarningYesNoCancelWId() public static method

public static WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
return int

WarningYesNoCancelWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningYesNoCancelWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoList() public static method

public static WarningYesNoList ( QWidget parent, string text, List strlist ) : int
parent QWidget
text string
strlist List
return int

WarningYesNoList() public static method

public static WarningYesNoList ( QWidget parent, string text, List strlist, string caption ) : int
parent QWidget
text string
strlist List
caption string
return int

WarningYesNoList() public static method

public static WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
return int

WarningYesNoList() public static method

public static WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoList() public static method

public static WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

WarningYesNoList() public static method

Display a "warning" dialog with a listbox to show information to the user name="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. name="text" Message string. name="strlist" List of strings to be written in the listbox. If the list is empty, it doesn't show any listbox, working as questionYesNo. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="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. name="options" see Options 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 WarningYesNoList ( QWidget parent, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent QWidget
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoListWId() public static method

public static WarningYesNoListWId ( uint parent_id, string text, List strlist ) : int
parent_id uint
text string
strlist List
return int

WarningYesNoListWId() public static method

public static WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption ) : int
parent_id uint
text string
strlist List
caption string
return int

WarningYesNoListWId() public static method

public static WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
return int

WarningYesNoListWId() public static method

public static WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoListWId() public static method

public static WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

WarningYesNoListWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningYesNoListWId ( uint parent_id, string text, List strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent_id uint
text string
strlist List
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

WarningYesNoWId() public static method

public static WarningYesNoWId ( uint parent_id, string text ) : int
parent_id uint
text string
return int

WarningYesNoWId() public static method

public static WarningYesNoWId ( uint parent_id, string text, string caption ) : int
parent_id uint
text string
caption string
return int

WarningYesNoWId() public static method

public static WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
return int

WarningYesNoWId() public static method

public static WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
return int

WarningYesNoWId() public static method

public static WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
return int

WarningYesNoWId() public static method

This function accepts the window id of the parent window, instead of QWidget. It should be used only when necessary.
public static WarningYesNoWId ( uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options ) : int
parent_id uint
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
dontAskAgainName string
options uint
return int

Property Details

interceptor protected_oe property

protected SmokeInvocation interceptor
return SmokeInvocation