TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include <miniblink.h>
Public Slots | |
void | stop () |
void | back () |
void | forward () |
void | reload () |
Signals | |
void | loadFinished (bool ok) |
Public Member Functions | |
Miniblink (QWidget *parent=nullptr) | |
~Miniblink () | |
void | load (const QString &url) |
void | setHtml (const QString &html) |
void | setUrl (const QString &url) |
QString | url () const |
void | finish (bool ok) |
Static Public Member Functions | |
static bool | initialize () |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) overridefinal |
Private Attributes | |
wke::CWebView * | m_webView |
Static Private Attributes | |
static int | m_ref = 0 |
Definition at line 28 of file miniblink.h.
|
explicit |
Definition at line 18 of file miniblink.cpp.
References m_webView, onLoadingFinish(), and WKE_WINDOW_TYPE_CONTROL.
Miniblink::~Miniblink | ( | ) |
Definition at line 26 of file miniblink.cpp.
|
slot |
Definition at line 87 of file miniblink.cpp.
References m_webView.
void Miniblink::finish | ( | bool | ok | ) |
Definition at line 77 of file miniblink.cpp.
References loadFinished().
|
slot |
Definition at line 95 of file miniblink.cpp.
References m_webView.
|
static |
Definition at line 36 of file miniblink.cpp.
References TTK::applicationPath(), m_ref, wkeInitialize(), and wkeSetWkeDllPath().
Referenced by QKugouWindow::createWebViewer().
void Miniblink::load | ( | const QString & | url | ) |
Definition at line 57 of file miniblink.cpp.
References m_webView.
|
signal |
Referenced by finish().
|
slot |
Definition at line 103 of file miniblink.cpp.
References m_webView.
Referenced by QKugouWindow::refresh().
|
finaloverrideprotectedvirtual |
Definition at line 108 of file miniblink.cpp.
References TTKDesktopScreen::logicDotsPerInch(), and m_webView.
void Miniblink::setHtml | ( | const QString & | html | ) |
Definition at line 62 of file miniblink.cpp.
References m_webView.
void Miniblink::setUrl | ( | const QString & | url | ) |
Definition at line 67 of file miniblink.cpp.
References m_webView.
Referenced by QKugouWindow::setUrl().
|
slot |
Definition at line 82 of file miniblink.cpp.
References m_webView.
QString Miniblink::url | ( | ) | const |
Definition at line 72 of file miniblink.cpp.
References m_webView.
|
staticprivate |
Definition at line 58 of file miniblink.h.
Referenced by initialize(), and ~Miniblink().
|
private |
Definition at line 59 of file miniblink.h.
Referenced by back(), forward(), load(), Miniblink(), QKugouWindow::refresh(), reload(), resizeEvent(), setHtml(), setUrl(), QKugouWindow::setUrl(), stop(), url(), and ~Miniblink().