awesome..thanks...that's finally working. I
On Fri, Jun 19, 2015 at 9:33 PM, Kurian O.S <[email protected]> wrote:
> self.cube_btn = QtGui.QPushButton("Cube")
> btIcon = QtGui.QPixmap("{0}winPub_PUB.png".format(self.icons))
> self.cube_btn .setIcon(QtGui.QIcon(btIcon ))
>
> On Fri, Jun 19, 2015 at 9:29 PM, Todd Widup <[email protected]> wrote:
>
>> I have both Just copied paste was wrong
>>
>> Sent from my iPhone
>>
>> On Jun 19, 2015, at 9:09 PM, Kurian O.S <[email protected]> wrote:
>>
>> self.cylinder_btn.setIcon(icon) to self.cube_btn.setIcon(icon) ?
>>
>> On Fri, Jun 19, 2015 at 8:41 PM, Todd Widup <[email protected]> wrote:
>>
>>> hey guys
>>>
>>> I have been trying to create an image button, but every way I found a
>>> suggestion on how to try doesn't seem to work.
>>>
>>> self.cube_btn = QtGui.QPushButton("Cube")
>>> icon = QtGui.QIcon("{0}winPub_PUB.png".format(self.icons))
>>> self.cylinder_btn.setIcon(icon)
>>>
>>>
>>> ive tried that and I have tried setting the style sheet background-image
>>> and neither work.
>>>
>>> any suggestions?
>>>
>>> --
>>> Todd Widup
>>> Creature TD / Technical Artist
>>> [email protected]
>>> [email protected]
>>> www.toddwidup.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk36-VSG0bzWig4ap1aQyBsZEKW%2BvzWcaveHWO-oLOXxFqw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CABBPk36-VSG0bzWig4ap1aQyBsZEKW%2BvzWcaveHWO-oLOXxFqw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> --:: Kurian ::--
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhNw30Qde0%3D5vASf%3DwGgL2%3DVNn36zB_Jq7WMNgLbu5o4uA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhNw30Qde0%3D5vASf%3DwGgL2%3DVNn36zB_Jq7WMNgLbu5o4uA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/B7332091-C65E-4301-9CA9-05D8794D76FD%40gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/B7332091-C65E-4301-9CA9-05D8794D76FD%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> --:: Kurian ::--
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPpqdFmEi6oR1Bz%2BAPAASO7XfGQeae-nSB-LJyZPZg3TQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPpqdFmEi6oR1Bz%2BAPAASO7XfGQeae-nSB-LJyZPZg3TQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
Todd Widup
Creature TD / Technical Artist
[email protected]
[email protected]
www.toddwidup.com
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABBPk36rW2tNyj6CoBtyyStwU-nOnJrQmKT%3DsVc2d%2B9KR1fs%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.