Maybe olheiros could share his code for a full example. Did you implement the methods described in the previous thread, and then call openPersistentEditor() on the cells in your column?
On Tue, Feb 18, 2014 at 9:23 AM, Geoff Harvey <[email protected]> wrote: > This is actually kind of a follow-up to olheiros' question about item > delegates. > > I'm using a QTreeView to display a QAbstractItemModel with (for now) two > columns, the first of which is editable. > > I'd like to *always* display the first column as a QLineEdit, but I can't > figure out how to use a QStyledItemDelegate to do so. > > Any pointers? I haven't been able to abstract the correct methods from the > stuff I've found online; could be my google-fu is not very strong. > > Thanks a bunch, > > hoaf > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAH5d3sDrj8XL%3Dm_ccMCdZU4m%3Dpk-YCcUaCF_dny8B%3Dxf4-J6TQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA148Yz0p9v4D8k%2BmL%2BgJnRM2O613Q1NNt6vDzoyt%2BDNhg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
