Popular recipes by Miguel Turner http://code.activestate.com/recipes/users/4176460/2011-01-09T02:02:30-08:00ActiveState Code RecipesConvert PyQt properties to Python properties (Python)
2011-01-09T02:02:30-08:00Miguel Turnerhttp://code.activestate.com/recipes/users/4176460/http://code.activestate.com/recipes/577539-convert-pyqt-properties-to-python-properties/
<p style="color: grey">
Python
recipe 577539
by <a href="/recipes/users/4176460/">Miguel Turner</a>
(<a href="/recipes/tags/property/">property</a>, <a href="/recipes/tags/pyqt/">pyqt</a>, <a href="/recipes/tags/pyside/">pyside</a>, <a href="/recipes/tags/python/">python</a>).
Revision 2.
</p>
<p>This recipe will find all attributes created as meta-object properties in Qt and will create a Python property of the same name for each of them. This is a quick way of providing some of the functionality suggested by <a href="http://www.pyside.org/docs/pseps/psep-0102.html">PSEP 102</a>, which I sincerely hope will be accepted, as it will make PySide considerably more pythonic.</p>