本文整理汇总了C#中Kimono.KGuiItem类的典型用法代码示例。如果您正苦于以下问题:C# KGuiItem类的具体用法?C# KGuiItem怎么用?C# KGuiItem使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
KGuiItem类属于Kimono命名空间,在下文中一共展示了KGuiItem类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WarningYesNoListWId
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: WarningYesNoWId
/// <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: QuestionYesNoCancel
/// <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: WarningYesNoList
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: MessageBoxWId
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: KGuiItem
public KGuiItem(KGuiItem rhs)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("KGuiItem#", "KGuiItem(const KGuiItem&)", typeof(void), typeof(KGuiItem), rhs);
}
示例7: WarningContinueCancelWId
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: MessageBox
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: WarningContinueCancel
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: WarningContinueCancelListWId
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: QuestionYesNoListWId
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: QuestionYesNoCancelWId
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: WarningYesNoCancel
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);
}
示例14: WarningYesNoCancelList
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);
}
示例15: WarningYesNoCancelWId
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);
}