terminalgui  0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
Public Member Functions | List of all members
Tg::ReversibleAnimation Class Reference

Small convenience class: a property animation which goes backwards after it reaches it's end, thus forming a "to and from" looped animation. More...

#include <tgreversibleanimation.h>

Inheritance diagram for Tg::ReversibleAnimation:
Inheritance graph
[legend]
Collaboration diagram for Tg::ReversibleAnimation:
Collaboration graph
[legend]

Public Member Functions

 ReversibleAnimation (QObject *parent=nullptr)
 Constructs an empty animation with parent.
 
 ReversibleAnimation (QObject *target, const QByteArray &property, QObject *parent=nullptr)
 Constructs an animation on a particular property of target. More...
 

Detailed Description

Small convenience class: a property animation which goes backwards after it reaches it's end, thus forming a "to and from" looped animation.

Constructor & Destructor Documentation

◆ ReversibleAnimation()

Tg::ReversibleAnimation::ReversibleAnimation ( QObject *  target,
const QByteArray &  property,
QObject *  parent = nullptr 
)
explicit

Constructs an animation on a particular property of target.

The QObject parent is here only for standard Qt parent-child hierarchy.


The documentation for this class was generated from the following files: