[Eric] howto use icons in pyqt/qtdesigner

Raoul Snyman raoul.snyman at saturnlaboratories.co.za
Sat May 7 17:22:07 BST 2011


On Sat, 7 May 2011 17:15:38 +0200, Jeroen Eitjes wrote:
> What is the best way to add icons to buttons, etc.?

In my application, I add it all to a Qt resource file, then I compile it
using pyrcc4 to a Python file, and then just use the internal resource URL,
":/icons/open.png".

-- 
Raoul Snyman, B.Tech IT (Software Engineering)
Saturn Laboratories
m: 082 550 3754
e: raoul.snyman at saturnlaboratories.co.za
w: www.saturnlaboratories.co.za
b: blog.saturnlaboratories.co.za


More information about the Eric mailing list