TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TTKModule
TTKWidget
musicCoreKits
musictoastlabel.cpp
Go to the documentation of this file.
1
#include "
musictoastlabel.h
"
2
#include "
musicapplication.h
"
3
4
MusicToastLabel::MusicToastLabel
(QWidget *parent)
5
:
TTKToastLabel
(parent)
6
{
7
8
}
9
10
MusicToastLabel::MusicToastLabel
(
const
QString &text, QWidget *parent)
11
:
TTKToastLabel
(text, parent)
12
{
13
14
}
15
16
void
MusicToastLabel::popup
(
const
QString &text)
17
{
18
TTKToastLabel
*label =
new
MusicToastLabel
(
MusicApplication::instance
());
19
label->
setText
(text);
20
label->
popup
();
21
}
TTKToastLabel::popup
void popup(QWidget *parent=nullptr)
Definition:
ttktoastlabel.cpp:51
MusicApplication::instance
static MusicApplication * instance()
Definition:
musicapplication.cpp:108
TTKToastLabel::setText
void setText(const QString &text)
Definition:
ttktoastlabel.cpp:66
MusicToastLabel::MusicToastLabel
MusicToastLabel(QWidget *parent=nullptr)
Definition:
musictoastlabel.cpp:4
musicapplication.h
MusicToastLabel::popup
static void popup(const QString &text)
Definition:
musictoastlabel.cpp:16
TTKToastLabel
The class of the toast widget.
Definition:
ttktoastlabel.h:29
musictoastlabel.h
Generated on Tue Jan 21 2025 21:07:13 for TTKMusicPlayer by
1.8.8