77 const int count = item.
m_count.toInt(&ok);
97 connect(cover, SIGNAL(downloadRawDataChanged(QByteArray)), SLOT(
downloadFinished(QByteArray)));
171 connect(req, SIGNAL(downloadRawDataChanged(QByteArray)), SLOT(
downloadFinished(QByteArray)));
205 QLabel::enterEvent(event);
213 QLabel::leaveEvent(event);
251 connect(req, SIGNAL(downloadRawDataChanged(QByteArray)), SLOT(
downloadFinished(QByteArray)));
265 pix.loadFromData(bytes);
281 setAlignment(Qt::AlignCenter);
static const QString ColorStyle06
#define QtEnterEvent
Event enter.
The class of the search result data item.
static const QString BorderStyle01
border
static constexpr const char * TinyBtnPlaylist
MusicTextQueryItemWidget(QWidget *parent=nullptr)
static bool isCoverValid(const QString &url) noexcept
MusicResultDataItem m_itemData
virtual void startToRequest(const QString &url)=0
static constexpr int WIDTH_LABEL_SIZE
static const QString PushButtonStyle01
PushButton.
void setResultDataItem(const MusicResultDataItem &item)
The class of the label widget that can click.
static const QString FontStyle01
Font.
static const QString BackgroundStyle04
static constexpr int HEIGHT_LABEL_SIZE
static const QString ColorStyle02
The class of the cover source data download request.
static const QString FontStyle05
void setInputData(const QByteArray &data, const QSize &size)
The class of the image render thread.
static const QString ColorStyle03
The class of the cover data download request.
#define TTK_ERROR_STREAM(msg)
void currentItemClicked(const MusicResultDataItem &item)