![]() |
Sayonara Player
|
#include <CoverButton.h>
The CoverButton class.
Signals | |
void | sig_rejected () |
Public Member Functions | |
CoverButton (QWidget *parent=nullptr) | |
void | set_cover_location (const Cover::Location &cl) |
Set an appropriate cover location. Afterwards a search is triggered to find the cover. More... | |
void | force_cover (const QImage &img) |
Force a cover in order to override a searched cover. This is intended if the audio file contains a cover itself. More... | |
void | force_cover (const QPixmap &img) |
Force a cover in order to override a searched cover. This is intended if the audio file contains a cover itself. More... | |
virtual void | language_changed () |
virtual void | skin_changed () |
Public Slots | |
void | refresh () |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) override |
void | showEvent (QShowEvent *e) override |
Protected Attributes | |
Settings * | _settings =nullptr |
void CoverButton::force_cover | ( | const QImage & | img | ) |
Force a cover in order to override a searched cover. This is intended if the audio file contains a cover itself.
img |
void CoverButton::force_cover | ( | const QPixmap & | img | ) |
Force a cover in order to override a searched cover. This is intended if the audio file contains a cover itself.
img |
void CoverButton::set_cover_location | ( | const Cover::Location & | cl | ) |
Set an appropriate cover location. Afterwards a search is triggered to find the cover.
cl |