02-05-2013 04:38 PM
Because I open a sheet from a tabbedpane automatically when the tabbedpane is created, but it lost the default pulling animation when the sheet is showing. I want to keep this animation so that I think that I should customize a speed for sheet showing. But I have not found the way to do that.
Did someone know how to realize this feature by Cascade?
02-05-2013 04:42 PM - edited 02-05-2013 04:42 PM
Try showing it from a timer:
QTimer::singleShot(0, this, SLOT(showSheetFunc());
If that won't work try adding a delay but in that case you'll have to block user interaction with tabbedPane somehow until the Sheet is shown.
02-08-2013 04:55 PM
I think it would be confusing to the user to see a sheet animation when clicking on a tab. Implicit animations tied to layout cannot be controlled as these are meant to be universal UX paradigms that are consistent across all apps.
02-08-2013 05:40 PM
NO. You can't change the speed of Sheet but you can create own "Sheet". It could be Container with custom TitleBar etc and animate it by changing AbsoluteLayoutProperties using Animations.
effort ~1/2 manday