![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Functions | |
| progressBar | setRange (0, 100) |
| timeLine | setFrameRange (0, 100) |
| connect (timeLine, &QTimeLine::frameChanged, progressBar, &QProgressBar::setValue) | |
| connect (pushButton, &QPushButton::clicked, timeLine, &QTimeLine::start) | |
Variables | |
| progressBar = new QProgressBar(this) | |
| [0] | |
| QTimeLine * | timeLine = new QTimeLine(1000, this) |
| pushButton = new QPushButton(tr("Start animation"), this) | |
| connect | ( | pushButton | , |
| &QPushButton::clicked | , | ||
| timeLine | , | ||
| &QTimeLine::start | |||
| ) |
| connect | ( | timeLine | , |
| &QTimeLine::frameChanged | , | ||
| progressBar | , | ||
| &QProgressBar::setValue | |||
| ) |
| timeLine setFrameRange | ( | 0 | , |
| 100 | |||
| ) |
| progressBar setRange | ( | 0 | , |
| 100 | |||
| ) |
| progressBar = new QProgressBar(this) |
[0]
Definition at line 6 of file src_corelib_tools_qtimeline.cpp.
Referenced by QQuickStyleItemProgressBar::connectToControl().
| pushButton = new QPushButton(tr("Start animation"), this) |
Definition at line 15 of file src_corelib_tools_qtimeline.cpp.
Definition at line 10 of file src_corelib_tools_qtimeline.cpp.