[Interest] Dynamically Resizing the height of a Row in a QTableWidget or QTableView

Michael Jackson imikejackson at gmail.com
Mon Jun 25 22:35:18 CEST 2012


Is it possible to dynamically set the row height based on the amount of text that needs to be displayed? We are trying to display some error messages in a table and some of the messages are very short (just a few words) and some of very long (lots and lots of words). Can this be done with a QTableWidget or should we move to a QTableView and custom model? Does anyone have any example code? 

Thanks
---
Mike Jackson


More information about the Interest mailing list