![]() |
Sayonara Player
|
Signals | |
| void | sig_action_triggered (PlayerPluginInterface *plugin, bool checked) |
| signal is emitted when the plugin action is triggered also emitted for when closeEvent is fired More... | |
| void | sig_reload (PlayerPluginInterface *) |
| emitted when reloading is requested, after firing this signal the plugin will be painted new. Useful, if the size has changed | |
| void | sig_closed () |
| emitted when plugin is closed | |
Public Member Functions | |
| GUI_AbstractStream (AbstractStreamHandler *stream_handler, QWidget *parent=nullptr) | |
| virtual QSize | get_size () const final |
| needed by the player ui, final More... | |
| virtual QAction * | get_action () const final |
| needed by the player ui, final More... | |
| virtual QString | get_name () const =0 |
| must be overwritten More... | |
| virtual QString | get_display_name () const =0 |
| must be overwritten More... | |
| virtual bool | is_title_shown () const |
| indicates if title bar is shown or not | |
| QString | get_shortcut_text (const QString &shortcut_identifier) const override |
| get translated text of shortcut (overridden) More... | |
| SayonaraDialog * | box_into_dialog () |
Protected Member Functions | |
| virtual void | retranslate_ui () override |
| virtual void | play (QString url, QString station_name) |
| virtual QString | get_title_fallback_name () const =0 |
| void | setup_stations (const QMap< QString, QString > &) |
| bool | has_loading_bar () 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 QLineEdit * | le_url ()=0 |
| virtual QComboBox * | combo_stream ()=0 |
| virtual QPushButton * | btn_play ()=0 |
| virtual MenuToolButton * | btn_menu ()=0 |
| virtual QLabel * | lab_listen ()=0 |
| bool | is_ui_initialized () const |
| Check if ui already was initialized. More... | |
| template<typename T , typename UiClass > | |
| void | setup_parent (T *widget, UiClass **ui) |
| void | closeEvent (QCloseEvent *e) override |
| Event fired when closed overrides QWidget::closeEvent. More... | |
| void | showEvent (QShowEvent *e) override |
Protected Attributes | |
| SayonaraDialog * | _boxed_dialog =nullptr |
| Settings * | _settings =nullptr |
|
overrideprotectedinherited |
Event fired when closed overrides QWidget::closeEvent.
| e | the event |
|
finalvirtualinherited |
needed by the player ui, final
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Equalizer, GUI_PlaylistChooser, GUI_Bookmarks, GUI_Broadcast, GUI_Spectrum, GUI_AudioConverter, GUI_LevelPainter, GUI_Speed, GUI_Podcasts, GUI_Crossfader, and GUI_Stream.
|
pure virtualinherited |
must be overwritten
Implemented in GUI_Equalizer, GUI_PlaylistChooser, GUI_Bookmarks, GUI_Broadcast, GUI_Spectrum, GUI_AudioConverter, GUI_LevelPainter, GUI_Speed, GUI_Podcasts, GUI_Crossfader, and GUI_Stream.
|
overridevirtualinherited |
get translated text of shortcut (overridden)
| shortcut_identifier | shortcut id |
Implements ShortcutWidget.
|
finalvirtualinherited |
needed by the player ui, final
|
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 PlayerPluginInterface.
|
protectedinherited |
Check if ui already was initialized.
|
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 |
1.8.13