Add optional subtitle to grid delegate

Authored by ngraham on Dec 14 2019, 5:37 PM.

Description

Add optional subtitle to grid delegate

Summary:
In various cases, we may want some or all grid delegates to have a subtitle. This patch
adds such a capability. In order to make room, the vertical spacing between rows is
slightly increased.

Test Plan:
Apply D25785 and add subtitle: model.followsSystemColors ? i18n("Follows color scheme") : undef to the gridDelegate:

Reviewers: VDG, Plasma, davidedmundson, ndavis

Reviewed By: VDG

Subscribers: ndavis, filipf, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D25999

Details

Committed
ngrahamDec 15 2019, 1:29 PM
Reviewer
VDG
Differential Revision
D25999: Add optional subtitle to grid delegate
Parents
R296:f5ca7a470ac6: document colorbutton with an example
Branches
Unknown
Tags
Unknown