Review Request 128056: Provide a style-selection menu as in KDenlive (WIP)

René J.V. Bertin rjvbertin at
Tue Jun 14 17:20:32 UTC 2016

This is an automatically generated e-mail. To reply, visit:

(Updated June 14, 2016, 7:20 p.m.)

Review request for KDE Software on Mac OS X, KDE Frameworks and KDevelop.


no longer cancels setting a different style via the command line

Repository: kdevplatform


I filed a bug report recently that raises an issue about the QTabBar widget for the tabbed document interface  ( On OS X, that widget is rendered like the native tab bar widget that should only be used in dialogs and comparable views where the number of tabs is preferably fixed and limited. There are also other rendering issues which probably stem from presumptions KDevelop makes about the tab layout in the extensions it implements.
Qt does provide a `documentMode` which changes the look to suit use for document tabs better, but this mode doesn't work well with KDevelop's extensions either.

For lack of a better solution or workaround I would thus like to explore the idea to provide a widget style picker, like KDenlive does (presumably not without reason either). The underlying idea is that it allows users to find an style that works better for them if they feel a reason to do so. This option works regardless of whether a platform theme plugin is available.

For now the patch is a proof-of-concept and work in progress. It is still lacking a mechanism to make the style choice persistent across restarts; I think I'll need a hand in determining how to do that correctly (it should be a global setting, not a session-specific setting I think).

Diffs (updated)

  sublime/CMakeLists.txt 2144087 
  sublime/kwidgetstyleselector.h PRE-CREATION 
  sublime/kwidgetstyleselector.cpp PRE-CREATION 
  sublime/mainwindow_p.cpp 74ef494 



On OS X 10.9.5 and Linux, both with fw. (5.20.0 and) 5.22.0 and Qt 5.6.0

File Attachments

diff for kdevelopui.rc
This screenshot shows where the menu item appears with the kdevelopui.rc patch in another attachment. This KDevelop instance was running with my platform theme plugin and my OS X palette and config for the QtCurve style. Only the UI fonts change when the p


René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list