Vertically stacked tabs in Konqueror?

david at davidedmundson.co.uk david at davidedmundson.co.uk
Wed Aug 26 15:44:40 BST 2009


> Is it possible somehow to stack Konqueror's tabs vertically on top of
> teach
> other, rather than having them lined up horizontally? And if so, how would
> I
> go about it?

The easy approach is to find the main tab widget and call:

tabWidget->setTabPosition(QTabWidget::West);

However that won't look like the screenshot in the link, in order to
achieve that you will need to subclass QTabBar, with code to draw tabs in
that style. (something that would be nice to keep generic and reusable).
Then you can call tabWidget->setTabWidget(yourNewTabBar)

Hope that makes sense, can go into more detail when not at work.

Dave

>
> Basically, I'm looking for a way to duplicate the functionality of
> Firefox's
> Tree Style Tab plugin
> (http://piro.sakura.ne.jp/xul/_treestyletab.html.en).
> I'm actually surprised that horizontal tabs are not more widespread, given
> that they offer a great overview over a large number of tabs, plus, if one
> is
> also able to indent/dedent and rearrange them, a very smart way of
> organizing
> tabs.
>
> Cheers,
>
> Robert
>
>






More information about the kfm-devel mailing list