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

Checkable QGroupBox doesn't keep "enabled" status of children

    XMLWordPrintable

Details

    • 1748dc3e2d2367f9f01666212a22e6b1dde5dc89 (qt/qtbase/5.15)

    Description

      If we change (in code) the "enabled" status for some direct child of the checkable groupbox:

      ui.checkBox->setEnabled(true)

      then this child will be enabled on program load, though parent groupbox is unchecked and its other children are disabled.
      But if we nest this child checkBox into, for example, another groupbox inside of ours checkable (i.e. make it indirect child), and try to enable it in code, it will be disabled on program load.
      I think we should get the disabled child on program load in both cases - at least this is the behaviour I expected.

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            slackwarwick Mikhael Lantsuzskiy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes