With this code i add an image to a button, but i don't know how to get the
picture's name with code

> self.ptBn.setIcon(QtGui.QIcon(os.path.join(iconPath, 'pin.png')))

And i add a new custom property with QtDesigner, i don't know how to return
the value of this property

> self.pushButton.setProperty(_fromUtf8("state"), False)


-- 
My Blog  <http://zhangyu.me>    Maya Programing
BBS<http://maya-programing.cgget.info>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to