|
TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the kugou window widget. More...
#include <qkugouwindow.h>
Inheritance diagram for QKugouWindow:Public Types | |
| enum | Module { None, Radio, Movie, Single } |
Public Slots | |
| void | refresh () |
Public Member Functions | |
| QKugouWindow (Module type, QWidget *parent=nullptr) | |
| void | setUrl (const QString &url) |
Private Member Functions | |
| void | createWebViewer () |
| void | createWebViewer (Module type) |
The class of the kugou window widget.
Definition at line 30 of file qkugouwindow.h.
| enum QKugouWindow::Module |
| Enumerator | |
|---|---|
| None |
KuGou none |
| Radio |
KuGou radio |
| Movie |
Kugou movie |
| Single |
KuGou single |
Definition at line 34 of file qkugouwindow.h.
|
explicit |
Object constructor.
Definition at line 50 of file qkugouwindow.cpp.
References createWebViewer(), TTK_INIT_PRIVATE, and TTK::UI::WidgetStyle01.
|
private |
Create web view widget.
Definition at line 130 of file qkugouwindow.cpp.
References Miniblink::initialize(), and TTK_D.
Referenced by createWebViewer(), and QKugouWindow().
|
private |
Create web view widget.
Definition at line 152 of file qkugouwindow.cpp.
References createWebViewer(), QKugouUrl::makeKuiSheUrl(), QKugouUrl::makeMovieRecommendUrl(), QKugouUrl::makeRadioPublicUrl(), setUrl(), and TTK_D.
|
slot |
Set web index refresh.
Definition at line 104 of file qkugouwindow.cpp.
References Miniblink::m_webView, Miniblink::reload(), TTK_D, and TTKObjectCast.
| void QKugouWindow::setUrl | ( | const QString & | url | ) |
Set current web viewer url to show.
Definition at line 77 of file qkugouwindow.cpp.
References Miniblink::m_webView, Miniblink::setUrl(), TTK_D, and TTKObjectCast.
Referenced by createWebViewer().
1.8.8