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 item widget. More...
#include <musicsoundeffectswidget.h>
Public Slots | |
void | setPluginEnabled () |
void | soundEffectValueChanged () |
Public Member Functions | |
MusicSoundEffectsItemWidget (const MusicPluginProperty &property, QWidget *parent=nullptr) | |
~MusicSoundEffectsItemWidget () | |
QString | type () const |
void | setPluginEnabled (bool enabled) |
bool | pluginEnabled () const |
Private Attributes | |
bool | m_enabled |
QLabel * | m_textLabel |
QPushButton * | m_settingButton |
QPushButton * | m_openButton |
MusicPluginProperty | m_property |
The class of the sound effect item widget.
Definition at line 32 of file musicsoundeffectswidget.h.
|
explicit |
Object constructor.
Definition at line 8 of file musicsoundeffectswidget.cpp.
References TTK::UI::BackgroundStyle01, TTK::UI::BackgroundStyle04, TTK::UI::BackgroundStyle05, TTK::UI::CheckBoxStyle01, TTK::UI::ComboBoxStyle01, MusicPluginProperty::m_name, m_openButton, m_settingButton, m_textLabel, TTK::UI::PushButtonStyle01, TTK::UI::PushButtonStyle12, setPluginEnabled(), TTK::UI::SliderStyle06, soundEffectValueChanged(), TTK::UI::SpinBoxStyle01, and TTK_SPACE.
MusicSoundEffectsItemWidget::~MusicSoundEffectsItemWidget | ( | ) |
Object destructor.
Definition at line 70 of file musicsoundeffectswidget.cpp.
References m_openButton, m_settingButton, and m_textLabel.
bool MusicSoundEffectsItemWidget::pluginEnabled | ( | ) | const |
Get plugin enable or not.
Definition at line 83 of file musicsoundeffectswidget.cpp.
References m_enabled.
void MusicSoundEffectsItemWidget::setPluginEnabled | ( | bool | enabled | ) |
Set plugin enable or not.
Definition at line 77 of file musicsoundeffectswidget.cpp.
References m_enabled, and setPluginEnabled().
Referenced by MusicSoundEffectsWidget::readSoundEffect().
|
slot |
Set plugin enable or not.
Definition at line 88 of file musicsoundeffectswidget.cpp.
References TTK::TTKQmmp::enabledEffectPlugin(), m_enabled, MusicPluginProperty::m_hasSettings, m_openButton, m_property, m_settingButton, and MusicPluginProperty::m_type.
Referenced by MusicSoundEffectsItemWidget(), and setPluginEnabled().
|
slot |
Sound effect button value changed.
Definition at line 109 of file musicsoundeffectswidget.cpp.
References m_property, MusicPluginProperty::m_type, and TTK::TTKQmmp::showEffectSetting().
Referenced by MusicSoundEffectsItemWidget().
|
inline |
Get plugin module type.
Definition at line 49 of file musicsoundeffectswidget.h.
|
private |
Definition at line 70 of file musicsoundeffectswidget.h.
Referenced by pluginEnabled(), and setPluginEnabled().
|
private |
Definition at line 72 of file musicsoundeffectswidget.h.
Referenced by MusicSoundEffectsItemWidget(), setPluginEnabled(), and ~MusicSoundEffectsItemWidget().
|
private |
Definition at line 73 of file musicsoundeffectswidget.h.
Referenced by setPluginEnabled(), and soundEffectValueChanged().
|
private |
Definition at line 72 of file musicsoundeffectswidget.h.
Referenced by MusicSoundEffectsItemWidget(), setPluginEnabled(), and ~MusicSoundEffectsItemWidget().
|
private |
Definition at line 71 of file musicsoundeffectswidget.h.
Referenced by MusicSoundEffectsItemWidget(), and ~MusicSoundEffectsItemWidget().