Seems you can only use QPropertyAnimation with drop-down style animation , am I wrong ?
I want the window to be visible from a straight line , to full size , expand in both sides.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like you want to animate widget’s size property.
As such QPropertyAnimation can be used to animate any property of widget.
For your purpose you can use geometry property of QWidget. Following code will animate geometry changes, you can modify start value and end value for effect you want.