D24425: Listen to the application style changing
Kai Uwe Broulik
noreply at phabricator.kde.org
Sat Oct 5 17:18:27 BST 2019
broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
Ensures all controls resize and repaint when the widget style changes.
There's no style change signal and `QEvent::StyleChange` is only sent to `allWidgets`, so we listen for the `QStyle` instance being destroyed.
TEST PLAN
- Changed widget style in KCM, the qml controls resized (different padding in styles) and repainted (new look) properly now
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
REVISION DETAIL
https://phabricator.kde.org/D24425
AFFECTED FILES
plugin/kquickstyleitem.cpp
plugin/kquickstyleitem_p.h
To: broulik, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191005/c277199e/attachment-0001.html>
More information about the Plasma-devel
mailing list