D28651: Load and use global animation settings

Martin Tobias Holmedahl Sandsmark noreply at phabricator.kde.org
Tue Apr 7 14:16:14 BST 2020


sandsmark created this revision.
sandsmark added a reviewer: Breeze.
sandsmark added a project: Breeze.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
sandsmark requested review of this revision.

REVISION SUMMARY
  In addition to the specific Breeze animation settings, KDE has "global" animation settings primarily used for `Qt::UIEffect`s like `Qt::UI_AnimateMenu`, `Qt::UI_AnimateCombo`, `Qt::UI_AnimateTooltip` and `Qt::UI_AnimateToolBox`.
  
  This patch ensures that Breeze use and respect those settings, which both harmonizes with other styles (if `QGuiApplication::desktopSettingsAware()` is true).

TEST PLAN
  Turn animations on and off in kdeglobals, and see animations turn off and on when using Breeze.
  
  Also makes https://phabricator.kde.org/D17732 work properly with breeze.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D28651

AFFECTED FILES
  kstyle/breezestyle.cpp

To: sandsmark, #breeze
Cc: plasma-devel, #breeze, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, trickyricky26, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200407/9532dc86/attachment.html>


More information about the Plasma-devel mailing list