#include <GUI_Equalizer.h>
|
class | PlayerPluginInterface |
|
|
| GUI_Equalizer (QWidget *parent=nullptr) |
|
QString | get_name () const override |
| must be overwritten More...
|
|
QString | get_display_name () const override |
| must be overwritten More...
|
|
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 bool | is_closed () const final |
| needed by the player ui, final More...
|
|
virtual void | show () |
| show Plugin
|
|
virtual bool | is_title_shown () const |
|
QString | get_shortcut_text (const QString &shortcut_identifier) const override |
| get translated text of shortcut (overridden) More...
|
|
SayonaraDialog * | box_into_dialog () |
|
bool | is_dark () const |
| Returns, if the current skin is dark. More...
|
|
|
void | language_changed () override |
| language_changed Has to be implemented and is called when language has changed
|
|
void | init_ui () override |
| GUI will be initialized on first show up. Please use this to make Sayonara starting fast.
|
|
void | closeEvent (QCloseEvent *e) override |
| Event fired when closed overrides QWidget::closeEvent. More...
|
|
bool | is_ui_initialized () const |
| Check if ui already was initialized. More...
|
|
void | set_ui_initialized () |
| mark ui as initialized
|
|
template<typename T > |
void | setup_parent (T *widget) |
|
QString | elide_text (const QString &text, QWidget *widget, int max_lines) |
|
|
virtual void | playstate_changed (PlayManager::PlayState state) |
| Playstate has changed, this does nothing in default implementation. More...
|
|
virtual void | played () |
| Playstate has changed to playing.
|
|
virtual void | paused () |
| Playstate has changed to paused.
|
|
virtual void | stopped () |
| Playstate has changed to stop.
|
|
virtual void | skin_changed () |
|
|
QGridLayout * | gridLayout |
|
QVBoxLayout * | verticalLayout_10 |
|
QLabel * | label_10 |
|
EqSlider * | sli_9 |
|
QLabel * | label_20 |
|
QVBoxLayout * | verticalLayout_4 |
|
QLabel * | label_4 |
|
EqSlider * | sli_3 |
|
QLabel * | label_14 |
|
QVBoxLayout * | verticalLayout |
|
QLabel * | label |
|
EqSlider * | sli_0 |
|
QLabel * | label_11 |
|
QVBoxLayout * | verticalLayout_3 |
|
QLabel * | label_3 |
|
EqSlider * | sli_2 |
|
QLabel * | label_13 |
|
QVBoxLayout * | verticalLayout_8 |
|
QLabel * | label_8 |
|
EqSlider * | sli_7 |
|
QLabel * | label_18 |
|
QHBoxLayout * | horizontalLayout_2 |
|
QSpacerItem * | horizontalSpacer_2 |
|
QCheckBox * | cb_gauss |
|
QSpacerItem * | horizontalSpacer_3 |
|
QFrame * | line_2 |
|
QVBoxLayout * | verticalLayout_6 |
|
QLabel * | label_6 |
|
EqSlider * | sli_5 |
|
QLabel * | label_16 |
|
QVBoxLayout * | verticalLayout_7 |
|
QLabel * | label_7 |
|
EqSlider * | sli_6 |
|
QLabel * | label_17 |
|
QVBoxLayout * | verticalLayout_2 |
|
QLabel * | label_2 |
|
EqSlider * | sli_1 |
|
QLabel * | label_12 |
|
QVBoxLayout * | verticalLayout_5 |
|
QLabel * | label_5 |
|
EqSlider * | sli_4 |
|
QLabel * | label_15 |
|
QVBoxLayout * | verticalLayout_9 |
|
QLabel * | label_9 |
|
EqSlider * | sli_8 |
|
QLabel * | label_19 |
|
QHBoxLayout * | horizontalLayout |
|
QComboBox * | combo_presets |
|
MenuToolButton * | btn_tool |
|
QSpacerItem * | horizontalSpacer |
|
§ closeEvent()
void PlayerPluginInterface::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
overrideprotectedinherited |
Event fired when closed overrides QWidget::closeEvent.
- Parameters
-
§ get_action()
virtual QAction* PlayerPluginInterface::get_action |
( |
| ) |
const |
|
finalvirtualinherited |
needed by the player ui, final
- Returns
- action of plugin
§ get_display_name()
QString GUI_Equalizer::get_display_name |
( |
| ) |
const |
|
overridevirtual |
§ get_name()
QString GUI_Equalizer::get_name |
( |
| ) |
const |
|
overridevirtual |
§ get_shortcut_text()
QString PlayerPluginInterface::get_shortcut_text |
( |
const QString & |
shortcut_identifier | ) |
const |
|
overridevirtualinherited |
get translated text of shortcut (overridden)
- Parameters
-
shortcut_identifier | shortcut id |
- Returns
- translated shortcut text
Implements ShortcutWidget.
§ get_size()
virtual QSize PlayerPluginInterface::get_size |
( |
| ) |
const |
|
finalvirtualinherited |
needed by the player ui, final
- Returns
- miminum size of plugin
§ is_closed()
virtual bool PlayerPluginInterface::is_closed |
( |
| ) |
const |
|
finalvirtualinherited |
needed by the player ui, final
- Returns
- visibility of plugin
§ is_dark()
Returns, if the current skin is dark.
- Returns
- true, if dark. false else
§ is_ui_initialized()
bool PlayerPluginInterface::is_ui_initialized |
( |
| ) |
const |
|
protectedinherited |
Check if ui already was initialized.
- Returns
§ playstate_changed
|
protectedvirtualslotinherited |
Playstate has changed, this does nothing in default implementation.
- Parameters
-
§ sig_action_triggered
signal is emitted when the plugin action is triggered
also emitted for when closeEvent is fired
- Parameters
-
plugin | this pointer to current plugin |
checked | indicates whether checked or unchecked |