[PySide] self.SelectionMode() return

oislone oislone at ois.idv.tw
Wed Aug 17 12:20:55 CEST 2016


hello all:

i use
Arch Linux
Python 3.5
PySide 1.2.4-3

write code :
-----------------------------------------
self.setSelectionMode(QAbstractItemView.MultiSelection)
print(self.SelectionMode())
--------------------------------------------

return PySide.QtGui.QAbstractItemView.SelectionMode.NoSelection

but i cau use self.selectAll()self.clearSelection()

why ?


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


More information about the PySide mailing list