|
Sayonara Player
|
Public Slots | |
| void | initUi () override |
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 | |
| VisualPlugin (PlayManager *playManager, QWidget *parent=nullptr) | |
| bool | hasTitle () const override |
| indicates if title bar is shown or not | |
| 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 | 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 | |
| bool | isProcessing () const |
| const ColorStyle & | currentStyle () const |
| virtual QWidget * | widget ()=0 |
| virtual bool | hasSmallButtons () const =0 |
| virtual bool | applyStyle (const ColorStyle &style)=0 |
| virtual ColorStyle | extractStyle (const RawColorStyle &rawColorStyle) const =0 |
| virtual int | loadStyleIndex () const =0 |
| virtual void | saveStyleIndex (int index) const =0 |
| virtual void | paint ()=0 |
| virtual bool | isFadeoutCompleted () const =0 |
| virtual void | doFadeoutStep ()=0 |
| virtual void | notifyDataProvider (bool isActive)=0 |
| void | paintEvent (QPaintEvent *e) override |
| void | showEvent (QShowEvent *e) override |
| void | closeEvent (QCloseEvent *e) override |
| void | resizeEvent (QResizeEvent *e) override |
| void | mousePressEvent (QMouseEvent *e) override |
| void | enterEvent (QEvent *e) override |
| void | leaveEvent (QEvent *e) override |
| 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) |
| virtual void | skinChanged () |
Protected Attributes | |
| Dialog * | mBoxedDialog = nullptr |
|
overrideprotectedvirtual |
Reimplemented from PlayerPlugin::Base.
|
pure virtualinherited |
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.
|
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.
|
nodiscardoverridevirtual |
indicates if title bar is shown or not
Reimplemented from PlayerPlugin::Base.
|
protectedvirtualinherited |
|
pure virtualinherited |
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.
|
finalvirtualinherited |
needed by the player ui, final
|
overrideprotectedvirtual |
Reimplemented from PlayerPlugin::Base.
|
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 |