Hello,
I'm trying to figure out how embed a pushButton (with iconic image 
preferrably) in the first column of a TableView (or TreeView in
QSortFilterProxyModel).  This is something that is pretty easy to do
in MEL (Maya's command language) but apparently seems pretty
tricky to do in PyQt.  I've searched high and low and can't find any
examples of, or posts discussing, using such a technique. Is this
possible? and if so, I would greatly appreciate any light someone
could shed on this...

Simply put,...in a table- or treeView..

                1                    2              3          etc
1         iconButton1       text            text
2         iconButton2       text            text
3         iconButton3       text            text
etc

...where each iconButton is unique and associated with its
accompanying data.  Each row represents a unique record,
so icon1 (when clicked) initiates an action using data from record1,
and so on,etc. Essentially, the image in each icon is a picture
representation of the data in each associated record.

Any help or info is most greatly appreciated,
Cheers,
Coleslaw




      
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to