Allows to mark the section as disabled even when the control itself is not, e.g. when you have a RowLayout and don't want to disable the entire row.
This was possible with a checkable section but not the plain label buddy variant.
Details
Details
- Reviewers
mart - Group Reviewers
Plasma Kirigami - Commits
- R169:1a36705f9613: [FormLayout] Propagate FormData.enabled also to label
In the following example I don't want the BusyIndicator disabled but still have the rest of the row (the label *and* its section label) disabled.
Kirigami.FormLayout { RowLayout { Kirigami.FormData.label: "Foo" Kirigami.FormData.enabled: !something.busy QQC2.CheckBox { text: "Enabled" enabled: !something.busy } QQC2.BusyIndicator { running: something.busy visible: running } } }
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.