![]() |
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... | |
| void | set_size (int hw) |
| virtual void | language_changed () |
| virtual void | skin_changed () |
| virtual void | showEvent (QShowEvent *e) override |
Public Slots | |
| void | refresh () |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *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 |
1.8.14