Sayonara Player
|
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 | |
AbstractStationPlugin (PlaylistCreator *playlistCreator, QWidget *parent=nullptr) | |
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 | hasTitle () const |
indicates if title bar is shown or not More... | |
Dialog * | boxIntoDialog () |
Protected Member Functions | |
virtual void | retranslate () override |
virtual void | play (const QString &stationName) |
bool | hasLoadingBar () const override |
indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget More... | |
template<typename T , typename UiType > | |
void | setup_parent (T *subclass, UiType **uiptr) |
virtual QComboBox * | comboStream ()=0 |
virtual QPushButton * | btnPlay ()=0 |
virtual MenuToolButton * | btnMenu ()=0 |
virtual AbstractStationHandler * | streamHandler () const =0 |
virtual QString | titleFallbackName () const =0 |
virtual GUI_ConfigureStation * | createConfigDialog ()=0 |
virtual int | addStream (const QString &name, const QString &url) |
virtual void | initUi () override |
GUI will be initialized on first show up. Please use this to make Sayonara starting fast. More... | |
virtual void | assignUiVariables () override |
virtual void | skinChanged () override |
virtual void | finalizeInitialization () |
virtual bool | isUiInitialized () const |
Check if ui already was initialized. More... | |
template<typename T , typename UiClass > | |
void | setupParent (T *widget, UiClass **ui) |
void | closeEvent (QCloseEvent *e) override |
void | showEvent (QShowEvent *e) override |
Protected Attributes | |
Dialog * | mBoxedDialog = nullptr |
|
overrideprotectedvirtual |
Reimplemented from PlayerPlugin::Base.
|
overrideprotectedvirtualinherited |
Reimplemented from Gui::Widget.
|
pure virtualinherited |
must be overwritten
Implemented in GUI_AudioConverter, GUI_Bookmarks, GUI_Broadcast, GUI_Crossfader, GUI_Equalizer, GUI_LevelPainter, GUI_SpectrogramPainter, GUI_Spectrum, GUI_Speed, GUI_PlaylistChooser, GuiSmartPlaylists, GUI_Podcasts, and GUI_Stream.
|
overrideprotectedvirtual |
indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget
Reimplemented from PlayerPlugin::Base.
|
virtualinherited |
indicates if title bar is shown or not
Reimplemented in VisualPlugin.
|
overrideprotectedvirtual |
GUI will be initialized on first show up. Please use this to make Sayonara starting fast.
Implements PlayerPlugin::Base.
|
protectedvirtualinherited |
|
pure virtualinherited |
must be overwritten
Implemented in GUI_AudioConverter, GUI_Bookmarks, GUI_Broadcast, GUI_Crossfader, GUI_Equalizer, GUI_LevelPainter, GUI_SpectrogramPainter, GUI_Spectrum, GUI_Speed, GUI_PlaylistChooser, GuiSmartPlaylists, GUI_Podcasts, and GUI_Stream.
|
finalvirtualinherited |
needed by the player ui, final
|
overrideprotectedvirtual |
Implements PlayerPlugin::Base.
|
overrideprotectedvirtualinherited |
Reimplemented from Gui::Widget.
|
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 |
|
overrideprotectedvirtual |
Reimplemented from Gui::WidgetTemplateParent.