<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hello,<br>I'm trying to figure out how embed a pushButton (with iconic image <br>preferrably) in the first column of a TableView (or TreeView in<br>QSortFilterProxyModel). This is something that is pretty easy to do<br>in MEL (Maya's command language) but apparently seems pretty<br>tricky to do in PyQt. I've searched high and low and can't find any<br>examples of, or posts discussing, using such a technique. Is this<br>possible? and if so, I would greatly appreciate any light someone<br>could shed on this...<br><br>Simply put,...in a table- or treeView..<br><br> 1 2
3 etc<br>1 iconButton1 text text<br>2 iconButton2 text text<br>3 iconButton3 text text<br>etc<br><br>...where each iconButton is unique and associated with its<br>accompanying data. Each row represents a unique record,<br>so icon1 (when clicked) initiates an action using data from record1,<br>and so on,etc. Essentially, the image in each icon is a picture<br>representation of the data in each associated record.<br><br>Any help or info is most greatly
appreciated,<br>Cheers,<br>Coleslaw<br><br></td></tr></table><br>