[PyQt] QIcon missing attributes
Flc Flc
flc at freemail.hu
Fri May 7 19:00:35 BST 2010
Hi,
The class reference page of the QIcon class says it has methods like fromTheme ( http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qicon.html#fromTheme )
or themeName but they are not seem to be available:
>>> from PyQt4.QtGui import QIcon
>>> QIcon.setTheme
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'QIcon' has no attribute 'setTheme'
I think the question is obvious.
Or am I missing something?
Python version: 2.6.5
PyQt version: 4.7.3
regards
Zoltan
More information about the PyQt
mailing list