Sayonara Player
Public Member Functions | Protected Member Functions | Protected Slots | Protected Attributes | List of all members
GUI_DirectoryWidget Class Reference

Public Member Functions

 GUI_DirectoryWidget (QWidget *parent=0)
 
QComboBox * get_libchooser ()
 
void init ()
 
SayonaraDialogbox_into_dialog ()
 
void show_info ()
 Show the Info dialogs' info tab.
 
void show_lyrics ()
 Show the Info dialogs' lyrics tab.
 
void show_edit ()
 Show the tag editor.
 
void info_dialog_closed ()
 this function should not be called from outside. This function is triggered when the info dialog was closed.
 

Protected Member Functions

MD::Interpretation get_metadata_interpretation () 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 get_data_for_info_dialog () const override
 get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More...
 

Protected Slots

virtual void skin_changed ()
 

Protected Attributes

SayonaraDialog_boxed_dialog =nullptr
 
Settings_settings =nullptr
 

Member Function Documentation

◆ get_data_for_info_dialog()

MetaDataList GUI_DirectoryWidget::get_data_for_info_dialog ( ) const
overrideprotectedvirtual

get the metadata that should be used for the info dialog So for lists, the selected tracks are used here

Returns
MetaDataList

Implements InfoDialogContainer.

◆ get_metadata_interpretation()

MD::Interpretation GUI_DirectoryWidget::get_metadata_interpretation ( ) const
overrideprotectedvirtual

get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks

Returns
interpretation of metadata

Implements InfoDialogContainer.

Inheritance diagram for GUI_DirectoryWidget:
SayonaraWidget InfoDialogContainer SayonaraWidgetTemplate< QWidget > SayonaraClass