The ScrollingLabel class provides the scrolling label.
More...
#include <ScrollingLabel.h>
|
| ScrollingLabel (QWidget *parent=nullptr) |
| Construct a new Scrolling Label object.
|
|
void | setText (const QString &text) |
| setText set the text of the label
|
|
|
static constexpr const int | ANIMATION_INTERVAL = 100 |
| ANIMATION_INTERVAL the animation interval.
|
|
static constexpr const short | STEP_SHORT = 2 |
| STEP_SHORT the step short everytime the animations make the text scroll in pix level so, make it larger will speed up the roll process.
|
|
|
void | resizeEvent (QResizeEvent *) override |
| resize hooks
|
|
The ScrollingLabel class provides the scrolling label.
- Note
- this is a simple scrolling label, for text too long, it will roll the text automatically
◆ ScrollingLabel()
ScrollingLabel::ScrollingLabel |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Construct a new Scrolling Label object.
- Parameters
-
◆ setText()
void ScrollingLabel::setText |
( |
const QString & |
text | ) |
|
setText set the text of the label
- Parameters
-
The documentation for this class was generated from the following files:
- extern_app/MediaPlayer/ui/ScrollingLabel.h
- extern_app/MediaPlayer/ui/ScrollingLabel.cpp