![]() |
Sayonara Player
|
Public Slots | |
virtual void | update_style (int new_index)=0 |
virtual void | update () |
virtual void | initUi () override |
Signals | |
void | sigActionTriggered (bool checked) |
signal is emitted when the plugin action is triggered also emitted for when closeEvent is fired More... | |
void | sigReload (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 | sigOpened () |
void | sigShown () |
void | sigClosed () |
Public Member Functions | |
VisualPlugin (QWidget *parent=nullptr) | |
virtual bool | hasTitle () const override |
indicates if title bar is shown or not | |
virtual QAction * | pluginAction () const final |
needed by the player ui, final More... | |
virtual QString | name () const =0 |
must be overwritten More... | |
virtual QString | displayName () const =0 |
must be overwritten More... | |
virtual bool | hasLoadingBar () 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 * | boxIntoDialog () |
Protected Slots | |
virtual void | config_clicked () |
virtual void | next_clicked () |
virtual void | prev_clicked () |
virtual void | doFadeoutStep ()=0 |
virtual void | playstate_changed (PlayState play_state) |
virtual void | played () |
virtual void | paused () |
virtual void | stopped () |
Protected Member Functions | |
void | init_buttons () |
virtual void | showEvent (QShowEvent *e) override |
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 ColorStyle | currentStyle () const =0 |
virtual int | currentStyleIndex () const =0 |
virtual bool | hasSmallButtons () const =0 |
void | stop_fadeout_timer () |
virtual void | finalizeInitialization () |
virtual bool | isUiInitialized () const |
Check if ui already was initialized. More... | |
virtual void | assignUiVariables () |
virtual void | skinChanged () override |
virtual void | retranslate ()=0 |
template<typename T , typename UiClass > | |
void | setupParent (T *widget, UiClass **ui) |
Protected Attributes | |
VisualColorStyleChooser * | m_ecsc =nullptr |
Dialog * | mBoxedDialog =nullptr |
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Stream, GUI_Podcasts, GUI_PlaylistChooser, GUI_Speed, GUI_Spectrum, GUI_SpectrogramPainter, GUI_LevelPainter, GUI_Equalizer, GUI_Crossfader, GUI_Broadcast, GUI_Bookmarks, and GUI_AudioConverter.
|
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::AbstractStationPlugin.
|
protectedvirtualinherited |
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Stream, GUI_Podcasts, GUI_PlaylistChooser, GUI_Speed, GUI_Spectrum, GUI_SpectrogramPainter, GUI_LevelPainter, GUI_Equalizer, GUI_Crossfader, GUI_Broadcast, GUI_Bookmarks, and GUI_AudioConverter.
|
finalvirtualinherited |
needed by the player ui, final
|
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 |