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

#include <globalsettings.h>

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

Public Member Functions

 PlaybackProfileItemConfig (PlaybackProfileConfig *parent, uint idx, ProfileItem &_item)
 
void Load (void) override
 
void Save (void) override
 
bool keyPressEvent (QKeyEvent *) override
 
uint GetIndex (void) const
 
void ShowDeleteDialog (void)
 
void DecreasePriority (void)
 
void IncreasePriority (void)
 
- 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 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)
 
void MoveToThread (QThread *thread)
 
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()=default
 

Private Slots

void widthChanged (const QString &val)
 
void heightChanged (const QString &val)
 
void framerateChanged (const QString &val)
 
void decoderChanged (const QString &dec)
 
void vrenderChanged (const QString &renderer)
 
void orenderChanged (const QString &renderer)
 
void deint0Changed (const QString &deint)
 
void deint1Changed (const QString &deint)
 
void InitLabel (void)
 
void DoDeleteSlot (bool)
 

Private Attributes

ProfileItemm_item
 
TransTextEditSettingm_width_range {nullptr}
 
TransTextEditSettingm_height_range {nullptr}
 
MythUIComboBoxSettingm_codecs {nullptr}
 
TransTextEditSettingm_framerate {nullptr}
 
TransMythUIComboBoxSettingm_decoder {nullptr}
 
TransMythUISpinBoxSettingm_max_cpus {nullptr}
 
TransMythUICheckBoxSettingm_skiploop {nullptr}
 
TransMythUIComboBoxSettingm_vidrend {nullptr}
 
TransMythUIComboBoxSettingm_osdrend {nullptr}
 
TransMythUICheckBoxSettingm_osdfade {nullptr}
 
TransMythUIComboBoxSettingm_deint0 {nullptr}
 
TransMythUIComboBoxSettingm_deint1 {nullptr}
 
TransTextEditSettingm_filters {nullptr}
 
PlaybackProfileConfigm_parentConfig {nullptr}
 
uint m_index {0}
 

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 &)
 
void valueChanged (StandardSetting *)
 
void ShouldRedraw (StandardSetting *)
 
void settingsChanged (StandardSetting *selectedSetting=nullptr)
 
void ChangeSaved ()
 
- Protected Member Functions inherited from StandardSetting
 StandardSetting (Storage *_storage=nullptr)
 
virtual ~StandardSetting ()
 
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 191 of file globalsettings.h.

Constructor & Destructor Documentation

◆ PlaybackProfileItemConfig()

PlaybackProfileItemConfig::PlaybackProfileItemConfig ( PlaybackProfileConfig parent,
uint  idx,
ProfileItem _item 
)

Definition at line 708 of file globalsettings.cpp.

Member Function Documentation

◆ Load()

void PlaybackProfileItemConfig::Load ( void  )
overridevirtual

Reimplemented from StandardSetting.

Definition at line 823 of file globalsettings.cpp.

◆ Save()

void PlaybackProfileItemConfig::Save ( void  )
overridevirtual

Reimplemented from StandardSetting.

Definition at line 920 of file globalsettings.cpp.

◆ keyPressEvent()

bool PlaybackProfileItemConfig::keyPressEvent ( QKeyEvent *  e)
overridevirtual

Reimplemented from StandardSetting.

Definition at line 1069 of file globalsettings.cpp.

◆ GetIndex()

uint PlaybackProfileItemConfig::GetIndex ( void  ) const

Definition at line 818 of file globalsettings.cpp.

Referenced by PlaybackProfileConfig::DeleteProfileItem().

◆ ShowDeleteDialog()

void PlaybackProfileItemConfig::ShowDeleteDialog ( void  )

◆ DecreasePriority()

void PlaybackProfileItemConfig::DecreasePriority ( void  )

Definition at line 1111 of file globalsettings.cpp.

Referenced by PlaybackSettingsDialog::MoveProfileItemDown().

◆ IncreasePriority()

void PlaybackProfileItemConfig::IncreasePriority ( void  )

Definition at line 1116 of file globalsettings.cpp.

Referenced by PlaybackSettingsDialog::MoveProfileItemUp().

◆ widthChanged

void PlaybackProfileItemConfig::widthChanged ( const QString &  val)
privateslot

Definition at line 943 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ heightChanged

void PlaybackProfileItemConfig::heightChanged ( const QString &  val)
privateslot

Definition at line 957 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ framerateChanged

void PlaybackProfileItemConfig::framerateChanged ( const QString &  val)
privateslot

Definition at line 971 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ decoderChanged

void PlaybackProfileItemConfig::decoderChanged ( const QString &  dec)
privateslot

Definition at line 985 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ vrenderChanged

void PlaybackProfileItemConfig::vrenderChanged ( const QString &  renderer)
privateslot

Definition at line 1012 of file globalsettings.cpp.

Referenced by decoderChanged(), and PlaybackProfileItemConfig().

◆ orenderChanged

void PlaybackProfileItemConfig::orenderChanged ( const QString &  renderer)
privateslot

Definition at line 1050 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ deint0Changed

void PlaybackProfileItemConfig::deint0Changed ( const QString &  deint)
privateslot

Definition at line 1055 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ deint1Changed

void PlaybackProfileItemConfig::deint1Changed ( const QString &  deint)
privateslot

Definition at line 1062 of file globalsettings.cpp.

Referenced by PlaybackProfileItemConfig().

◆ InitLabel

void PlaybackProfileItemConfig::InitLabel ( void  )
privateslot

◆ DoDeleteSlot

void PlaybackProfileItemConfig::DoDeleteSlot ( bool  doDelete)
privateslot

Definition at line 1105 of file globalsettings.cpp.

Referenced by ShowDeleteDialog().

Member Data Documentation

◆ m_item

ProfileItem& PlaybackProfileItemConfig::m_item
private

Definition at line 221 of file globalsettings.h.

Referenced by framerateChanged(), heightChanged(), Load(), Save(), and widthChanged().

◆ m_width_range

TransTextEditSetting* PlaybackProfileItemConfig::m_width_range {nullptr}
private

Definition at line 222 of file globalsettings.h.

Referenced by InitLabel(), Load(), PlaybackProfileItemConfig(), Save(), and widthChanged().

◆ m_height_range

TransTextEditSetting* PlaybackProfileItemConfig::m_height_range {nullptr}
private

Definition at line 223 of file globalsettings.h.

Referenced by heightChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().

◆ m_codecs

MythUIComboBoxSetting* PlaybackProfileItemConfig::m_codecs {nullptr}
private

Definition at line 224 of file globalsettings.h.

Referenced by InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().

◆ m_framerate

TransTextEditSetting* PlaybackProfileItemConfig::m_framerate {nullptr}
private

Definition at line 225 of file globalsettings.h.

Referenced by framerateChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().

◆ m_decoder

TransMythUIComboBoxSetting* PlaybackProfileItemConfig::m_decoder {nullptr}
private

◆ m_max_cpus

TransMythUISpinBoxSetting* PlaybackProfileItemConfig::m_max_cpus {nullptr}
private

Definition at line 227 of file globalsettings.h.

Referenced by Load(), PlaybackProfileItemConfig(), and Save().

◆ m_skiploop

TransMythUICheckBoxSetting* PlaybackProfileItemConfig::m_skiploop {nullptr}
private

Definition at line 228 of file globalsettings.h.

Referenced by Load(), PlaybackProfileItemConfig(), and Save().

◆ m_vidrend

TransMythUIComboBoxSetting* PlaybackProfileItemConfig::m_vidrend {nullptr}
private

◆ m_osdrend

TransMythUIComboBoxSetting* PlaybackProfileItemConfig::m_osdrend {nullptr}
private

◆ m_osdfade

TransMythUICheckBoxSetting* PlaybackProfileItemConfig::m_osdfade {nullptr}
private

Definition at line 231 of file globalsettings.h.

Referenced by Load(), PlaybackProfileItemConfig(), and Save().

◆ m_deint0

TransMythUIComboBoxSetting* PlaybackProfileItemConfig::m_deint0 {nullptr}
private

◆ m_deint1

TransMythUIComboBoxSetting* PlaybackProfileItemConfig::m_deint1 {nullptr}
private

◆ m_filters

TransTextEditSetting* PlaybackProfileItemConfig::m_filters {nullptr}
private

Definition at line 234 of file globalsettings.h.

Referenced by Load(), PlaybackProfileItemConfig(), Save(), and vrenderChanged().

◆ m_parentConfig

PlaybackProfileConfig* PlaybackProfileItemConfig::m_parentConfig {nullptr}
private

Definition at line 235 of file globalsettings.h.

Referenced by DecreasePriority(), DoDeleteSlot(), and IncreasePriority().

◆ m_index

uint PlaybackProfileItemConfig::m_index {0}
private

Definition at line 236 of file globalsettings.h.

Referenced by DecreasePriority(), GetIndex(), and IncreasePriority().


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