![]() |
Sayonara Player
|
Signals | |
void | sig_action_triggered (bool checked) |
signal is emitted when the plugin action is triggered also emitted for when closeEvent is fired More... | |
void | sig_reload (PlayerPlugin::Base *plugin) |
emitted when reloading is requested, after firing this signal the plugin will be painted new. Useful, if the size has changed | |
void | sig_opened () |
void | sig_shown () |
void | sig_closed () |
Public Member Functions | |
EnginePlugin (QWidget *parent=nullptr) | |
virtual bool | is_title_shown () const override |
indicates if title bar is shown or not | |
virtual void | skin_changed () override |
virtual QAction * | get_action () const final |
needed by the player ui, final More... | |
virtual QString | get_name () const =0 |
must be overwritten More... | |
virtual QString | get_display_name () const =0 |
must be overwritten More... | |
virtual bool | has_loading_bar () const |
indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget More... | |
Dialog * | box_into_dialog () |
Public Slots | |
virtual void | sl_update_style ()=0 |
virtual void | update () |
virtual void | init_ui () override |
Protected Member Functions | |
void | init_buttons (bool small) |
Engine::Handler * | engine () const |
virtual void | closeEvent (QCloseEvent *e) override |
virtual void | resizeEvent (QResizeEvent *e) override |
virtual void | mousePressEvent (QMouseEvent *e) override |
virtual void | enterEvent (QEvent *e) override |
virtual void | leaveEvent (QEvent *e) override |
virtual QWidget * | widget ()=0 |
virtual bool | has_small_buttons () const =0 |
void | stop_fadeout_timer () |
bool | is_ui_initialized () const |
Check if ui already was initialized. More... | |
virtual void | assign_ui_vars () |
virtual void | retranslate_ui ()=0 |
template<typename T , typename UiClass > | |
void | setup_parent (T *widget, UiClass **ui) |
void | showEvent (QShowEvent *e) override |
Protected Slots | |
virtual void | config_clicked () |
virtual void | next_clicked () |
virtual void | prev_clicked () |
virtual void | do_fadeout_step ()=0 |
virtual void | playstate_changed (PlayState play_state) |
virtual void | played () |
virtual void | paused () |
virtual void | stopped () |
Protected Attributes | |
GUI_StyleSettings * | _ui_style_settings =nullptr |
EngineColorStyleChooser * | _ecsc =nullptr |
ColorStyle | _cur_style |
int | _cur_style_idx |
Dialog * | _boxed_dialog =nullptr |
Settings * | _settings =nullptr |
|
finalvirtualinherited |
needed by the player ui, final
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Equalizer, GUI_Bookmarks, GUI_Spectrum, GUI_PlaylistChooser, GUI_LevelPainter, GUI_AudioConverter, GUI_Broadcast, GUI_Crossfader, GUI_Podcasts, GUI_Stream, and GUI_Speed.
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Equalizer, GUI_Bookmarks, GUI_Spectrum, GUI_PlaylistChooser, GUI_LevelPainter, GUI_AudioConverter, GUI_Broadcast, GUI_Crossfader, GUI_Podcasts, GUI_Stream, and GUI_Speed.
|
virtualinherited |
indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget
Reimplemented in GUI_AbstractStream.
|
protectedinherited |
Check if ui already was initialized.
|
signalinherited |
signal is emitted when the plugin action is triggered
also emitted for when closeEvent is fired
plugin | this pointer to current plugin |
checked | indicates whether checked or unchecked |