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 | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MusicSoundEffectsWidget Class Reference

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

#include <musicsoundeffectswidget.h>

+ Inheritance diagram for MusicSoundEffectsWidget:

Public Slots

void equalizerButtonChanged (bool state)
 
void equalizerButtonChanged ()
 
void stateComboBoxChanged (int index)
 
- Public Slots inherited from MusicAbstractMoveDialog
void backgroundChanged ()
 
virtual int exec ()
 
void show ()
 

Signals

void setEqualizerConfig ()
 

Public Member Functions

 MusicSoundEffectsWidget (QWidget *parent=nullptr)
 
 ~MusicSoundEffectsWidget ()
 
void setInputModule (QObject *object)
 
- 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 drawWindowShadow (bool show)
 
void blockMoveOption (bool block)
 

Private Member Functions

void readSoundEffect ()
 
void writeSoundEffect ()
 

Private Attributes

Ui::MusicSoundEffectsWidget * m_ui
 
QList< MusicSoundEffectsItemWidget * > m_items
 

Additional Inherited Members

- Protected Member Functions inherited from MusicWidgetRenderer
void setBackgroundPixmap (const QSize &size)
 
 MusicWidgetRenderer ()
 
void setBackgroundLabel (QLabel *label)
 

Detailed Description

The class of the sound effect widget.

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

Definition at line 81 of file musicsoundeffectswidget.h.

Constructor & Destructor Documentation

MusicSoundEffectsWidget::MusicSoundEffectsWidget ( QWidget *  parent = nullptr)
explicit
MusicSoundEffectsWidget::~MusicSoundEffectsWidget ( )

Object destructor.

Definition at line 150 of file musicsoundeffectswidget.cpp.

References G_CONNECTION_PTR, m_items, m_ui, and writeSoundEffect().

Member Function Documentation

void MusicSoundEffectsWidget::equalizerButtonChanged ( bool  state)
slot

Equalizer button state changed.

Definition at line 173 of file musicsoundeffectswidget.cpp.

References m_ui.

void MusicSoundEffectsWidget::equalizerButtonChanged ( )
slot

Equalizer button state changed.

Definition at line 178 of file musicsoundeffectswidget.cpp.

References MusicSettingManager::EqualizerEnable, G_SETTING_PTR, and setEqualizerConfig().

Referenced by setInputModule().

void MusicSoundEffectsWidget::readSoundEffect ( )
private
void MusicSoundEffectsWidget::setEqualizerConfig ( )
signal

Read equalizer effect from config file.

Referenced by equalizerButtonChanged().

void MusicSoundEffectsWidget::setInputModule ( QObject *  object)
void MusicSoundEffectsWidget::stateComboBoxChanged ( int  index)
slot

State combobox index changed.

Definition at line 187 of file musicsoundeffectswidget.cpp.

References m_items, m_ui, and qAsConst.

Referenced by MusicSoundEffectsWidget().

void MusicSoundEffectsWidget::writeSoundEffect ( )
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().

Member Data Documentation

QList<MusicSoundEffectsItemWidget*> MusicSoundEffectsWidget::m_items
private
Ui::MusicSoundEffectsWidget* MusicSoundEffectsWidget::m_ui
private

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