Putting text browser instances in QTableWidget is not the right thing to do here. If you need rich text (I'm assuming that's why you put QTextBrowser there), you should implement a rich text delegate for your table widget.