ok, so the image shows up, but I need to control the size, only option I
have found is the scale method, which looks to need 2QtInt but its not
scaling the image.

On Sat, Jun 20, 2015 at 11:32 AM, Todd Widup <todd.wi...@gmail.com> wrote:

> awesome..thanks...that's finally working.  I
>
> On Fri, Jun 19, 2015 at 9:33 PM, Kurian O.S <kuria...@gmail.com> 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 <todd.wi...@gmail.com> wrote:
>>
>>> I have both   Just copied paste was wrong
>>>
>>> Sent from my iPhone
>>>
>>> On Jun 19, 2015, at 9:09 PM, Kurian O.S <kuria...@gmail.com> wrote:
>>>
>>> self.cylinder_btn.setIcon(icon) to self.cube_btn.setIcon(icon) ?
>>>
>>> On Fri, Jun 19, 2015 at 8:41 PM, Todd Widup <todd.wi...@gmail.com>
>>> 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
>>>> t...@toddwidup.com
>>>> todd.wi...@gmail.com
>>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>> 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
> t...@toddwidup.com
> todd.wi...@gmail.com
> www.toddwidup.com
>



-- 
Todd Widup
Creature TD / Technical Artist
t...@toddwidup.com
todd.wi...@gmail.com
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk35P4cQsauPe%3DKdE6C6funi86g5L6s1_T98NJ%2Be9wC9mWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to