here is how to make a question message box with three different buttons.
For the arguments: parent, title, question, buttons, default button. this
example is not from a softimage plugin but I hope it helps though.

msgBox = QMessageBox()
msgboxReturn = msgBox.question( self, 'Title', 'Question?', QMessageBox.Yes
| QMessageBox.Cancel | QMessageBox.Retry, QMessageBox.Yes )

cheers
vladimir

On Mon, Aug 27, 2012 at 9:10 PM, Tim Crowson <[email protected]
> wrote:

>  Right on. Still two things that need smoothing out, although they're
> strictly cosmetic:
> 1) the funky FileBrowser
> 2) the teeny tiny 'Ok' button in the 'About' dialog. I still don't know
> enough about Qt to fix that. I could use a brute force method by creating a
> new class for it, which would give me maximum control, but I'd rather just
> learn how to manipulate the built-in QMessageBox class better...
>
> -Tim
>
>
> On 8/27/2012 1:59 PM, Steven Caron wrote:
>
> thanks tim!
>
> once this is 'finished' it would be great to see it on rray.de/xsi and
> link on the github page as projects using the plugin. a great, simple
> example.
>
> s
>
> On Mon, Aug 27, 2012 at 11:55 AM, Miquel Campos 
> <[email protected]>wrote:
>
>> Thank you Tim for share your code :)
>>
>>
>> ----------------------------------------------------
>> ----------------------------------------------------
>> Miquel Campos
>> *Character & Animation TD
>> * www.akaosaru.com
>>  ----------------------------------------------------
>>  ----------------------------------------------------
>>
>>
>>
>> 2012/8/27 Tim Crowson <[email protected]>
>>
>>>  Big thanks to Ana and Steve for helping me sort through some of the
>>> trouble I was having. Much tighter stuff now. I'm attaching the latest
>>> version (1.12) for whoever is interested.
>>>
>>> *Tim Crowson
>>> **Lead CG Artist*
>>>
>>> *Magnetic Dreams Animation Studio, Inc.
>>> *2525 Lebanon Pike, Building C. Nashville, TN 37214
>>> *Ph*  615.885.6801 | *Fax*  615.889.4768 | www.magneticdreams.com
>>> [email protected]
>>>
>>
>>
>
> --
>
>
>
>



-- 
---------------------------------------
Vladimir Jankijevic
Technical Direction

Elefant Studios AG
Lessingstrasse 15
CH-8002 Zürich

+41 44 500 48 20

www.elefantstudios.ch
---------------------------------------

Reply via email to