public static int MessageBoxWId(uint parent_id, KMessageBox.DialogType type, string text, string caption, KGuiItem buttonYes) { return (int) staticInterceptor.Invoke("messageBoxWId$$$$#", "messageBoxWId(WId, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&)", typeof(int), typeof(uint), parent_id, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes); }
public static int MessageBoxWId(uint parent_id, KMessageBox.DialogType type, string text) { return (int) staticInterceptor.Invoke("messageBoxWId$$$", "messageBoxWId(WId, KMessageBox::DialogType, const QString&)", typeof(int), typeof(uint), parent_id, typeof(KMessageBox.DialogType), type, typeof(string), text); }
public static int MessageBox(QWidget parent, KMessageBox.DialogType type, string text) { return (int) staticInterceptor.Invoke("messageBox#$$", "messageBox(QWidget*, KMessageBox::DialogType, const QString&)", typeof(int), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text); }
public static int MessageBoxWId(uint parent_id, KMessageBox.DialogType type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName) { return (int) staticInterceptor.Invoke("messageBoxWId$$$$###$", "messageBoxWId(WId, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(uint), parent_id, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontShowAskAgainName); }
/// <remarks> /// Alternate method to show a messagebox: /// <param> name="parent" If <code>parent</code> is 0, then the message box becomes an /// application-global modal dialog box. If <code>parent</code> is a /// widget, the message box becomes modal relative to parent. /// </param><param> name="type" type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... /// </param><param> name="text" Message string. /// </param><param> name="caption" Message box title. /// </param><param> name="buttonYes" The text for the first button. /// The default is KStandardGuiItem.Yes(). /// </param><param> name="buttonNo" The text for the second button. /// The default is KStandardGuiItem.No(). /// </param><param> name="buttonCancel" The text for the third button. /// The default is KStandardGuiItem.Cancel(). /// </param><param> 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. /// </param><param> name="options" see Options /// Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. /// and for Information, none is used. /// </param></remarks> <return> a button code, as defined in KMessageBox. /// </return> /// <short> Alternate method to show a messagebox: </short> public static int MessageBox(QWidget parent, KMessageBox.DialogType type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options) { return (int) staticInterceptor.Invoke("messageBox#$$$###$$", "messageBox(QWidget*, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontShowAskAgainName, typeof(uint), options); }
public static int MessageBox(QWidget parent, KMessageBox.DialogType type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo) { return (int) staticInterceptor.Invoke("messageBox#$$$##", "messageBox(QWidget*, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&)", typeof(int), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo); }
/// <remarks> /// <param> name="dontShowAgainName" the name that identify the message box. If /// empty, true is always returned. /// </param><param> 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. /// </param></remarks> <return> true if the corresponding yes/no message box should be shown. /// </return> /// <short> </short> public static bool ShouldBeShownYesNo(string dontShowAgainName, KMessageBox.ButtonCode result) { return (bool) staticInterceptor.Invoke("shouldBeShownYesNo$$", "shouldBeShownYesNo(const QString&, KMessageBox::ButtonCode&)", typeof(bool), typeof(string), dontShowAgainName, typeof(KMessageBox.ButtonCode), result); }
/// <remarks> /// Save the fact that the yes/no message box should not be shown again. /// <param> name="dontShowAgainName" the name that identify the message box. If /// empty, this method does nothing. /// </param><param> name="result" the value (Yes or No) that should be used as the result /// for the message box. /// </param></remarks> <short> Save the fact that the yes/no message box should not be shown again.</short> public static void SaveDontShowAgainYesNo(string dontShowAgainName, KMessageBox.ButtonCode result) { staticInterceptor.Invoke("saveDontShowAgainYesNo$$", "saveDontShowAgainYesNo(const QString&, KMessageBox::ButtonCode)", typeof(void), typeof(string), dontShowAgainName, typeof(KMessageBox.ButtonCode), result); }
public static void QueuedMessageBoxWId(uint parent_id, KMessageBox.DialogType type, string text) { staticInterceptor.Invoke("queuedMessageBoxWId$$$", "queuedMessageBoxWId(WId, KMessageBox::DialogType, const QString&)", typeof(void), typeof(uint), parent_id, typeof(KMessageBox.DialogType), type, typeof(string), text); }
public static void QueuedMessageBox(QWidget parent, KMessageBox.DialogType type, string text) { staticInterceptor.Invoke("queuedMessageBox#$$", "queuedMessageBox(QWidget*, KMessageBox::DialogType, const QString&)", typeof(void), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text); }
/// <remarks> /// 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. /// </remarks> <short> Like messageBox </short> public static void QueuedMessageBox(QWidget parent, KMessageBox.DialogType type, string text, string caption, uint options) { staticInterceptor.Invoke("queuedMessageBox#$$$$", "queuedMessageBox(QWidget*, KMessageBox::DialogType, const QString&, const QString&, KMessageBox::Options)", typeof(void), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(uint), options); }