I am having a grid which inherits the QTableView with my Custom model set for view. I have also created the delegates for editing items in table cell. they all work fine (as per my requirement at least).
but my problem is , when the user click inside the cell, and if the delegate for that item is let's say QTextEdit (which can handle richtext) and user paste some text(which is copied from MSWORD with style information with text) in texteditbox. at this moment it shows text correctly(means bold,italics,font size etc) as long as the delegate is there, but after the data is set to model and view is updated, the default view does not show the style info. it shows plain HTML text (if i set model data when delegate's slot dataChanged is called and i get html from delegate).
I want tableview's default view to handle the HTML and display the text according to its style.
Anyone has any idea how to handle that? Thanks in advance! I am using QT Version 4.1.4 (i know its old, but its project demand)