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
    520
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 77 Times in 75 Posts

    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
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    8

    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, 05:57
  2. Replies: 1
    Last Post: 5th September 2013, 17:33
  3. Qt Widgets appearing small on Main Window
    By souvikkar.kar in forum Newbie
    Replies: 13
    Last Post: 12th September 2012, 09:11
  4. Replies: 11
    Last Post: 11th August 2008, 10:14
  5. Replies: 15
    Last Post: 23rd March 2007, 17: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
  •  
Qt is a trademark of The Qt Company.