[PyQt] QTableView with link in table cell...

Dirk Wagener dwagen at stonethree.com
Wed Apr 16 15:56:23 BST 2008


Hi 

I want to have a QTableView with links to websites as the cell contents. 
If the user clicks on a link, the default system browser must open the link. 

How do I go about doing this? 
Returning html <a href="">bla</a> as the displayrole for the cell does not work. 

Kind regards 
Dirk 

-- 
Dirk Wagener <dwagen at stonethree.com> 
(MSc. Electronic Engineering, Stell.) 

Project Engineer 
Stone Three Venture Technology (Pty.) Ltd. 
http://www.stonethree.com 
+27 21 851 3123 (phone) 
+27 21 851 3127 (fax) 

The real trick in life is to want nothing, and to succeed in getting it. Shantaram 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080416/22402fc7/attachment.html


More information about the PyQt mailing list