Sayonara Player
Loading...
Searching...
No Matches
Gui::FloatingLabel Class Reference

The FloatingLabel class. A QLabel where the text floats from left to right and vice versa so there's no need for word wrapping anymore. More...

#include <FloatingLabel.h>

Inheritance diagram for Gui::FloatingLabel:
Gui::WidgetTemplate< QLabel > Gui::WidgetTemplateParent

Public Member Functions

 FloatingLabel (QWidget *parent=nullptr)
void setFloatingText (const QString &text)
virtual void showEvent (QShowEvent *e) override

Protected Member Functions

void paintEvent (QPaintEvent *event) override
void resizeEvent (QResizeEvent *event) override
virtual void languageChanged ()
virtual void skinChanged ()

Detailed Description

The FloatingLabel class. A QLabel where the text floats from left to right and vice versa so there's no need for word wrapping anymore.