Do you mean it animated to slowly? Adjust the setDuration() to a number smaller than 700ms. I set it a bit slow so that you can see what it does easily. Probably 250 will be better.
On Sep 28, 2012, at 10:33 PM, 张宇 <[email protected]> wrote: > Not fast but cool. I want to use it as login window. > And you are so coooool > > 2012/9/29 Justin Israel <[email protected]> >> Oh wow, I had to look really closely. You mean that small pop up dialog with >> the text edit field that animates really really fast? You can accomplish >> that with a QPropertyAnimation. You will need to be using a Qt version 4.6+ >> >> https://gist.github.com/3803172 >> >> Just animate the showEvent() INTO the current size. >> >> -- justin >> >> >> >> On Sep 28, 2012, at 5:44 PM, 张宇 wrote: >> >>> Yes, I want to know about the floating dialog, the ui is animated,how >>> to do that, can you give me a tiny example? >>> >>> Http://zhangyu.me >>> >>> 在 2012-9-29,2:33,Justin Israel <[email protected]> 写道: >>> >>>> I'm not sure I understand what part you are referring to in that >>>> video. I see a normal Maya menu drop down, and the selection brings up >>>> a normal floating dialog. What part in the video are you specifically >>>> interested in? >>>> >>>> >>>> On Fri, Sep 28, 2012 at 11:17 AM, 张宇 <[email protected]> wrote: >>>>> sorry for my mistake,here is the link http://vimeo.com/27662668 >>>>> Sunday pipeline >>>>> >>>>> Http://zhangyu.me >>>>> >>>>> 在 2012-9-29,1:54,Justin Israel <[email protected]> 写道: >>>>> >>>>> Where is the video? >>>>> >>>>> >>>>> On Fri, Sep 28, 2012 at 10:11 AM, 张宇 <[email protected]> wrote: >>>>> >>>>> here is a video shows an pipeline tool in maya, the setting window is >>>>> >>>>> slipping out from the top of maya window. >>>>> >>>>> I think it's awesome, I really want to know how to made it. >>>>> >>>>> it's created by pyqt >>>>> -- >>>>> >>>>> My Blog Maya Programing BBS >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> view archives: http://groups.google.com/group/python_inside_maya >>>>> >>>>> change your subscription settings: >>>>> http://groups.google.com/group/python_inside_maya/subscribe >>>>> >>>>> >>>>> -- >>>>> view archives: http://groups.google.com/group/python_inside_maya >>>>> change your subscription settings: >>>>> http://groups.google.com/group/python_inside_maya/subscribe >>>>> >>>>> -- >>>>> view archives: http://groups.google.com/group/python_inside_maya >>>>> change your subscription settings: >>>>> http://groups.google.com/group/python_inside_maya/subscribe >>>> >>>> -- >>>> view archives: http://groups.google.com/group/python_inside_maya >>>> change your subscription settings: >>>> http://groups.google.com/group/python_inside_maya/subscribe >>> >>> -- >>> view archives: http://groups.google.com/group/python_inside_maya >>> change your subscription settings: >>> http://groups.google.com/group/python_inside_maya/subscribe >> >> -- >> view archives: http://groups.google.com/group/python_inside_maya >> change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe > > > > -- > My Blog Maya Programing BBS > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
