|
Sayonara Player
|
Signals | |
| void | sigActionTriggered (bool checked) |
| signal is emitted when the plugin action is triggered also emitted for when closeEvent is fired | |
| 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 | |
| Base (QWidget *parent=nullptr) | |
| virtual QAction * | pluginAction () const final |
| needed by the player ui, final | |
| virtual QString | name () const =0 |
| must be overwritten | |
| virtual QString | displayName () const =0 |
| must be overwritten | |
| virtual bool | hasTitle () const |
| indicates if title bar is shown or not | |
| 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 | |
| Dialog * | boxIntoDialog () |
Protected Member Functions | |
| virtual void | finalizeInitialization () |
| virtual bool | isUiInitialized () const |
| Check if ui already was initialized. | |
| virtual void | assignUiVariables () |
| virtual void | retranslate ()=0 |
| template<typename T, typename UiClass> | |
| void | setupParent (T *widget, UiClass **ui) |
| void | closeEvent (QCloseEvent *e) override |
| void | showEvent (QShowEvent *e) override |
| virtual void | skinChanged () |
Protected Attributes | |
| Dialog * | mBoxedDialog = nullptr |
Friends | |
| class | Handler |
|
overrideprotectedvirtual |
Reimplemented from Gui::Widget.
|
pure virtual |
must be overwritten
Implemented in GUI_AudioConverter, GUI_Bookmarks, GUI_Broadcast, GUI_Crossfader, GUI_Equalizer, GUI_LevelPainter, GUI_PlaylistChooser, GUI_Podcasts, GUI_SpectrogramPainter, GUI_Spectrum, GUI_Speed, GUI_Stream, and GuiSmartPlaylists.
|
virtual |
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.
|
virtual |
indicates if title bar is shown or not
Reimplemented in VisualPlugin.
|
protectedvirtual |
|
pure virtual |
must be overwritten
Implemented in GUI_AudioConverter, GUI_Bookmarks, GUI_Broadcast, GUI_Crossfader, GUI_Equalizer, GUI_LevelPainter, GUI_PlaylistChooser, GUI_Podcasts, GUI_SpectrogramPainter, GUI_Spectrum, GUI_Speed, GUI_Stream, and GuiSmartPlaylists.
|
finalvirtual |
needed by the player ui, final
|
overrideprotectedvirtual |
Reimplemented from Gui::Widget.
|
signal |
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 |