Sayonara Player
|
Public Slots | |
void | changeVolumeByDelta (int val) |
void | setCoverData (const QByteArray &coverData, const QString &mimeType) override |
Signals | |
void | sigShown () |
void | sigClosed () |
Public Member Functions | |
GUI_ControlsBase (PlayManager *playManager, CoverDataProvider *coverProvider, QWidget *parent=nullptr) | |
virtual void | init () |
virtual QLabel * | labSayonara () const =0 |
virtual QLabel * | labTitle () const =0 |
virtual QLabel * | labVersion () const =0 |
virtual QLabel * | labAlbum () const =0 |
virtual QLabel * | labArtist () const =0 |
virtual QLabel * | labWrittenBy () const =0 |
virtual QLabel * | labBitrate () const =0 |
virtual QLabel * | labFilesize () const =0 |
virtual QLabel * | labCopyright () const =0 |
virtual QLabel * | labCurrentTime () const =0 |
virtual QLabel * | labMaxTime () const =0 |
virtual Gui::RatingEditor * | labRating () const |
virtual QWidget * | widgetDetails () const =0 |
virtual Gui::SearchSlider * | sliProgress () const =0 |
virtual Gui::SearchSlider * | sliVolume () const =0 |
virtual QPushButton * | btnMute () const =0 |
virtual QPushButton * | btnPlay () const =0 |
virtual QPushButton * | btnRecord () const =0 |
virtual QPushButton * | btnPrevious () const =0 |
virtual QPushButton * | btnNext () const =0 |
virtual QPushButton * | btnStop () const =0 |
virtual Gui::CoverButton * | btnCover () const =0 |
virtual bool | isExternResizeAllowed () const =0 |
Dialog * | boxIntoDialog () |
Protected Types | |
enum | EditTab { TabText , TabCover , TabTagsFromPath } |
Protected Member Functions | |
bool | isActive () const override |
MD::Interpretation | metadataInterpretation () const override |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks More... | |
MetaDataList | infoDialogData () const override |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More... | |
QWidget * | getParentWidget () override |
void | resizeEvent (QResizeEvent *e) override |
void | showEvent (QShowEvent *e) override |
void | contextMenuEvent (QContextMenuEvent *e) override |
void | skinChanged () override |
virtual void | closeEvent (QCloseEvent *e) override |
virtual void | languageChanged () |
virtual bool | hasMetadata () const |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist More... | |
virtual QStringList | pathlist () const |
Returns a list of paths. This is only used if has_metadata() returns false. More... | |
virtual void | showInfo () |
Show the Info dialogs' info tab. | |
virtual void | showLyrics () |
Show the Info dialogs' lyrics tab. | |
virtual void | showEdit () |
Show the tag editor. | |
virtual void | showCoverEdit () |
Show the cover tab withing the tag editor. | |
Protected Attributes | |
Dialog * | mBoxedDialog = nullptr |
|
overrideprotectedvirtual |
Implements InfoDialogContainer.
|
protectedvirtualinherited |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
Reimplemented in Directory::TreeView, and Directory::FileListView.
|
overrideprotectedvirtual |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
Implements InfoDialogContainer.
|
overrideprotectedvirtual |
Implements CoverDataReceiver.
|
overrideprotectedvirtual |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks
Implements InfoDialogContainer.
|
protectedvirtualinherited |
Returns a list of paths. This is only used if has_metadata() returns false.
Reimplemented in Directory::TreeView, and Directory::FileListView.
|
overrideprotectedvirtual |
Reimplemented from Gui::Widget.
|
overrideprotectedvirtual |
Reimplemented from Gui::WidgetTemplateParent.