[PySide] self.SelectionMode() return

oislone oislone at ois.idv.tw
Wed Aug 17 18:44:18 CEST 2016


  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()
  

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


More information about the PySide mailing list