Results 1 to 3 of 3

Thread: Tab widgets in a main window

  1. #1
    Join Date
    Nov 2015
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Tab widgets in a main window

    Hi, We are trying to place tabby widget inside a central area of the main window. Please let us know is that feasible in Qt ?

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    509
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Tab widgets in a main window

    Yes, setCentralWidget() accepts any QWidget-derived class you like.

    Ginsengelf

  3. #3
    Join Date
    Sep 2015
    Posts
    50
    Thanks
    8
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Tab widgets in a main window

    there's one already built:
    http://doc.qt.io/qt-5.5/qtabwidget.html

Similar Threads

  1. Make widgets float inside of qapplication main window
    By yapatel in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2014, 04:57
  2. Replies: 1
    Last Post: 5th September 2013, 16:33
  3. Qt Widgets appearing small on Main Window
    By souvikkar.kar in forum Newbie
    Replies: 13
    Last Post: 12th September 2012, 08:11
  4. Replies: 11
    Last Post: 11th August 2008, 09:14
  5. Replies: 15
    Last Post: 23rd March 2007, 16: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.