Results 1 to 3 of 3

Thread: show Tabbar only if there are more than 1 tabs.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,371
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: show Tabbar only if there are more than 1 tabs.

    Subclass QTabWidget (not QTabBar) and show() or hide() the tabBar() from within tabInserted() or tabRemoved().

  2. The following user says thank you to wysota for this useful post:

    momesana (23rd September 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.