Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11940

QRadioButton - setFocusPolicy(Qt::NoFocus)

    XMLWordPrintable

Details

    Description

      When setFocusPolicy(Qt::NoFocus); is set on a QRadioButton, the widget still gets the click focus.

      As a workaround, you can do:
      setFocusPolicy(Qt::NoFocus);
      and
      setAttribute(Qt::WA_TransparentForMouseEvents);

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes