Sayonara Player
Public Slots | Signals | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
GUI_ControlsNew Class Reference
Inheritance diagram for GUI_ControlsNew:
GUI_ControlsBase Gui::Widget InfoDialogContainer Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent

Public Slots

void change_volume_by_tick (int val)
 

Signals

void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_ControlsNew (QWidget *parent=nullptr)
 
QLabel * lab_sayonara () const override
 
QLabel * lab_title () const override
 
QLabel * lab_version () const override
 
QLabel * lab_album () const override
 
QLabel * lab_artist () const override
 
QLabel * lab_writtenby () const override
 
QLabel * lab_bitrate () const override
 
QLabel * lab_filesize () const override
 
QLabel * lab_copyright () const override
 
QLabel * lab_current_time () const override
 
QLabel * lab_max_time () const override
 
QWidget * widget_details () const override
 
Gui::RatingLabellab_rating () const override
 
Gui::SearchSlidersli_progress () const override
 
Gui::SearchSlidersli_volume () const override
 
QPushButton * btn_mute () const override
 
QPushButton * btn_play () const override
 
QPushButton * btn_rec () const override
 
QPushButton * btn_bwd () const override
 
QPushButton * btn_fwd () const override
 
QPushButton * btn_stop () const override
 
Gui::CoverButtonbtn_cover () const override
 
void rating_changed_here (bool success)
 
bool is_extern_resize_allowed () const override
 
virtual void init ()
 
virtual QSize button_size () const final
 
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

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

Protected Attributes

Dialog * _boxed_dialog =nullptr
 

Member Function Documentation

◆ info_dialog_data()

MetaDataList GUI_ControlsBase::info_dialog_data ( ) const
overrideprotectedvirtualinherited

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_ControlsBase::metadata_interpretation ( ) const
overrideprotectedvirtualinherited

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.