QWaylandShell Class

Public Types

enum FocusPolicy { AutomaticFocus, ManualFocus }

Properties

Member Type Documentation

enum QWaylandShell::FocusPolicy

This enum type is used to specify the focus policy for shell surfaces.

ConstantValueDescription
QWaylandShell::AutomaticFocus0Shell surfaces will automatically get keyboard focus when they are created.
QWaylandShell::ManualFocus1The 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()