user2098173
user2098173

Reputation: 37

How to make fix size of QDialog after using animation of resizing Dialog?

I'm using QtAnimation using setStartValue(Rect) and setEndValue(Rect) I want to make it of fixed size after animation. How to proceed?

Upvotes: 2

Views: 287

Answers (1)

Nejat
Nejat

Reputation: 32685

If you use QPropertyAnimation, just connect it's finished() signal to some slot and set a fixed size for the dialog there.

Upvotes: 2

Related Questions