terminalgui
0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
widgets
utils
tgreversibleanimation.h
1
#pragma once
2
3
#include <QPropertyAnimation>
4
5
namespace
Tg
{
10
class
ReversibleAnimation
:
public
QPropertyAnimation
11
{
12
Q_OBJECT
13
14
public
:
18
explicit
ReversibleAnimation
(QObject *parent =
nullptr
);
19
25
explicit
ReversibleAnimation
(QObject *target,
const
QByteArray &property,
26
QObject *parent =
nullptr
);
27
28
private
slots:
29
void
toggleDirection();
30
31
private
:
32
void
init();
33
};
34
}
Tg::ReversibleAnimation
Small convenience class: a property animation which goes backwards after it reaches it's end,...
Definition:
tgreversibleanimation.h:11
Tg
All Terminal GUI classes (both core and widgets) are defined within the Tg namespace.
Definition:
tgcolor.h:6
Tg::ReversibleAnimation::ReversibleAnimation
ReversibleAnimation(QObject *parent=nullptr)
Constructs an empty animation with parent.
Definition:
tgreversibleanimation.cpp:4
Generated by
1.8.18