Results 1 to 1 of 1

Thread: [Solved] Add widget into one tab in tabwidget

  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default [Solved] Add widget into one tab in tabwidget

    Hello,
    I want add my widget to one of the tabs in QTabWidget but unfortunately I can't find a way to do that.
    There is no setWidget method in tabs, so how one could achieve this?

    Best regards

    EDIT:
    Pass to "my widget" as parent widget that it should be placed inside.
    Maybe there is a better way?
    Last edited by Talei; 16th April 2010 at 23:39.

Similar Threads

  1. Add tab to tabwidget thru Designer.
    By phillip_Qt in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2010, 11:00
  2. Access the subTab Widget in Main TabWidget
    By hasnatzaidi in forum Newbie
    Replies: 1
    Last Post: 2nd September 2009, 08:21
  3. TabWidget's Tab's parent
    By alisami in forum Qt Programming
    Replies: 12
    Last Post: 31st March 2009, 13:30
  4. TabWidget
    By Salazaar in forum Newbie
    Replies: 5
    Last Post: 17th May 2007, 21:07
  5. tabWidget Question
    By phlash in forum Qt Tools
    Replies: 1
    Last Post: 28th March 2007, 10:54

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.