Review Request 113685: New KColorSchemeManager to support changing color scheme in app
Martin Gräßlin
mgraesslin at kde.org
Mon Nov 18 07:24:24 UTC 2013
> On Nov. 15, 2013, 8:42 p.m., Kevin Ottens wrote:
> > tier3/kconfigwidgets/src/kcolorschememanager.cpp, line 124
> > <http://git.reviewboard.kde.org/r/113685/diff/3/?file=213999#file213999line124>
> >
> > Would make sense to change the lambda so that you'd pass 16 and 24 instead. It feels kinda weird otherwise. :-)
> >
> > You can still do (size / 2) - 1 in the lambda to prepare for the fillRect calls.
>
> Albert Astals Cid wrote:
> What about the color palettes vs theme colors issue?
There is no issue at all about color palettes vs theme colors. It's just the color schemes it operates on.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113685/#review43755
-----------------------------------------------------------
On Nov. 14, 2013, 6:50 a.m., Martin Gräßlin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113685/
> -----------------------------------------------------------
>
> (Updated Nov. 14, 2013, 6:50 a.m.)
>
>
> Review request for KDE Frameworks, Albert Astals Cid, Gilles Caulier, and Boudewijn Rempt.
>
>
> Repository: kdelibs
>
>
> Description
> -------
>
> This class is inspired by functionality offered by e.g. Krita and
> Digikam to allow the user to select a different color scheme for the
> application.
>
> This manager simplifies this task and also ensures that the required
> property on QApplication is set, so that a QStyle can pass the scheme
> to the window manager/compositor for the windows of the application.
>
> @boud and @cgilles: please have a look whether this approach is sufficient for your usecases in digkam and Krita.
>
>
> Diffs
> -----
>
> tier3/kconfigwidgets/tests/kcolorschemedemo.cpp PRE-CREATION
> tier3/kconfigwidgets/src/CMakeLists.txt 36ffca8
> tier3/kconfigwidgets/src/kcolorschememanager.h PRE-CREATION
> tier3/kconfigwidgets/src/kcolorschememanager.cpp PRE-CREATION
> tier3/kconfigwidgets/src/kcolorschememanager_p.h PRE-CREATION
> tier3/kconfigwidgets/tests/CMakeLists.txt f66dc32
>
> Diff: http://git.reviewboard.kde.org/r/113685/diff/
>
>
> Testing
> -------
>
> see demo application
>
>
> Thanks,
>
> Martin Gräßlin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131118/418067aa/attachment.html>
More information about the Kde-frameworks-devel
mailing list