Results 1 to 2 of 2

Thread: split a QTabWidget?

  1. #1
    Join Date
    Jul 2009
    Posts
    15
    Thanks
    1

    Default split a QTabWidget?

    Hi,

    I have a QTabwidget as a centralwidget of a QmainApplication and I would like that a button splits the activeWindow and the next tab of the widget, so I colud view the two tabs at the same time.
    It's possible to split a QTabWidget in several frames(pages) in order to view the tabs at the same time?.

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: split a QTabWidget?

    There is no built-in way to split a QTabWidget in two parts. However, you can programmatically add two QTabWidgets next to each other and move pages between the two as you want.
    J-P Nurmi

Similar Threads

  1. Segment fault using a Qt plugin with QTabWidget
    By tarod in forum Qt Programming
    Replies: 2
    Last Post: 14th July 2009, 10:27
  2. QTabWidget transparent background problem
    By destroyar0 in forum Qt Programming
    Replies: 10
    Last Post: 25th June 2009, 12:19
  3. Changing the background of QTabWidget
    By ike in forum Qt Tools
    Replies: 2
    Last Post: 7th November 2008, 13:43
  4. How do I add new tab to QTabWidget
    By pcmantinker in forum Qt Programming
    Replies: 2
    Last Post: 6th June 2008, 04:24
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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.