Sayonara Player
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GUI_Speed Class Reference
Inheritance diagram for GUI_Speed:
PlayerPlugin::Base Gui::Widget Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent

Signals

void sig_action_triggered (bool checked)
 signal is emitted when the plugin action is triggered
also emitted for when closeEvent is fired More...
 
void sig_reload (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 sig_opened ()
 
void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_Speed (QWidget *parent=nullptr)
 
QString get_name () const override
 must be overwritten More...
 
QString get_display_name () const override
 must be overwritten More...
 
virtual void skin_changed () override
 
virtual QAction * get_action () const final
 needed by the player ui, final More...
 
virtual bool is_title_shown () const
 indicates if title bar is shown or not
 
virtual bool has_loading_bar () const
 indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget More...
 
Dialog * box_into_dialog ()
 

Protected Member Functions

virtual void finalize_initialization ()
 
bool is_ui_initialized () const
 Check if ui already was initialized. More...
 
virtual void assign_ui_vars ()
 
template<typename T , typename UiClass >
void setup_parent (T *widget, UiClass **ui)
 
void closeEvent (QCloseEvent *e) override
 
void showEvent (QShowEvent *e) override
 

Protected Attributes

Dialog * _boxed_dialog =nullptr
 

Member Function Documentation

◆ get_action()

virtual QAction* PlayerPlugin::Base::get_action ( ) const
finalvirtualinherited

needed by the player ui, final

Returns
action of plugin

◆ get_display_name()

QString GUI_Speed::get_display_name ( ) const
overridevirtual

must be overwritten

Returns
the translated name of the plugin

Implements PlayerPlugin::Base.

◆ get_name()

QString GUI_Speed::get_name ( ) const
overridevirtual

must be overwritten

Returns
the NOT translated name of the plugin

Implements PlayerPlugin::Base.

◆ has_loading_bar()

virtual bool PlayerPlugin::Base::has_loading_bar ( ) const
virtualinherited

indicates if the widget has a loading bar. If yes, there will be reserved some extra space at the bottom of the widget

Returns

Reimplemented in Gui::AbstractStream.

◆ is_ui_initialized()

bool PlayerPlugin::Base::is_ui_initialized ( ) const
protectedinherited

Check if ui already was initialized.

Returns

◆ sig_action_triggered

void PlayerPlugin::Base::sig_action_triggered ( bool  checked)
signalinherited

signal is emitted when the plugin action is triggered
also emitted for when closeEvent is fired

Parameters
pluginthis pointer to current plugin
checkedindicates whether checked or unchecked