Results 1 to 4 of 4

Thread: Increasing the width of a row in a TreeView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    13
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Increasing the height of a row in a TreeView

    I am using Qt 4.1's QTreeView. I don't want the text to ellide and hence want to increase the row height based on the text.

    In order to do this i am implementing the sizeHint() of QAbstractItemDelgate(), but in this function option.rect.width() return 0. Why is this so?
    Last edited by Shambhavi; 7th January 2006 at 06:14. Reason: Title is wrong!!

Similar Threads

  1. Increasing the Width of grid lines in qtable
    By raghvendramisra in forum Qt Programming
    Replies: 5
    Last Post: 29th August 2008, 16:19
  2. How to obtain the width of a QTableWidget?
    By Giel Peters in forum Qt Programming
    Replies: 3
    Last Post: 9th January 2006, 22:34

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.