Sayonara Player
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GUI_CoverEdit Class Reference

The GUI_CoverEdit class. More...

#include <GUI_CoverEdit.h>

Inheritance diagram for GUI_CoverEdit:
Gui::Widget Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent

Signals

void sigShown ()
 
void sigClosed ()
 

Public Member Functions

 GUI_CoverEdit (GUI_TagEdit *parent)
 GUI_CoverEdit. More...
 
void reset ()
 Shows the current cover (if there) and offers to replace it Every other widget is hidden.
 
void refreshCurrentTrack ()
 refetches the track from the tag editor and sets the cover to the left button
 
void setCurrentIndex (int index)
 sets the current index for a track which is currently processed More...
 
QPixmap selectedCover (int index) const
 returns the new cover for a current track. More...
 
Dialog * boxIntoDialog ()
 

Protected Member Functions

void languageChanged () override
 
virtual void showEvent (QShowEvent *e) override
 
virtual void closeEvent (QCloseEvent *e) override
 
virtual void skinChanged ()
 

Protected Attributes

Dialog * mBoxedDialog =nullptr
 

Detailed Description

The GUI_CoverEdit class.

Constructor & Destructor Documentation

◆ GUI_CoverEdit()

GUI_CoverEdit::GUI_CoverEdit ( GUI_TagEdit parent)
explicit

GUI_CoverEdit.

Parameters
editorThe same tag editor as used in GUI_TagEdit
parent

Member Function Documentation

◆ selectedCover()

QPixmap GUI_CoverEdit::selectedCover ( int  index) const

returns the new cover for a current track.

Parameters
index
Returns
empty pixmap if index is invalid, or no new cover is desired a track

◆ setCurrentIndex()

void GUI_CoverEdit::setCurrentIndex ( int  index)

sets the current index for a track which is currently processed

Parameters
index