Results 1 to 1 of 1

Thread: how to make text in QTableView autowrap.

  1. #1

    Default how to make text in QTableView autowrap.

    i use QTableView combine with QSqlQueryModel to query text data in the database. The problem is that the text is too long to display in a single line in QTableView, i need each cell to display the full text and autowrap without horizontal bar, how to do that ?
    Attached Images Attached Images

Similar Threads

  1. Make first column freezed in QTableView
    By gutiory in forum Qt Programming
    Replies: 2
    Last Post: 20th December 2010, 06:53
  2. how to make a row read-only row in QTableView
    By nageshvk in forum Qt Programming
    Replies: 3
    Last Post: 29th October 2010, 20:37
  3. Make a column read-only in a QSqlTableModel/QTableView
    By graciano in forum Qt Programming
    Replies: 0
    Last Post: 15th November 2009, 18:18
  4. How to make a QString text underlined?
    By blonde in forum Newbie
    Replies: 5
    Last Post: 29th October 2009, 08:19
  5. Replies: 1
    Last Post: 18th September 2009, 20:18

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.