New KTabWidget

Maksim Orlovich mo002j at mail.rochester.edu
Wed Feb 26 21:55:14 GMT 2003


On Wed, 26 Feb 2003, Aaron J. Seigo wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 26 February 2003 11:53, Zack Rusin wrote:
> > This is simply impossible.One could make it look "kind-of" like tabs but
> > never like the actual style drawn tabs (because it's impossible to
> > derive the damn thing from QTabBar because of it's messed up drawing
> > routins). The only way to do it properly is to actually fix
> > QTabBar/QTabWidget.
> 
> fixing QTab* would be the best, but on the off chance that this simply isn't 
> posible, would it not be possible to use the QStyle primitives as QTabBar 
> does to draw styled widgets? i know that's a pain in patoot, but it would 
> mean having a tab widget that, well, looks like a tab widget. =)

No, since there are no PE_ primitives for tabs, and only a CE_ primitive
-- the difference being that the latter requires a pointer to a QTabBar.
For most widgets, you have both.






More information about the kde-core-devel mailing list