Results 1 to 2 of 2

Thread: disabling the streching of treewidget's header

  1. #1
    Join Date
    Mar 2007
    Posts
    69
    Thanks
    14
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Question disabling the streching of treewidget's header

    hi all
    i am using QT4.1 on Mac

    the idea is to disable the streching of columns treewidget's

    is it can be possible of disabling the streching of treewidget's header
    i.e header should be of fixed width


    thanks in advance

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: disabling the streching of treewidget's header

    See QHeaderView::setResizeMode(). You can access the header view QTreeView::header().
    J-P Nurmi

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.