コード例 #1
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoListWId(uint parent_id, string text, List<string> strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo)
 {
     return (int) staticInterceptor.Invoke("warningYesNoListWId$$?$##", "warningYesNoListWId(WId, const QString&, const QStringList&, const QString&, const KGuiItem&, const KGuiItem&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(List<string>), strlist, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo);
 }
コード例 #2
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  This function accepts the window id of the parent window, instead
 ///  of QWidget. It should be used only when necessary.
 ///   </remarks>        <short>    This function accepts the window id of the parent window, instead  of QWidget .</short>
 public static int WarningYesNoWId(uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options)
 {
     return (int) staticInterceptor.Invoke("warningYesNoWId$$$##$$", "warningYesNoWId(WId, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(string), dontAskAgainName, typeof(uint), options);
 }
コード例 #3
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Display a simple "question" dialog.
 /// <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="text" Message string.
 /// </param><param> name="caption" Message box title. The application name is added to
 ///                 the title. The default title is i18n("Question").
 /// </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="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 <code>dontAskAgainName</code> starts with a ':' then the setting
 ///                 is stored in the global config file.
 /// </param><param> name="options" see Options
 /// </param> 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".
 ///   </remarks>        <return> 'Yes' is returned if the Yes-button is pressed. 'No' is returned
 ///           if the No-button is pressed.
 /// </return>
 ///         <short>    Display a simple "question" dialog.</short>
 public static int QuestionYesNoCancel(QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options)
 {
     return (int) staticInterceptor.Invoke("questionYesNoCancel#$$###$$", "questionYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, 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(KGuiItem), buttonCancel, typeof(string), dontAskAgainName, typeof(uint), options);
 }
コード例 #4
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoList(QWidget parent, string text, List<string> strlist, string caption, KGuiItem buttonYes)
 {
     return (int) staticInterceptor.Invoke("warningYesNoList#$?$#", "warningYesNoList(QWidget*, const QString&, const QStringList&, const QString&, const KGuiItem&)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(List<string>), strlist, typeof(string), caption, typeof(KGuiItem), buttonYes);
 }
コード例 #5
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 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);
 }
コード例 #6
0
ファイル: KGuiItem.cs プロジェクト: KDE/kimono
 public KGuiItem(KGuiItem rhs)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KGuiItem#", "KGuiItem(const KGuiItem&)", typeof(void), typeof(KGuiItem), rhs);
 }
コード例 #7
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningContinueCancelWId(uint parent_id, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel)
 {
     return (int) staticInterceptor.Invoke("warningContinueCancelWId$$$##", "warningContinueCancelWId(WId, const QString&, const QString&, const KGuiItem&, const KGuiItem&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonContinue, typeof(KGuiItem), buttonCancel);
 }
コード例 #8
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 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);
 }
コード例 #9
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningContinueCancel(QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("warningContinueCancel#$$##$", "warningContinueCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonContinue, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName);
 }
コード例 #10
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningContinueCancelListWId(uint parent_id, string text, List<string> strlist, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("warningContinueCancelListWId$$?$##$", "warningContinueCancelListWId(WId, const QString&, const QStringList&, const QString&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(List<string>), strlist, typeof(string), caption, typeof(KGuiItem), buttonContinue, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName);
 }
コード例 #11
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int QuestionYesNoListWId(uint parent_id, string text, List<string> strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("questionYesNoListWId$$?$##$", "questionYesNoListWId(WId, const QString&, const QStringList&, const QString&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(List<string>), strlist, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(string), dontAskAgainName);
 }
コード例 #12
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int QuestionYesNoCancelWId(uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo)
 {
     return (int) staticInterceptor.Invoke("questionYesNoCancelWId$$$##", "questionYesNoCancelWId(WId, const QString&, const QString&, const KGuiItem&, const KGuiItem&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo);
 }
コード例 #13
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int QuestionYesNoCancel(QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel)
 {
     return (int) staticInterceptor.Invoke("questionYesNoCancel#$$###", "questionYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel);
 }
コード例 #14
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoWId(uint parent_id, string text, string caption, KGuiItem buttonYes)
 {
     return (int) staticInterceptor.Invoke("warningYesNoWId$$$#", "warningYesNoWId(WId, const QString&, const QString&, const KGuiItem&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes);
 }
コード例 #15
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoCancel(QWidget parent, string text, string caption, KGuiItem buttonYes)
 {
     return (int) staticInterceptor.Invoke("warningYesNoCancel#$$#", "warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes);
 }
コード例 #16
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 /// <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);
 }
コード例 #17
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoCancelList(QWidget parent, string text, List<string> strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("warningYesNoCancelList#$?$###$", "warningYesNoCancelList(QWidget*, const QString&, const QStringList&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&)", 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);
 }
コード例 #18
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 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);
 }
コード例 #19
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int WarningYesNoCancelWId(uint parent_id, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("warningYesNoCancelWId$$$###$", "warningYesNoCancelWId(WId, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(uint), parent_id, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName);
 }
コード例 #20
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 public static int QuestionYesNo(QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName)
 {
     return (int) staticInterceptor.Invoke("questionYesNo#$$##$", "questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(string), dontAskAgainName);
 }
コード例 #21
0
ファイル: KMessageBox.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Display a "warning" dialog with a listbox to show information to the user
 /// <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="text" Message string.
 /// </param><param> 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.
 /// </param><param> name="caption" Message box title. The application name is added to
 ///                 the title. The default title is i18n("Question").
 /// </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="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 <code>dontAskAgainName</code> starts with a ':' then the setting
 ///                 is stored in the global config file.
 /// </param><param> name="options" see Options
 /// </param> 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".
 ///   </remarks>        <return> 'Yes' is returned if the Yes-button is pressed. 'No' is returned
 ///           if the No-button is pressed.
 /// </return>
 ///         <short>    Display a "warning" dialog with a listbox to show information to the user </short>
 public static int WarningYesNoList(QWidget parent, string text, List<string> strlist, string caption, KGuiItem buttonYes, KGuiItem buttonNo, string dontAskAgainName, uint options)
 {
     return (int) staticInterceptor.Invoke("warningYesNoList#$?$##$$", "warningYesNoList(QWidget*, const QString&, const QStringList&, const QString&, 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(string), dontAskAgainName, typeof(uint), options);
 }
コード例 #22
0
ファイル: KToggleAction.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Defines the text (and icon, tooltip, whatsthis) that should be displayed
 ///  instead of the normal text, when the action is checked.
 ///  Note that this does <em>not</em> replace the check box in front of the
 ///  menu.  So you should not use it to replace the text "Show <foo>" with
 ///  "Hide <foo>", for example.
 ///  If hasIcon(), the icon is kept for the 'checked state', unless
 ///  <code>checkedItem</code> defines an icon explicitly. Same thing for tooltip and whatsthis.
 ///      </remarks>        <short>    Defines the text (and icon, tooltip, whatsthis) that should be displayed  instead of the normal text, when the action is checked.</short>
 public void SetCheckedState(KGuiItem checkedItem)
 {
     interceptor.Invoke("setCheckedState#", "setCheckedState(const KGuiItem&)", typeof(void), typeof(KGuiItem), checkedItem);
 }
コード例 #23
0
ファイル: KDialog.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Sets the KGuiItem directly for the button instead of using 3 methods to
 ///  set the text, tooltip and whatsthis strings. This also allows to set an
 ///  icon for the button which is otherwise not possible for the extra
 ///  buttons beside Ok, Cancel and Apply.
 /// <param> name="id" The button identifier.
 /// </param><param> name="item" The KGuiItem for the button.
 ///      </param></remarks>        <short>    Sets the KGuiItem directly for the button instead of using 3 methods to  set the text, tooltip and whatsthis strings.</short>
 public void SetButtonGuiItem(KDialog.ButtonCode id, KGuiItem item)
 {
     interceptor.Invoke("setButtonGuiItem$#", "setButtonGuiItem(KDialog::ButtonCode, const KGuiItem&)", typeof(void), typeof(KDialog.ButtonCode), id, typeof(KGuiItem), item);
 }