1 #ifndef MUSICQUERYITEMWIDGET_H
2 #define MUSICQUERYITEMWIDGET_H
35 static constexpr
int WIDTH_LABEL_SIZE = 150;
36 static constexpr
int HEIGHT_LABEL_SIZE = 200;
60 inline void setValueLabel(
bool v) noexcept { m_valueLabel->setVisible(v); }
77 void downloadFinished(
const QByteArray &bytes);
81 void renderFinished(
const QPixmap &data);
104 static constexpr
int WIDTH_LABEL_SIZE = 150;
105 static constexpr
int HEIGHT_LABEL_SIZE = 100;
133 void downloadFinished(
const QByteArray &bytes);
137 void renderFinished(
const QPixmap &data);
147 virtual void enterEvent(
QtEnterEvent *event)
override final;
148 virtual void leaveEvent(QEvent *event)
override final;
165 static constexpr
int WIDTH_LABEL_SIZE = 60;
166 static constexpr
int HEIGHT_LABEL_SIZE = 105;
194 void downloadFinished(
const QByteArray &bytes);
214 static constexpr
int WIDTH_LABEL_SIZE = 150;
215 static constexpr
int HEIGHT_LABEL_SIZE = 25;
246 #endif // MUSICQUERYITEMWIDGET_H
#define QtEnterEvent
Event enter.
#define TTK_MODULE_EXPORT
The class of the search result data item.
MusicResultDataItem m_itemData
The class of the label widget that can click.
The class of the text query item widget.
The class of the cover data download request.