MMB opens in new tab

Doug Hanley hanleyman at adelphia.net
Mon Jul 29 07:52:26 BST 2002


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.

> > I was thinking we could make the new tab bar more like opera's too, i
> > find their's to be better for internet browsing.
>
> Hmm, I don't know about that, Opera uses workspace to menage its windows
> and their tabbar is just a detachable toolbar with bunch of 'toggle
> buttons' on it. But that brings another good question, does tabbed
> browsing need necessarily QTabBar like widget or should it be be done
> with an entirely different widget? IMHO,  Mozilla is the best of all
> the tabbed browsers (Skipstone was the first one that was using it,
> wasn't it?) and would go with a solution similar to theirs. The one
> thing that I'm not sure is whether placing arrow buttons is a better
> solution than scaling tabs. What do you think?

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.

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.  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.

-- Doug Hanley





More information about the kfm-devel mailing list