----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/126241/#review89137 -----------------------------------------------------------
> create a Qt *style* plugin that does nothing more than extending the native > theme/style with support for KDE's font roles/types, colour palettes and icon > themes? QWidget::style has no influence on colors, fonts, or icons (see QWidget::palette and QWidget::font; icons are determined by QIcon::themeName). QWidget::style influences appearance of frames and positioning text inside those frames. I guess what you are after is a modified OS X plugin for QPlatformTheme. - Christoph Feck On Dec. 4, 2015, 12:27 p.m., René J.V. Bertin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/126241/ > ----------------------------------------------------------- > > (Updated Dec. 4, 2015, 12:27 p.m.) > > > Review request for KDE Software on Mac OS X, KDE Frameworks and Hugo Pereira > Da Costa. > > > Repository: frameworkintegration > > > Description > ------- > > This is a split-off from RR https://git.reviewboard.kde.org/r/126198/, as > suggested there. > > The proposed change (which is a work in progress) contains a few > modifications mirroring those proposed for the KdePlatformTheme plugin, > aiming to adapt the library to Mac OS X. > > These modifications should probably be implemented by subclassing KStyle > rather than duplicating all code. > > I have been focussing on the platform theme modifications, without really > looking into the extent to which KStyle is used or potentially useful on OS > X. A separate RR should support discussion about that more easily. > > Would it for instance be possible to use KStyle to create a Qt *style* plugin > that does nothing more than extending the native theme/style with support for > KDE's font roles/types, colour palettes and icon themes? This could be > preferable for users or developers who are not interested in providing a > consistent cross-platform look (which presumable requires a platform *theme*) > and/or who do not want to depend on a theme that makes explicit use of a > private Qt API (cf. `KdeMacTheme` in the RR above). > > > Diffs > ----- > > src/kstyle/CMakeLists.txt bc26667 > src/kstyle/kstyle.mm PRE-CREATION > > Diff: https://git.reviewboard.kde.org/r/126241/diff/ > > > Testing > ------- > > Builds on OS X 10.9 with Qt 5.5.1 and frameworks 5.16.0 ; "source" > modifications are tested in the platform theme. > > > Thanks, > > René J.V. Bertin > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel