Skip to content

QWidget::setFocus() #661

Description

@ruslang02

Is your feature request related to a problem? Please describe.
There is a need to programmatically set focus on a text field after a user presses a button.

Describe the solution you'd like
QWidget::setFocus should be implemented.

Describe alternatives you've considered
Neither QLineEdit::show, nor QLineEdit::raise, nor QLineEdit::activateWindow, nor QLineEdit.setProperty('focus', FocusReason.OtherFocusReason) work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions