QWaylandShell Class
Inherits: | QWaylandCompositorExtension |
Public Types
enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Properties
- focusPolicy : FocusPolicy
Member Type Documentation
enum QWaylandShell::FocusPolicy
This enum type is used to specify the focus policy for shell surfaces.
Constant | Value | Description |
---|---|---|
QWaylandShell::AutomaticFocus | 0 | Shell surfaces will automatically get keyboard focus when they are created. |
QWaylandShell::ManualFocus | 1 | The compositor will decide whether shell surfaces should get keyboard focus or not. |
Property Documentation
focusPolicy : FocusPolicy
This property holds the focus policy of the QWaylandShell.
Access functions:
QWaylandShell::FocusPolicy | focusPolicy() const |
void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Notifier signal:
void | focusPolicyChanged() |