TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Slots | Public Member Functions | Private Attributes | List of all members
MusicSoundEffectsItemWidget Class Reference

The class of the sound effect item widget. More...

#include <musicsoundeffectswidget.h>

+ Inheritance diagram for MusicSoundEffectsItemWidget:

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
 

Detailed Description

The class of the sound effect item widget.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 32 of file musicsoundeffectswidget.h.

Constructor & Destructor Documentation

MusicSoundEffectsItemWidget::MusicSoundEffectsItemWidget ( const MusicPluginProperty property,
QWidget *  parent = nullptr 
)
explicit
MusicSoundEffectsItemWidget::~MusicSoundEffectsItemWidget ( )

Object destructor.

Definition at line 70 of file musicsoundeffectswidget.cpp.

References m_openButton, m_settingButton, and m_textLabel.

Member Function Documentation

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().

void MusicSoundEffectsItemWidget::setPluginEnabled ( )
slot
void MusicSoundEffectsItemWidget::soundEffectValueChanged ( )
slot

Sound effect button value changed.

Definition at line 109 of file musicsoundeffectswidget.cpp.

References m_property, m_textLabel, MusicPluginProperty::m_type, and TTK::TTKQmmp::showEffectSetting().

Referenced by MusicSoundEffectsItemWidget().

QString MusicSoundEffectsItemWidget::type ( ) const
inline

Get plugin module type.

Definition at line 49 of file musicsoundeffectswidget.h.

Member Data Documentation

bool MusicSoundEffectsItemWidget::m_enabled
private

Definition at line 70 of file musicsoundeffectswidget.h.

Referenced by pluginEnabled(), and setPluginEnabled().

QPushButton * MusicSoundEffectsItemWidget::m_openButton
private
MusicPluginProperty MusicSoundEffectsItemWidget::m_property
private

Definition at line 73 of file musicsoundeffectswidget.h.

Referenced by setPluginEnabled(), and soundEffectValueChanged().

QPushButton* MusicSoundEffectsItemWidget::m_settingButton
private
QLabel* MusicSoundEffectsItemWidget::m_textLabel
private

The documentation for this class was generated from the following files: