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

Signals

void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_DirectoryWidget (QWidget *parent=nullptr)
 
QFrame * header_frame () const
 
Dialog * box_into_dialog ()
 
void info_dialog_closed ()
 this function should not be called from outside. This function is triggered when the info dialog was closed.
 

Protected Types

enum  EditTab {
  TabText,
  TabCover,
  TabTagsFromPath
}
 

Protected Member Functions

MD::Interpretation 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 info_dialog_data () const override
 get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More...
 
void language_changed () override
 
void skin_changed () override
 
virtual void showEvent (QShowEvent *e)
 
virtual void closeEvent (QCloseEvent *e)
 
virtual void show_info ()
 Show the Info dialogs' info tab.
 
virtual void show_lyrics ()
 Show the Info dialogs' lyrics tab.
 
virtual void show_edit ()
 Show the tag editor.
 

Protected Attributes

Dialog * _boxed_dialog =nullptr
 

Member Function Documentation

◆ info_dialog_data()

MetaDataList GUI_DirectoryWidget::info_dialog_data ( ) 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.

◆ metadata_interpretation()

MD::Interpretation GUI_DirectoryWidget::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:
Gui::Widget InfoDialogContainer Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent