[Gambas-user] Deletion of tabs from a TabStrip
Rob Kendrick
gambas-users at ...790...
Wed Jan 19 17:19:18 CET 2005
Rob wrote:
>
> My bad, it turns out TabStrip is based on a QTabWidget, not a
> QTabBar. QTabBar is a more similar widget to what TabStrip does,
> but seems to be deprecated or something. QTabWidget uses a
> widget (in our case, a QPanel) for each tab, and while it's
> simple enough to remove the reference to that tab, I will need
> to patch the qt component to destroy the widget and all its
> contents, and I dunno how easy that is gonna be.
Thanks for your efforts - I think it's an important ability to have in
any case, especially if you're doing tabbed document browsing like some
popular web browsers and text editors.
--
Rob Kendrick
PGP signed or encrypted mail welcome (Key ID: 3651D17A)
More information about the User
mailing list