![]() |
Sayonara Player
|
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_LevelPainter (QWidget *parent=nullptr) | |
QString | get_name () const override |
must be overwritten More... | |
QString | get_display_name () const override |
must be overwritten More... | |
virtual bool | is_title_shown () const override |
indicates if title bar is shown or not | |
virtual void | skin_changed () override |
virtual QAction * | get_action () const final |
needed by the player ui, final More... | |
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 () |
Public Slots | |
void | sl_update_style () override |
virtual void | update () |
Protected Member Functions | |
void | paintEvent (QPaintEvent *e) override |
void | showEvent (QShowEvent *) override |
void | closeEvent (QCloseEvent *) override |
void | hideEvent (QHideEvent *e) override |
void | init_ui () override |
void | retranslate_ui () override |
QWidget * | widget () override |
bool | has_small_buttons () const override |
void | init_buttons (bool small) |
Engine::Handler * | engine () const |
virtual void | resizeEvent (QResizeEvent *e) override |
virtual void | mousePressEvent (QMouseEvent *e) override |
virtual void | enterEvent (QEvent *e) override |
virtual void | leaveEvent (QEvent *e) override |
void | stop_fadeout_timer () |
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) |
Protected Slots | |
void | do_fadeout_step () override |
void | set_level (float, float) override |
virtual void | config_clicked () |
virtual void | next_clicked () |
virtual void | prev_clicked () |
virtual void | playstate_changed (PlayState play_state) |
virtual void | played () |
virtual void | paused () |
virtual void | stopped () |
Protected Attributes | |
GUI_StyleSettings * | _ui_style_settings =nullptr |
EngineColorStyleChooser * | _ecsc =nullptr |
ColorStyle | _cur_style |
int | _cur_style_idx |
Dialog * | _boxed_dialog =nullptr |
Settings * | _settings =nullptr |
|
finalvirtualinherited |
needed by the player ui, final
|
overridevirtual |
|
overridevirtual |
|
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_AbstractStream.
|
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 |