MythTV  master
Public Member Functions | Private Slots | Private Attributes | List of all members
AudioTest Class Reference

#include <audiogeneralsettings.h>

Inheritance diagram for AudioTest:
Inheritance graph
[legend]
Collaboration diagram for AudioTest:
Collaboration graph
[legend]

Public Member Functions

 AudioTest ()
 
 ~AudioTest () override
 
void UpdateCapabilities (const QString &main, const QString &passthrough, int channels, const AudioOutputSettings &settings)
 
bool event (QEvent *event) override
 
- Public Member Functions inherited from GroupSetting
 GroupSetting ()=default
 
void edit (MythScreenType *screen) override
 
void resultEdit (DialogCompletionEvent *) override
 
virtual void applyChange ()
 
void updateButton (MythUIButtonListItem *item) override
 This method is called whenever the UI need to reflect a change Reimplement this If you widget need a custom look. More...
 
virtual bool canDelete (void)
 
virtual void deleteEntry (void)
 
- Public Member Functions inherited from StandardSetting
virtual void setLabel (QString str)
 
QString getLabel (void) const
 
virtual void setHelpText (const QString &str)
 
QString getHelpText (void) const
 
virtual void setName (const QString &name)
 
QString getName (void) const
 
StandardSettingbyName (const QString &name)
 
bool isVisible (void) const
 
bool isEnabled () const
 
bool haveChanged ()
 Return true if the setting have changed or any of its children. More...
 
void setChanged (bool changed)
 
StandardSettinggetParent () const
 
virtual QString getValue (void) const
 
void SetDBValue (const QString &val) override
 
QString GetDBValue (void) const override
 
MythUIButtonListItemcreateButton (MythUIButtonList *list)
 
virtual void addChild (StandardSetting *child)
 
virtual void removeChild (StandardSetting *child)
 
virtual QList< StandardSetting * > * getSubSettings ()
 
virtual bool haveSubSettings ()
 
virtual void clearSettings ()
 
void clearTargetedSettings (const QString &value)
 
virtual void Load (void)
 
virtual void Save (void)
 
virtual void Open (void)
 
virtual void Close (void)
 
StorageGetStorage (void) const
 
void addTargetedChild (const QString &value, StandardSetting *setting)
 
void addTargetedChildren (const QString &value, std::initializer_list< StandardSetting * > settings)
 
void removeTargetedChild (const QString &value, StandardSetting *child)
 
virtual bool keyPressEvent (QKeyEvent *event)
 
void MoveToThread (QThread *thread)
 
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()=default
 

Private Slots

void toggle ()
 
void togglequality (void)
 
void cancelTest ()
 
void prepareTest ()
 

Private Attributes

int m_channels {2}
 
ButtonStandardSettingm_frontleft {nullptr}
 
ButtonStandardSettingm_frontright {nullptr}
 
ButtonStandardSettingm_center {nullptr}
 
ButtonStandardSettingm_surroundleft {nullptr}
 
ButtonStandardSettingm_surroundright {nullptr}
 
ButtonStandardSettingm_rearleft {nullptr}
 
ButtonStandardSettingm_rearright {nullptr}
 
ButtonStandardSettingm_lfe {nullptr}
 
AudioTestThreadm_at {nullptr}
 
ButtonStandardSettingm_startButton {nullptr}
 
TransMythUICheckBoxSettingm_hd {nullptr}
 
QString m_main
 
QString m_passthrough
 
AudioOutputSettings m_settings
 
bool m_quality {false}
 

Additional Inherited Members

- Public Slots inherited from StandardSetting
virtual void setEnabled (bool enabled)
 
void setVisible (bool visible)
 
virtual void setValue (const QString &newValue)
 
virtual void setValue (int newValue)
 
virtual void childChanged (StandardSetting *)
 
- Signals inherited from StandardSetting
void valueChanged (const QString &newValue)
 
void valueChanged (StandardSetting *setting)
 
void ShouldRedraw (StandardSetting *setting)
 
void settingsChanged (StandardSetting *selectedSetting=nullptr)
 
void ChangeSaved ()
 
void helpTextChanged (const QString &newValue)
 
- Protected Member Functions inherited from StandardSetting
 StandardSetting (Storage *_storage=nullptr)
 
 ~StandardSetting () override
 
void setParent (StandardSetting *parent)
 
- Protected Attributes inherited from StandardSetting
QString m_settingValue
 
bool m_enabled {true}
 
QString m_label
 
QString m_helptext
 
QString m_name
 
bool m_visible {true}
 

Detailed Description

Definition at line 176 of file audiogeneralsettings.h.

Constructor & Destructor Documentation

◆ AudioTest()

AudioTest::AudioTest ( )

Definition at line 756 of file audiogeneralsettings.cpp.

◆ ~AudioTest()

AudioTest::~AudioTest ( )
override

Definition at line 839 of file audiogeneralsettings.cpp.

Member Function Documentation

◆ UpdateCapabilities()

void AudioTest::UpdateCapabilities ( const QString &  main,
const QString &  passthrough,
int  channels,
const AudioOutputSettings settings 
)

Definition at line 850 of file audiogeneralsettings.cpp.

Referenced by AudioConfigSettings::UpdateAudioTest().

◆ event()

bool AudioTest::event ( QEvent *  event)
override

Definition at line 957 of file audiogeneralsettings.cpp.

◆ toggle

void AudioTest::toggle ( )
privateslot

Definition at line 867 of file audiogeneralsettings.cpp.

Referenced by AudioTest().

◆ togglequality

void AudioTest::togglequality ( void  )
privateslot

Definition at line 915 of file audiogeneralsettings.cpp.

Referenced by AudioTest().

◆ cancelTest

void AudioTest::cancelTest ( )
privateslot

Definition at line 921 of file audiogeneralsettings.cpp.

Referenced by prepareTest(), toggle(), and togglequality().

◆ prepareTest

void AudioTest::prepareTest ( )
privateslot

Definition at line 930 of file audiogeneralsettings.cpp.

Referenced by toggle().

Member Data Documentation

◆ m_channels

int AudioTest::m_channels {2}
private

Definition at line 187 of file audiogeneralsettings.h.

Referenced by AudioTest(), prepareTest(), toggle(), and UpdateCapabilities().

◆ m_frontleft

ButtonStandardSetting* AudioTest::m_frontleft {nullptr}
private

Definition at line 188 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), and toggle().

◆ m_frontright

ButtonStandardSetting* AudioTest::m_frontright {nullptr}
private

Definition at line 189 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), and toggle().

◆ m_center

ButtonStandardSetting* AudioTest::m_center {nullptr}
private

Definition at line 190 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_surroundleft

ButtonStandardSetting* AudioTest::m_surroundleft {nullptr}
private

Definition at line 191 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_surroundright

ButtonStandardSetting* AudioTest::m_surroundright {nullptr}
private

Definition at line 192 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_rearleft

ButtonStandardSetting* AudioTest::m_rearleft {nullptr}
private

Definition at line 193 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_rearright

ButtonStandardSetting* AudioTest::m_rearright {nullptr}
private

Definition at line 194 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_lfe

ButtonStandardSetting* AudioTest::m_lfe {nullptr}
private

Definition at line 195 of file audiogeneralsettings.h.

Referenced by AudioTest(), event(), toggle(), and UpdateCapabilities().

◆ m_at

AudioTestThread* AudioTest::m_at {nullptr}
private

Definition at line 196 of file audiogeneralsettings.h.

Referenced by cancelTest(), prepareTest(), toggle(), and ~AudioTest().

◆ m_startButton

ButtonStandardSetting* AudioTest::m_startButton {nullptr}
private

Definition at line 197 of file audiogeneralsettings.h.

Referenced by AudioTest(), cancelTest(), and toggle().

◆ m_hd

TransMythUICheckBoxSetting* AudioTest::m_hd {nullptr}
private

Definition at line 198 of file audiogeneralsettings.h.

Referenced by AudioTest(), and togglequality().

◆ m_main

QString AudioTest::m_main
private

Definition at line 199 of file audiogeneralsettings.h.

Referenced by prepareTest(), and UpdateCapabilities().

◆ m_passthrough

QString AudioTest::m_passthrough
private

Definition at line 200 of file audiogeneralsettings.h.

Referenced by prepareTest(), and UpdateCapabilities().

◆ m_settings

AudioOutputSettings AudioTest::m_settings
private

Definition at line 201 of file audiogeneralsettings.h.

Referenced by prepareTest(), and UpdateCapabilities().

◆ m_quality

bool AudioTest::m_quality {false}
private

Definition at line 202 of file audiogeneralsettings.h.

Referenced by prepareTest(), and togglequality().


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