Results 1 to 8 of 8

Thread: Switching off all tabs in QTabWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Switching off all tabs in QTabWidget

    Hi Jacek,
    Thats why I had to come with custom code.
    But anyway , can't all tabs be made to be inactive even in QTabBar ?

    Is any improvements ,about this, going on in Qt4.2 ?
    Last edited by Gopala Krishna; 30th August 2006 at 14:57.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Switching off all tabs in QTabWidget

    Quote Originally Posted by Gopala Krishna
    can't all tabs be made to be inactive even in QTabBar ?
    Unfortunately not, it always has one of the tabs active.

    Actually you are after a bit different widget --- something like KMdiDockContainer.

  3. #3
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Switching off all tabs in QTabWidget

    Thanks for your reply.

    Actually you are after a bit different widget --- something like KMdiDockContainer.
    But unfortunately I am only after Qt only solution.

  4. #4
    Join Date
    Jan 2006
    Posts
    371
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Switching off all tabs in QTabWidget

    1. you can look for the QStackedWidget and hide it on demand. See the assistant code for some details (look to the tab widget implementation in that application)
    2. ideality -> http://www.qtcentre.org/forum/f-qt-s...rary-3286.html

Similar Threads

  1. Replies: 2
    Last Post: 23rd July 2012, 08:42
  2. Dynamically adding tabs
    By larry104 in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2006, 20:27
  3. Removing Tabs
    By NewGuy in forum Qt Programming
    Replies: 6
    Last Post: 22nd July 2006, 22:46
  4. Corner widget in QTabWidget doesn't show up
    By ePharaoh in forum Qt Programming
    Replies: 2
    Last Post: 6th April 2006, 17:02
  5. Qt's optimized OpenGL context switching
    By sverhoff in forum Qt Programming
    Replies: 0
    Last Post: 28th March 2006, 16:40

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.