• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Kimono.KGuiItem类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Kimono.KGuiItem的典型用法代码示例。如果您正苦于以下问题:C# KGuiItem类的具体用法?C# KGuiItem怎么用?C# KGuiItem使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



KGuiItem类属于Kimono命名空间,在下文中一共展示了KGuiItem类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:8,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:32,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例6: KGuiItem

 public KGuiItem(KGuiItem rhs)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KGuiItem#", "KGuiItem(const KGuiItem&)", typeof(void), typeof(KGuiItem), rhs);
 }
开发者ID:KDE,项目名称:kimono,代码行数:6,代码来源:KGuiItem.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例16: QuestionYesNo

 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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:4,代码来源:KMessageBox.cs


示例17: SetCheckedState

 /// <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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:13,代码来源:KToggleAction.cs


示例18: SetButtonGuiItem

 /// <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);
 }
开发者ID:KDE,项目名称:kimono,代码行数:12,代码来源:KDialog.cs



注:本文中的Kimono.KGuiItem类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Kimono.KUrl类代码示例发布时间:2022-05-26
下一篇:
C# StaticObjects.StaticObject类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap