Make it possible to support exclusive action groups
ClosedPublic

Authored by apol on Feb 27 2018, 4:18 PM.

Details

Summary

We need to find away to import 2.3 if available otherwise modelData.Controls.ActionGroup returns null.

CCBUG: 391144

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.
apol created this revision.Feb 27 2018, 4:18 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptFeb 27 2018, 4:18 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Feb 27 2018, 4:18 PM
mart added a subscriber: mart.Feb 27 2018, 4:28 PM

unfortunately this will need the cmake preprocessing hack it's used in qqc2-desktop style..
or, you could even ship 2 candidate ActionsMenu.qml and install one or the other based on cmake version check

apol updated this revision to Diff 28269.Feb 28 2018, 2:39 PM

Still support Qt 5.9

mart accepted this revision.Feb 28 2018, 2:40 PM
This revision is now accepted and ready to land.Feb 28 2018, 2:40 PM
This revision was automatically updated to reflect the committed changes.