Widget.setReceivesDefault

void setReceivesDefault(bool receivesDefault)

Specifies whether widget will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

Parameters

receivesDefaultwhether or not widget can be a default widget.