Results 1 to 8 of 8

Thread: Changing names of QTabWidget tabs

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jun 2009
    Location
    Kraków, Poland
    Posts
    23
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Changing names of QTabWidget tabs

    Got same situation and that's what I exactly did. Also, in mousePressEvent I'm hiding QLineEdit if it's visible in order to avoid situation when tabRect() of the tab being currently edited changes (could also update QLineEdit's geometry, but prefer to do it in that way). One unsolved problem still exists - when tool buttons responsible for rewinding tabs are visible - clicking them WON'T change QLineEdit position nor hide it - and I can't find a way to do that, because those buttons are part of QTabBarPrivate, which's inaccessible for me (can't catch any event, signal or whatever). (Put briefly: when rewinding tabs, QLineEdit remains visible, in wrong position and covers other tabs; It should disappear.)
    Any ideas how to avoid it?
    Last edited by Fenix Voltres; 20th February 2010 at 00:46.

Similar Threads

  1. QTabWidget with same tabs
    By Djony in forum Qt Programming
    Replies: 20
    Last Post: 24th December 2011, 12:20
  2. Delayed Rendering of QTabWidget Tabs
    By mclark in forum Qt Tools
    Replies: 13
    Last Post: 14th May 2007, 22:53
  3. Changing QTabWidget's tabs color
    By troorl_ua in forum Qt Programming
    Replies: 1
    Last Post: 14th May 2007, 21:49
  4. Switching off all tabs in QTabWidget
    By Gopala Krishna in forum Qt Programming
    Replies: 7
    Last Post: 30th August 2006, 17:10
  5. changing the size of the tab width: QTabWidget
    By nikita in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2006, 08:31

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
  •  
Qt is a trademark of The Qt Company.