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

Signals

void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_Controls (QWidget *parent=0)
 
QString get_shortcut_text (const QString &shortcut_identifier) const override
 
void language_changed () override
 
void skin_changed () override
 
void file_info_changed ()
 
void sr_active_changed ()
 
Dialog * box_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.
 

Public Slots

void change_volume_by_tick (int val)
 

Protected Member Functions

void resizeEvent (QResizeEvent *e) override
 
void showEvent (QShowEvent *e) override
 
void contextMenuEvent (QContextMenuEvent *e) override
 
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...
 
virtual void closeEvent (QCloseEvent *e)
 

Protected Attributes

Dialog * _boxed_dialog =nullptr
 
Settings_settings =nullptr
 

Member Function Documentation

◆ info_dialog_data()

MetaDataList GUI_Controls::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_Controls::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_Controls:
Gui::Widget ShortcutWidget InfoDialogContainer Gui::WidgetTemplate< QWidget > SayonaraClass