ngraham created this revision. ngraham added reviewers: VDG, Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. ngraham requested review of this revision.
REVISION SUMMARY This patch creates the `ExpandableListItem`, a re-usable PlasmaComponents3 item that can be used for the views in various Plasma applet pop-ups, such as Vaults, Printers, Bluetooth, Networks, and Device Notifier. This way those applets can share more code and not have to implement this paradigm themselves in five different ways, as they currently do. All of these applets currently use slightly different visual styles. For example the network applet uses a pushbutton with no icon as its "default action" button, while other applets use icons-only toolbuttons. I tried my best to create a component that's flexible but also consistent, so various applets that adopt it will see minor visual changes as a result. Hopefully this is acceptable. Closes T12812 <https://phabricator.kde.org/T12812> TEST PLAN F8174587: vokoscreenNG-2020-03-13_10-44-43.webm <https://phabricator.kde.org/F8174587> REPOSITORY R242 Plasma Framework (Library) BRANCH ExpandableListItem (branched from master) REVISION DETAIL https://phabricator.kde.org/D28033 AFFECTED FILES src/declarativeimports/plasmacomponents3/ExpandableListItem.qml src/declarativeimports/plasmacomponents3/qmldir To: ngraham, #vdg, #plasma Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns