|
lmms
Cross-platform music production software
|
#include <SimpleTextFloat.h>
Public Member Functions | |
| SimpleTextFloat () | |
| ~SimpleTextFloat () override=default | |
| void | setText (const QString &text) |
| void | showWithDelay (int msecBeforeDisplay, int msecDisplayTime) |
| void | showWithTimeout (int msec) |
| void | moveGlobal (QWidget *w, const QPoint &offset) |
| void | show () |
| void | hide () |
| const QObject * | source () const |
| void | setSource (const QObject *source) |
| Sets which object is currently controlling this text float. | |
Private Attributes | |
| QLabel * | m_textLabel |
| QTimer * | m_showTimer |
| QTimer * | m_hideTimer |
| const QObject * | m_source = nullptr |
| Which object is currently controlling this text float. | |
| lmms::gui::SimpleTextFloat::SimpleTextFloat | ( | ) |
|
overridedefault |
| void lmms::gui::SimpleTextFloat::hide | ( | ) |
|
inline |
|
inline |
Sets which object is currently controlling this text float.
| void lmms::gui::SimpleTextFloat::setText | ( | const QString & | text | ) |
| void lmms::gui::SimpleTextFloat::show | ( | ) |
| void lmms::gui::SimpleTextFloat::showWithDelay | ( | int | msecBeforeDisplay, |
| int | msecDisplayTime ) |
|
inline |
|
inline |
|
private |
|
private |
|
private |
Which object is currently controlling this text float.
|
private |