enlightened_j
11th August 2010, 02:56
Hi all,
Reading the post <HTML and QStandardItem ? (http://www.qtcentre.org/threads/22863-HTML-and-QStandardItem)>, a question came across my mind:
Is it possible to use QGraphicsWebView as items inside QListView? So instead of static HTML text being displayed, I have a specified number of mini-browser window in a QListView.
My first thought was to simply replace QTextDocument with QGraphicsWebView in the paint function of the delegate, but then I am not sure how to actually draw the QGraphicsWebView. Please let me know which area I should look into if I would like to implement this. Thanks.
Reading the post <HTML and QStandardItem ? (http://www.qtcentre.org/threads/22863-HTML-and-QStandardItem)>, a question came across my mind:
Is it possible to use QGraphicsWebView as items inside QListView? So instead of static HTML text being displayed, I have a specified number of mini-browser window in a QListView.
My first thought was to simply replace QTextDocument with QGraphicsWebView in the paint function of the delegate, but then I am not sure how to actually draw the QGraphicsWebView. Please let me know which area I should look into if I would like to implement this. Thanks.