Have a look at the QListWidgetItem.setFlags

>>> my_item.setFlags(QtCore.Qt.NoItemFlags)

http://qt-project.org/doc/qt-5/qlistwidgetitem.html#setFlags
http://qt-project.org/doc/qt-5/qt.html#ItemFlag-enum


On 17 April 2014 07:20, Rishis3D <[email protected]> wrote:

> hi guys im doing a tools using a Qlistwidget to list selected objects...
> and i want to enable and disable functionalists for a particular items in
> tat list..
> how to achieve this in PyQt?
>
> thanks.
>
> --
> 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/d9b65935-5a66-411e-897b-bd6702bcb887%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/d9b65935-5a66-411e-897b-bd6702bcb887%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmOBhtiWc-k2Dshh74BiNYX1tbLQdspgzHe7iP%2BbGW3NMTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to