[PySide] self.SelectionMode() return

Frank Rueter | OHUfx frank at ohufx.com
Thu Aug 18 01:45:20 CEST 2016


try self.selectionMode() rather than try self.SelectionMode()
I.e. use a lower case "s".


On 18/08/16 4:44 AM, oislone wrote:
>   Tim Roberts. thank
> Sorry . i problem is
>
> self.setSelectionMode(QAbstractItemView.MultiSelection)
> x = self.SelectionMode()
> x is QAbstractItemView.SelectionMode.NoSelection
> why x not  is QAbstractItemView.SelectionMode.MultiSelection
>
> i wnat check current SelectionMode()
>   
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20160818/ba3bfb86/attachment.html>


More information about the PySide mailing list