Unsolved animation in qt
-
i want design page with animation how to add and use anumation in qt
-
If you're using QtWidgets: https://doc.qt.io/qt-5/animation-overview.html
If QML: https://doc.qt.io/qt-5/qtquick-statesanimations-animations.html
-
@sierdzio thank you sir
-
Hi
What kind of animations ?
move buttons etc ?
or bigger things ?
QML is very suited for this but if app is already widgets , might not be
the best solution. -
@nrjj i want lot of anmations like widget close and new widget come from back side ,please explain mrjj
-
@Rameshguru Take a look at what @sierdzio suggested
-
@sierdzio sir
QPropertyAnimation *animation = new QPropertyAnimation(ui->pushButton, "geometry") here geometry is property like wise how many property is ther in qt
-
@Rameshguru said in animation in qt:
@sierdzio sir
QPropertyAnimation *animation = new QPropertyAnimation(ui->pushButton, "geometry") here geometry is property like wise how many property is ther in qt
Thousands.
Check the documentation: Qt lists all properties grouped neatly together, for every class that has them. See here, for example, the properties of QWidget.