D27035: [KMessageWidget] Draw it with QPainter instead of using stylesheet
David Redondo
noreply at phabricator.kde.org
Fri Jan 31 12:33:16 GMT 2020
davidre added inline comments.
INLINE COMMENTS
> kmessagewidget.cpp:317
> + constexpr float alpha = 0.2;
> + const auto parentWidget = qobject_cast<QWidget*>(parent());
> + const QColor parentWindowColor = (parentWidget ? parentWidget->palette() : qApp->palette()).color(QPalette::Window);
I knew there was a function like that but couldn't remember its name. Thanks!
REPOSITORY
R236 KWidgetsAddons
BRANCH
no-css (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D27035
To: davidre, #frameworks, ngraham
Cc: cfeck, dhaumann, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200131/83b4ebd0/attachment.html>
More information about the Kde-frameworks-devel
mailing list