MythTV
master
|
#include <mythfrontend/globalsettings.h>
Public Member Functions | |
PlaybackProfileItemConfig (PlaybackProfileConfig *parent, uint idx, MythVideoProfileItem &_item) | |
void | Load (void) override |
void | Save (void) override |
bool | keyPressEvent (QKeyEvent *e) override |
uint | GetIndex (void) const |
void | ShowDeleteDialog (void) const |
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 |
StandardSetting * | byName (const QString &name) |
bool | isVisible (void) const |
bool | isEnabled () const |
bool | isReadOnly () const |
bool | haveChanged () |
Return true if the setting have changed or any of its children. More... | |
void | setChanged (bool changed) |
StandardSetting * | getParent () const |
virtual QString | getValue (void) const |
void | SetDBValue (const QString &val) override |
QString | GetDBValue (void) const override |
MythUIButtonListItem * | createButton (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) |
Storage * | GetStorage (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 | SingleQualityChanged (const QString &Quality) |
void | DoubleQualityChanged (const QString &Quality) |
static void | LoadQuality (TransMythUIComboBoxSetting *Deint, TransMythUICheckBoxSetting *Shader, TransMythUICheckBoxSetting *Driver, QString &Value) |
Parse the required deinterlacing quality and preferences. More... | |
static QString | GetQuality (TransMythUIComboBoxSetting *Deint, TransMythUICheckBoxSetting *Shader, TransMythUICheckBoxSetting *Driver) |
void | InitLabel (void) |
void | DoDeleteSlot (bool doDelete) |
Private Attributes | |
MythVideoProfileItem & | m_item |
TransTextEditSetting * | m_widthRange {nullptr} |
TransTextEditSetting * | m_heightRange {nullptr} |
MythUIComboBoxSetting * | m_codecs {nullptr} |
TransTextEditSetting * | m_framerate {nullptr} |
TransMythUIComboBoxSetting * | m_decoder {nullptr} |
TransMythUISpinBoxSetting * | m_maxCpus {nullptr} |
TransMythUICheckBoxSetting * | m_skipLoop {nullptr} |
TransMythUIComboBoxSetting * | m_vidRend {nullptr} |
TransMythUIComboBoxSetting * | m_upscaler {nullptr} |
TransMythUIComboBoxSetting * | m_singleDeint {nullptr} |
TransMythUICheckBoxSetting * | m_singleShader {nullptr} |
TransMythUICheckBoxSetting * | m_singleDriver {nullptr} |
TransMythUIComboBoxSetting * | m_doubleDeint {nullptr} |
TransMythUICheckBoxSetting * | m_doubleShader {nullptr} |
TransMythUICheckBoxSetting * | m_doubleDriver {nullptr} |
PlaybackProfileConfig * | m_parentConfig {nullptr} |
uint | m_index {0} |
Additional Inherited Members | |
Public Slots inherited from StandardSetting | |
virtual void | setEnabled (bool enabled) |
virtual void | setReadOnly (bool readonly) |
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} |
bool | m_readonly {false} |
QString | m_label |
QString | m_helptext |
QString | m_name |
bool | m_visible {true} |
Definition at line 213 of file globalsettings.h.
PlaybackProfileItemConfig::PlaybackProfileItemConfig | ( | PlaybackProfileConfig * | parent, |
uint | idx, | ||
MythVideoProfileItem & | _item | ||
) |
Definition at line 736 of file globalsettings.cpp.
|
overridevirtual |
Reimplemented from StandardSetting.
Definition at line 898 of file globalsettings.cpp.
|
overridevirtual |
Reimplemented from StandardSetting.
Definition at line 988 of file globalsettings.cpp.
|
overridevirtual |
Reimplemented from StandardSetting.
Definition at line 1150 of file globalsettings.cpp.
uint PlaybackProfileItemConfig::GetIndex | ( | void | ) | const |
Definition at line 893 of file globalsettings.cpp.
Referenced by PlaybackProfileConfig::DeleteProfileItem().
void PlaybackProfileItemConfig::ShowDeleteDialog | ( | void | ) | const |
Definition at line 1167 of file globalsettings.cpp.
Referenced by PlaybackSettingsDialog::DeleteProfileItem(), and keyPressEvent().
void PlaybackProfileItemConfig::DecreasePriority | ( | void | ) |
Definition at line 1191 of file globalsettings.cpp.
void PlaybackProfileItemConfig::IncreasePriority | ( | void | ) |
Definition at line 1196 of file globalsettings.cpp.
|
privateslot |
Definition at line 1005 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1019 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1033 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1047 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1072 of file globalsettings.cpp.
Referenced by decoderChanged(), and PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1078 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
privateslot |
Definition at line 1085 of file globalsettings.cpp.
Referenced by PlaybackProfileItemConfig().
|
staticprivateslot |
Parse the required deinterlacing quality and preferences.
Definition at line 1099 of file globalsettings.cpp.
Referenced by Load().
|
staticprivateslot |
Definition at line 1130 of file globalsettings.cpp.
Referenced by Save().
|
privateslot |
Definition at line 1212 of file globalsettings.cpp.
Referenced by decoderChanged(), framerateChanged(), heightChanged(), PlaybackProfileItemConfig(), vrenderChanged(), and widthChanged().
|
privateslot |
Definition at line 1185 of file globalsettings.cpp.
Referenced by ShowDeleteDialog().
|
private |
Definition at line 249 of file globalsettings.h.
Referenced by framerateChanged(), heightChanged(), Load(), Save(), and widthChanged().
|
private |
Definition at line 250 of file globalsettings.h.
Referenced by InitLabel(), Load(), PlaybackProfileItemConfig(), Save(), and widthChanged().
|
private |
Definition at line 251 of file globalsettings.h.
Referenced by heightChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 252 of file globalsettings.h.
Referenced by InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 253 of file globalsettings.h.
Referenced by framerateChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 254 of file globalsettings.h.
Referenced by decoderChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 255 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 256 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 257 of file globalsettings.h.
Referenced by decoderChanged(), InitLabel(), Load(), PlaybackProfileItemConfig(), Save(), and vrenderChanged().
|
private |
Definition at line 258 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 259 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 260 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), Save(), and SingleQualityChanged().
|
private |
Definition at line 261 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), Save(), and SingleQualityChanged().
|
private |
Definition at line 262 of file globalsettings.h.
Referenced by Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 263 of file globalsettings.h.
Referenced by DoubleQualityChanged(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 264 of file globalsettings.h.
Referenced by DoubleQualityChanged(), Load(), PlaybackProfileItemConfig(), and Save().
|
private |
Definition at line 265 of file globalsettings.h.
Referenced by DecreasePriority(), DoDeleteSlot(), and IncreasePriority().
|
private |
Definition at line 266 of file globalsettings.h.
Referenced by DecreasePriority(), GetIndex(), and IncreasePriority().