Kimono.KMessageBox.WarningYesNoCancelList C# (CSharp) Method

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
        public static int WarningYesNoCancelList(QWidget parent, string text, List<string> strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options)
        {
            return (int) staticInterceptor.Invoke("warningYesNoCancelList#$?$###$$", "warningYesNoCancelList(QWidget*, const QString&, const QStringList&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(List<string>), strlist, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName, typeof(uint), options);
        }

Same methods

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