Toolviews toolbars (luckily) not implemented as KMultiTabBar

Kevin Funk kfunk at kde.org
Sun May 11 09:27:05 UTC 2014


On Thursday 08 May 2014 08:10:17 mk-lists at email.de wrote:
> Hi devs,
> 
> I wanted to ask you WHY you decided to implement the toolbars for the
> various tool views they way you did it.

Hey,

I think there's no easy way to answer this. Likely, the author of the current 
approach didn't know about KMultiTabBar and implemented his own widget(s).

> Kate, as well as most of other KDE applications, use a different approach -
> avoiding your custom button-like design - by employing KMultiTabBar.
> 
> In fact KDevelop is the only application I’ve found using these
> button-like-toolbars, with the NICE result that that it DOES NOT show
> overlapping toolbar items on OSX, as described e.g. originally in [1] and
> for kate also in [2].
> 
> Greets,
> Marko

FYI: The sublime module in kdevplatform (esp. Sublime::IdealButtonBarWidget) 
takes care of handling this multitab-bar functionality. So, if you want to 
check what KDevelop does differently, you'll have to search there.

> [1] https://bugs.kde.org/show_bug.cgi?id=296810
> [2] https://bugs.kde.org/show_bug.cgi?id=333049

Greets

-- 
Kevin Funk


More information about the KDevelop mailing list