TTKMusicPlayer
4.1.3.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>
Public Slots | |
void | equalizerButtonChanged (bool state) |
void | equalizerButtonChanged () |
void | stateComboBoxChanged (int index) |
![]() | |
void | backgroundChanged () |
virtual int | exec () |
void | show () |
Signals | |
void | setEqualizerConfig () |
Public Member Functions | |
MusicSoundEffectsWidget (QWidget *parent=nullptr) | |
~MusicSoundEffectsWidget () | |
void | setInputModule (QObject *object) |
![]() | |
MusicAbstractMoveDialog (QWidget *parent=nullptr) | |
MusicAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
~MusicAbstractMoveDialog () | |
![]() | |
TTKAbstractMoveDialog (QWidget *parent=nullptr) | |
TTKAbstractMoveDialog (bool transparent, QWidget *parent=nullptr) | |
void | drawWindowShadow (bool show) |
void | blockOption (bool block) |
Private Member Functions | |
void | readSoundEffect () |
void | writeSoundEffect () |
Private Attributes | |
Ui::MusicSoundEffectsWidget * | m_ui |
QList< MusicSoundEffectsItemWidget * > | m_items |
Additional Inherited Members | |
![]() | |
void | setBackgroundPixmap (const QSize &size) |
MusicWidgetRenderer () | |
void | setBackgroundLabel (QLabel *label) |
The class of the sound effect widget.
Definition at line 81 of file musicsoundeffectswidget.h.
|
explicit |
Object constructor.
Definition at line 116 of file musicsoundeffectswidget.cpp.
References G_CONNECTION_PTR, TTK::Widget::generateComboBoxStyle(), TTK::Widget::generateVScrollAreaStyle(), m_ui, TTK::UI::PushButtonStyle04, readSoundEffect(), MusicWidgetRenderer::setBackgroundLabel(), stateComboBoxChanged(), and TTK::UI::ToolButtonStyle04.
MusicSoundEffectsWidget::~MusicSoundEffectsWidget | ( | ) |
Object destructor.
Definition at line 150 of file musicsoundeffectswidget.cpp.
References G_CONNECTION_PTR, m_items, m_ui, and writeSoundEffect().
|
slot |
Equalizer button state changed.
Definition at line 173 of file musicsoundeffectswidget.cpp.
References m_ui.
|
slot |
Equalizer button state changed.
Definition at line 178 of file musicsoundeffectswidget.cpp.
References MusicSettingManager::EqualizerEnable, G_SETTING_PTR, and setEqualizerConfig().
Referenced by setInputModule().
|
private |
Read sound effect function.
Definition at line 202 of file musicsoundeffectswidget.cpp.
References TTK::TTKQmmp::effectPlugins(), MusicSettingManager::EnhancedEffectValue, G_SETTING_PTR, m_items, m_ui, QtSkipEmptyParts, and MusicSoundEffectsItemWidget::setPluginEnabled().
Referenced by MusicSoundEffectsWidget().
|
signal |
Read equalizer effect from config file.
Referenced by equalizerButtonChanged().
void MusicSoundEffectsWidget::setInputModule | ( | QObject * | object | ) |
Set input connection.
Definition at line 158 of file musicsoundeffectswidget.cpp.
References equalizerButtonChanged(), MusicSettingManager::EqualizerEnable, G_SETTING_PTR, and m_ui.
Referenced by MusicApplicationModule::showSoundEffectWidget().
|
slot |
State combobox index changed.
Definition at line 187 of file musicsoundeffectswidget.cpp.
References m_items, m_ui, and qAsConst.
Referenced by MusicSoundEffectsWidget().
|
private |
Write sound effect function.
Definition at line 224 of file musicsoundeffectswidget.cpp.
References MusicSettingManager::EnhancedEffectValue, G_SETTING_PTR, m_items, and qAsConst.
Referenced by ~MusicSoundEffectsWidget().
|
private |
Definition at line 131 of file musicsoundeffectswidget.h.
Referenced by readSoundEffect(), stateComboBoxChanged(), writeSoundEffect(), and ~MusicSoundEffectsWidget().
|
private |
Definition at line 130 of file musicsoundeffectswidget.h.
Referenced by equalizerButtonChanged(), MusicSoundEffectsWidget(), readSoundEffect(), setInputModule(), stateComboBoxChanged(), and ~MusicSoundEffectsWidget().