Kimono.KMessageBox.QuestionYesNo C# (CSharp) Метод

QuestionYesNo() публичный статический Метод

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
Результат int
        public static int QuestionYesNo(QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options)
        {
            return (int) staticInterceptor.Invoke("questionYesNo#$$##$$", "questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(string), dontAskAgainName, typeof(uint), options);
        }

Same methods

KMessageBox::QuestionYesNo ( QWidget parent, string text ) : int
KMessageBox::QuestionYesNo ( QWidget parent, string text, string caption ) : int
KMessageBox::QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
KMessageBox::QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
KMessageBox::QuestionYesNo ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName ) : int