Same here. My IDE auto completed to upper case as well. Never had that with anything else, so I don't think it's the IDE's fault.

On 18/08/16 4:53 PM, oislone wrote:


SelectionMode is an enum. You are constructing a new instance of that
enum with the default value (0), which corresponds to NoSelection. There
is no "current SelectionMode", because SelectionMode *is a type*.

What you *want* to do is query the selectionMode of your item view. Note
the lowercase initial 's'.

In general, methods *always start with a lower case letter* (in Qt and
PySide, anyway). Types start with upper case letters.


Yse.  I am a fool. change to selectionMode() is right return.
i use too much IDE Auto completion.
THANK YOU.

_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside

_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to