On Monday 29 July 2002 02:52, Doug Hanley wrote: > On Sunday 28 July 2002 06:39 pm, Zack Rusin wrote: > > On Sunday 28 July 2002 18:18, Doug Hanley wrote: > > > Would you be willing to put some time into that? > > > > I'd love to! Using QTabBar is hardly any fun, since no matter what > > we do it's still going to be a hack. > > Yeah, I Agree. Just one thing though... before, you said that we > would create a new tab bar that doesn't inherit QTabBar. The problem > with that is becuase we must use the function QTabWidget::setTabBar( > QTabBar * ) it has to inherit QTabBar. Now, that raised another > problem, even if we reimplement all the functions, we still can't > access the private variables, so we would have to make new variables > for our own use (although they would be very similar to the existing > ones). That would result in a slight waste of memory, but its very > marginal and there is only one of these objects per window at most. Well, I though about writing our QTabWidget, it's not exactly a=20 complicated widget, it only places the tabbar somewhere in the window.=20 I have to say I don't really like the idea of inheriting QTabBar, what=20 we'll have is a widget that 'behaves-like' QTabBar but not 'IS-A'=20 QTabBar, meaning we don't really have a valid ground to be inheriting=20 from QTabBar, especially that in this or other way we have to replace=20 basically _all_ methods in QTabBar in order to prevent it from calling=20 private updateArrowButtons. Not only that we will still get messed up=20 behavior from tooltips - the class handling tooltips in tabbar is=20 internal to it and their placement could be all wrong if we decide to=20 remove the arrow buttons. > Hmm... You know what, I've always found those arrow things kind of > annoying anyway. I think we should adopt mozilla's policy and scale > the tabs. Its much more usable in my opinion. Yes, I like this behavior more too, but it will cause problems if we=20 inherit from QTabBar. > So, do you want to just start with qtabbar.h and qtabbar.cpp and > adjust from there? I think maybe i'll start some work on that now.=20 Let's divide, one of us takes TabBar the other TabWidget and we'll=20 connect. > One problem though, I'll be gone for about 3 weeks starting tuesday > (I'm seeing going to see The Who in NYC, woohoo!), so I probably wont > have much time to work on this then. After that though, I'm ready as > I'll ever be. Oh, cool, email me privately when you'll come to NYC. I lived there for=20 a long time, now I live in Phily but come to NYC every two weeks or so,=20 to see my friends. Maybe we could meet. Zack =2D-=20 Give me ambiguity or give me something else.