Phil Thompson wrote: > On Fri, 7 May 2010 20:00:35 +0200 (CEST), Flc Flc <[email protected]> wrote: >> 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 > > What version of Qt? > > Phil >
wow, how reckless I am? it was a version problem indeed. sorry for the dummy question. thx Phil! regards Zoltan _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
