Function EditWidgetBase.canFocus

returns true if widget is focusable and visible and enabled

override bool canFocus() @property;