|
TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the sound effect widget. More...
#include <musicsoundeffectswidget.h>
Inheritance diagram for MusicSoundEffectsWidget:Public Slots | |
| void | stateComboBoxChanged (int index) |
Public Slots inherited from MusicAbstractMoveDialog | |
| void | backgroundChanged () |
| virtual int | exec () |
| void | show () |
Public Member Functions | |
| MusicSoundEffectsWidget (QWidget *parent=nullptr) | |
| ~MusicSoundEffectsWidget () | |
Public Member Functions inherited from MusicAbstractMoveDialog | |
| MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
| MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
| ~MusicAbstractMoveDialog () | |
Public Member Functions inherited from TTKAbstractMoveDialog | |
| TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
| TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
| void | setShadowOption (bool show) noexcept |
| void | setBlockOption (bool block) noexcept |
Static Public Member Functions | |
| static void | updateConfig (bool v) |
Private Member Functions | |
| void | initialize () |
Private Attributes | |
| Ui::MusicSoundEffectsWidget * | m_ui |
| QList< MusicSoundEffectsItemWidget * > | m_items |
Additional Inherited Members | |
Protected Member Functions inherited from TTKAbstractMoveDialog | |
| virtual void | paintEvent (QPaintEvent *event) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| virtual void | mouseMoveEvent (QMouseEvent *event) override |
| virtual void | mouseReleaseEvent (QMouseEvent *event) override |
Protected Member Functions inherited from MusicWidgetRenderer | |
| void | setBackgroundPixmap (const QSize &size) |
| MusicWidgetRenderer () | |
| void | setBackgroundLabel (QLabel *label) noexcept |
Protected Attributes inherited from TTKAbstractMoveDialog | |
| bool | m_mouseLeftPressed |
| bool | m_blockOption |
| bool | m_shadowOption |
| QPoint | m_windowPos |
| QPoint | m_pressedPos |
The class of the sound effect widget.
Definition at line 80 of file musicsoundeffectswidget.h.
|
explicit |
Object constructor.
Definition at line 114 of file musicsoundeffectswidget.cpp.
References TTK::Widget::generateComboBoxStyle(), TTK::Widget::generateVScrollAreaStyle(), initialize(), m_ui, MusicWidgetRenderer::setBackgroundLabel(), stateComboBoxChanged(), and TTK::UI::ToolButtonStyle04.
| MusicSoundEffectsWidget::~MusicSoundEffectsWidget | ( | ) |
Object destructor.
Definition at line 136 of file musicsoundeffectswidget.cpp.
|
private |
Init widget and parameter.
Definition at line 183 of file musicsoundeffectswidget.cpp.
References TTK::TTKQmmp::effectModules(), TTK::TTKQmmp::isEffectEnabled(), m_items, m_ui, and MusicSoundEffectsItemWidget::setPluginEnabled().
Referenced by MusicSoundEffectsWidget().
|
slot |
State combobox index changed.
Definition at line 168 of file musicsoundeffectswidget.cpp.
References m_items, m_ui, and qAsConst.
Referenced by MusicSoundEffectsWidget().
|
static |
Update sound effect config.
Definition at line 142 of file musicsoundeffectswidget.cpp.
References TTK::TTKQmmp::effectModules(), MusicSettingManager::EnhancedEffectValue, G_SETTING_PTR, TTK::TTKQmmp::isEffectEnabled(), qAsConst, QtSkipEmptyParts, and TTK::TTKQmmp::setEffectEnabled().
Referenced by MusicApplicationModule::updateSoundEffectConfig().
|
private |
Definition at line 112 of file musicsoundeffectswidget.h.
Referenced by initialize(), stateComboBoxChanged(), and ~MusicSoundEffectsWidget().
|
private |
Definition at line 111 of file musicsoundeffectswidget.h.
Referenced by initialize(), MusicSoundEffectsWidget(), stateComboBoxChanged(), and ~MusicSoundEffectsWidget().
1.8.8