Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25689

QVariant.toPyObject()

From Wolfgang Rohdewald <wolfgang@rohdewald.de>
Subject QVariant.toPyObject()
Date 2012-07-20 11:50 +0200
Newsgroups comp.lang.python
Message-ID <mailman.2342.1342777803.4697.python-list@python.org> (permalink)

Show all headers | View raw


toPyObject() is mentioned but undocumented at
http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qvariant.html#toPyObject

without it being documented, I find it a bit surprising that toPyObject()
can return a QString.

Of course QString is a python object but then QVariant is too.


-- 
Wolfgang

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

QVariant.toPyObject() Wolfgang Rohdewald <wolfgang@rohdewald.de> - 2012-07-20 11:50 +0200

csiph-web