示例#1
0
 /// <remarks>
 ///  \overload
 ///  Creates a key chooser without a starting action collection.
 /// <param> name="parent" parent widget
 /// </param><param> name="actionTypes" types of actions to display in this widget.
 /// </param><param> name="allowLetterShortcuts" set to LetterShortcutsDisallowed if unmodified alphanumeric
 ///   keys ('A', '1', etc.) are not permissible shortcuts.
 /// 	 </param></remarks>        <short>    \overload </short>
 public KShortcutsEditor(QWidget parent, uint actionTypes, KShortcutsEditor.LetterShortcuts allowLetterShortcuts)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KShortcutsEditor#$$", "KShortcutsEditor(QWidget*, KShortcutsEditor::ActionTypes, KShortcutsEditor::LetterShortcuts)", typeof(void), typeof(QWidget), parent, typeof(uint), actionTypes, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts);
 }
示例#2
0
 public static int Configure(KActionCollection collection, KShortcutsEditor.LetterShortcuts allowLetterShortcuts)
 {
     return (int) staticInterceptor.Invoke("configure#$", "configure(KActionCollection*, KShortcutsEditor::LetterShortcuts)", typeof(int), typeof(KActionCollection), collection, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts);
 }
示例#3
0
 public KShortcutsDialog(uint types, KShortcutsEditor.LetterShortcuts allowLetterShortcuts)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KShortcutsDialog$$", "KShortcutsDialog(KShortcutsEditor::ActionTypes, KShortcutsEditor::LetterShortcuts)", typeof(void), typeof(uint), types, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts);
 }
示例#4
0
 /// <remarks>
 ///  Pops up a modal dialog for configuring key settings. The new
 ///  shortcut settings will become active if the user presses OK.
 /// <param> name="collection" the KActionCollection to configure
 /// </param><param> name="allowLetterShortcuts" set to KShortcutsEditor.LetterShortcutsDisallowed if unmodified alphanumeric
 ///   keys ('A', '1', etc.) are not permissible shortcuts.
 /// </param><param> name="parent" the parent widget to attach to
 /// </param><param> name="bSaveSettings" if true, the settings will also be saved back
 ///  by calling writeSettings() on the action collections that were added.
 /// </param></remarks>        <return> Accept if the dialog was closed with OK, Reject otherwise.
 /// 	 </return>
 ///         <short>    Pops up a modal dialog for configuring key settings.</short>
 public static int Configure(KActionCollection collection, KShortcutsEditor.LetterShortcuts allowLetterShortcuts, QWidget parent, bool bSaveSettings)
 {
     return (int) staticInterceptor.Invoke("configure#$#$", "configure(KActionCollection*, KShortcutsEditor::LetterShortcuts, QWidget*, bool)", typeof(int), typeof(KActionCollection), collection, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts, typeof(QWidget), parent, typeof(bool), bSaveSettings);
 }