Obsolete Members for KKeySequenceWidget
The following members of class KKeySequenceWidget are deprecated. We strongly advise against using them in new code.
Properties
Public Functions
- bool isModifierlessAllowed() (deprecated in 6.12)
- bool modifierOnlyAllowed() const (deprecated in 6.12)
- void setModifierOnlyAllowed(bool allow) (since 6.1) (deprecated in 6.12)
- void setModifierlessAllowed(bool allow) (deprecated in 6.12)
Obsolete Property Documentation
[deprecated in 6.12] modifierlessAllowed : bool
This property is deprecated since 6.12. We strongly advise against using it in new code.
Use the patterns property
Access functions:
boolisModifierlessAllowed()voidsetModifierlessAllowed(boolallow)
Obsolete Member Function Documentation
[deprecated in 6.12] bool KKeySequenceWidget::isModifierlessAllowed()
This function is deprecated since 6.12. We strongly advise against using it in new code.
Use patterns() instead
Returns whether "plain" keys without modifiers (like Ctrl, Alt, Meta) are allowed.
Note: Getter function for property modifierlessAllowed.
See also setModifierlessAllowed(), setModifierlessAllowed()
[deprecated in 6.12] bool KKeySequenceWidget::modifierOnlyAllowed() const
This function is deprecated since 6.12. We strongly advise against using it in new code.
Use patterns() instead
See also setModifierOnlyAllowed()
[since 6.1, deprecated in 6.12] void KKeySequenceWidget::setModifierOnlyAllowed(bool allow)
This function is deprecated since 6.12. We strongly advise against using it in new code.
Whether to allow modifier-only key sequences. Use setPatterns() instead
This function was introduced in Qt 6.1.
See also modifierOnlyAllowed()
[deprecated in 6.12] void KKeySequenceWidget::setModifierlessAllowed(bool allow)
This function is deprecated since 6.12. We strongly advise against using it in new code.
Sets whether to allow "plain" keys without modifiers (like Ctrl, Alt, Meta).
This only applies to user input, not to setKeySequence().
Plain keys by our definition include letter and symbol keys and text editing keys (Return, Space, Tab, Backspace, Delete).
"Special" keys like F1, Cursor keys, Insert, PageDown will always work.
Use setPatterns() instead
Note: Setter function for property modifierlessAllowed.
See also isModifierlessAllowed()