Results 1 to 2 of 2

Thread: Customizing QTabWidget's title to show a dropdown.

  1. #1
    Join Date
    May 2015
    Location
    India
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Customizing QTabWidget's title to show a dropdown.

    How can I make QTabWidget's first tab to show only a drop-down (like in a menubar) and other tabs to behave normally ? Is there a possible way?
    I want it to behave just like Microsoft's File tab and how other tabs work normally other than the "File" tab.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,396
    Thanks
    247
    Thanked 690 Times in 680 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Customizing QTabWidget's title to show a dropdown.

    Maybe QTabBar::setTabButton() will do what you need.

Similar Threads

  1. customizing QGroupbox title
    By FelixB in forum Newbie
    Replies: 3
    Last Post: 7th February 2014, 15:24
  2. QTabWidget tab title left/right clearance
    By fady.seif in forum Qt Programming
    Replies: 3
    Last Post: 2nd August 2012, 14:53
  3. QTabWidget customizing
    By Nickolay in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2011, 11:04
  4. [pyqt] Customizing QTabBar in QTabWidget..
    By pyqt123 in forum Qt Programming
    Replies: 0
    Last Post: 14th December 2009, 13:13
  5. Customizing Mainwindow's title bar
    By Anitha in forum Qt Programming
    Replies: 3
    Last Post: 13th February 2006, 13:13

Tags for this Thread

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.