You are most welcome.

Adding to the end is easier. Instead of "insertAction", use "addAction".

toolbar.addAction(action)

I've updated the Gist with a full example.

On 22 March 2016 at 14:35, f.michal <[email protected]> wrote:

> One more thing, how to add this at the end of statusline ?
> I have no experience with Qt and blind fiddiling with parameters does
> nothing...
>
> W dniu 2016-03-22 o 15:05, Marcus Ottosson pisze:
>
> This should do it. :)
>
> - https://gist.github.com/mottosso/73b6f60de4abcc306ae0
>
> On 22 March 2016 at 12:55, Michał Frątczak <[email protected]> wrote:
>
>> Hello !
>> Does anybody have example code adding anything to statusline (that one
>> with open,save icons) ?
>> I will take any suggestions :)
>>
>> thanks
>> -michal
>>
>> PS. maya2015
>> --
>> 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/6bcd74b5-9996-4b50-835f-7fdbe724e0ca%40googlegroups.com?utm_medium=email&utm_source=footer>
>> https://groups.google.com/d/msgid/python_inside_maya/6bcd74b5-9996-4b50-835f-7fdbe724e0ca%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *Marcus Ottosson*
> [email protected]
> --
> 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/CAFRtmOCCLN-V6LitW_5C-%2BGbC1AXCUUQbKPt4QON28pkDKK7gg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCCLN-V6LitW_5C-%2BGbC1AXCUUQbKPt4QON28pkDKK7gg%40mail.gmail.com
> .
> 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/56F15823.3000109%40gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/56F15823.3000109%40gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmOCc15ixVrqPPw0g%2BRoWSG8vBa8HHmUsy_ajUM-nETsEXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to