I'm not sure I follow. It should always be a list, with one or more items
in it. So it technically always returns multiple items (0+)


On Wed, Jul 16, 2014 at 5:50 PM, Arjun Thekkummadathil <[email protected]>
wrote:

> I figured it out i was using QTreeWidget.selectedItems() but then i was
> expecting it to return multiple objects, it returns one object which is
> ideally a list
>
>
> On Wed, Jul 16, 2014 at 10:53 AM, Justin Israel <[email protected]>
> wrote:
>
>> What are you using now to get the selected items that isn't giving you
>> the full selection? Is it QTreeWidget.selectedItems()?
>>
>> What is your QTreeWidget set to for its SelectionBehavior and
>> SelectionMode? Does it already allow multi-row selection but is not
>> returning multiple rows?
>>
>>
>> On Wed, Jul 16, 2014 at 4:08 PM, Arjun Thekkummadathil <[email protected]
>> > wrote:
>>
>>> Hi
>>>    Am writing a tool which has a QTreeWidget and i need to get the
>>> selected items from the widget am only able to get one selection.
>>>
>>> How do i get multiple selected items
>>>
>>> -Arjun
>>>
>>> --
>>> 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/CAJrOGy_vrEZgYkWvdaPeH2unpMSGnBu%3DrV0Z-NBFK26gdM8N8Q%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CAJrOGy_vrEZgYkWvdaPeH2unpMSGnBu%3DrV0Z-NBFK26gdM8N8Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> 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/CAPGFgA1FosqT88q6MXi5GFzZvMocKVtCHXF2h3B4V3MjNTqztg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1FosqT88q6MXi5GFzZvMocKVtCHXF2h3B4V3MjNTqztg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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/CAJrOGy_%2BHQ_iTW2-Jt%3DyCxT24Wh-GkJs7gvUiOPsdG1PcJBfsQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAJrOGy_%2BHQ_iTW2-Jt%3DyCxT24Wh-GkJs7gvUiOPsdG1PcJBfsQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to