|
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 | |
| GUI_Spectrum (SpectrumDataProvider *dataProvider, PlayManager *playManager, QWidget *parent=nullptr) | |
| QString | name () const override |
| must be overwritten | |
| QString | displayName () const override |
| must be overwritten | |
| bool | isActive () const override |
| void | setSpectrum (const std::vector< float > &spectrum) override |
| bool | hasTitle () const override |
| indicates if title bar is shown or not | |
| virtual QAction * | pluginAction () const final |
| needed by the player ui, final | |
| 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 Slots | |
| void | doFadeoutStep () override |
Protected Member Functions | |
| void | initUi () override |
| GUI will be initialized on first show up. Please use this to make Sayonara starting fast. | |
| void | retranslate () override |
| QWidget * | widget () override |
| bool | hasSmallButtons () const override |
| void | finalizeInitialization () override |
| void | paint () override |
| ColorStyle | extractStyle (const RawColorStyle &rawColorStyle) const override |
| bool | applyStyle (const ColorStyle &colorStyle) override |
| int | loadStyleIndex () const override |
| void | saveStyleIndex (int index) const override |
| bool | isFadeoutCompleted () const override |
| void | notifyDataProvider (bool isActive) override |
| bool | isProcessing () const |
| const ColorStyle & | currentStyle () const |
| 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 bool | isUiInitialized () const |
| Check if ui already was initialized. | |
| virtual void | assignUiVariables () |
| template<typename T, typename UiClass> | |
| void | setupParent (T *widget, UiClass **ui) |
| virtual void | skinChanged () |
Protected Attributes | |
| Dialog * | mBoxedDialog = nullptr |
|
overrideprotectedvirtual |
Implements VisualPlugin.
|
overrideprotectedvirtualinherited |
Reimplemented from PlayerPlugin::Base.
|
nodiscardoverridevirtual |
|
nodiscardoverrideprotectedvirtual |
Implements VisualPlugin.
|
overrideprotectedvirtual |
Reimplemented from PlayerPlugin::Base.
|
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.
|
nodiscardoverrideprotectedvirtual |
Implements VisualPlugin.
|
nodiscardoverridevirtualinherited |
indicates if title bar is shown or not
Reimplemented from PlayerPlugin::Base.
|
overrideprotectedvirtual |
GUI will be initialized on first show up. Please use this to make Sayonara starting fast.
Implements PlayerPlugin::Base.
|
nodiscardoverridevirtual |
Implements Engine::SpectrumDataReceiver.
|
nodiscardoverrideprotectedvirtual |
Implements VisualPlugin.
|
protectedvirtualinherited |
|
nodiscardoverrideprotectedvirtual |
Implements VisualPlugin.
|
nodiscardoverridevirtual |
|
overrideprotectedvirtual |
Implements VisualPlugin.
|
overrideprotectedvirtual |
Implements VisualPlugin.
|
finalvirtualinherited |
needed by the player ui, final
|
overrideprotectedvirtual |
Implements PlayerPlugin::Base.
|
overrideprotectedvirtual |
Implements VisualPlugin.
|
overridevirtual |
Implements Engine::SpectrumDataReceiver.
|
overrideprotectedvirtualinherited |
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 |
|
nodiscardoverrideprotectedvirtual |
Implements VisualPlugin.