The CoverButton class.
More...
#include <CoverButton.h>
|
void | trigger () |
|
void | showDefaultPixmap () |
|
void | setPixmap (const QPixmap &pm) |
|
void | setPixmapPath (const QString &path) |
|
void | setCoverData (const QByteArray &data, const QString &mimetype) |
|
|
void | sigCoverChanged () |
|
void | sigRejected () |
|
void | sigPixmapChanged () |
|
void | sigTriggered () |
|
|
| CoverButton (QWidget *parent=nullptr) |
|
void | setCoverLocation (const Cover::Location &coverLocation) |
| Set an appropriate cover location. Afterwards a search is triggered to find the cover. More...
|
|
void | setSilent (bool silent) |
| silent results that the cover is not stored productively. The AlternativeCoverFetcher will save the cover to a temporary path which can be re- trieved by Cover::Location::alternative_path() More...
|
|
bool | isSilent () const |
|
void | setAlternativeSearchEnabled (bool b) |
|
bool | isAlternativeSearchEnabled () const |
|
virtual void | showEvent (QShowEvent *e) override |
|
QPixmap | pixmap () const |
|
int | verticalPadding () const |
|
void | setFadingEnabled (bool b) |
|
|
void | languageChanged () override |
|
void | paintEvent (QPaintEvent *e) override |
|
void | resizeEvent (QResizeEvent *e) override |
|
void | mouseMoveEvent (QMouseEvent *e) override |
|
void | mouseReleaseEvent (QMouseEvent *event) override |
|
virtual void | skinChanged () |
|
◆ languageChanged()
void Gui::CoverButton::languageChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ setCoverLocation()
void Gui::CoverButton::setCoverLocation |
( |
const Cover::Location & |
coverLocation | ) |
|
Set an appropriate cover location. Afterwards a search is triggered to find the cover.
- Parameters
-
◆ setSilent()
void Gui::CoverButton::setSilent |
( |
bool |
silent | ) |
|
silent results that the cover is not stored productively. The AlternativeCoverFetcher will save the cover to a temporary path which can be re- trieved by Cover::Location::alternative_path()
- Parameters
-