MythTV  master
Signals | Public Member Functions | Private Member Functions | List of all members
GallerySettings Class Reference

#include <galleryconfig.h>

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

Signals

void ClearDbPressed ()
 
void DateChanged ()
 
void OrderChanged ()
 
void ExclusionsChanged ()
 
- Signals inherited from StandardSetting
void valueChanged (const QString &)
 
void valueChanged (StandardSetting *)
 
void ShouldRedraw (StandardSetting *)
 
void settingsChanged (StandardSetting *selectedSetting=nullptr)
 
void ChangeSaved ()
 

Public Member Functions

 GallerySettings (bool enable)
 
 GallerySettings ()
 
- 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 *)
 
void MoveToThread (QThread *thread)
 
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()=default
 

Private Member Functions

StandardSettingDirOrder ()
 
StandardSettingImageOrder ()
 
StandardSettingDateFormat ()
 
StandardSettingExclusions (bool enabled)
 Setting for excluding image files by pattern. More...
 
StandardSettingClearDb (bool enabled)
 Setting for clearing image database. More...
 
void ShowConfirmDialog ()
 
 Q_DECLARE_TR_FUNCTIONS (GallerySettings)
 

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 *)
 
- 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 9 of file galleryconfig.h.

Constructor & Destructor Documentation

◆ GallerySettings() [1/2]

GallerySettings::GallerySettings ( bool  enable)
explicit

Definition at line 268 of file galleryconfig.cpp.

◆ GallerySettings() [2/2]

GallerySettings::GallerySettings ( )

Definition at line 296 of file gallerysettings.cpp.

Member Function Documentation

◆ DirOrder()

StandardSetting * GallerySettings::DirOrder ( )
private

Definition at line 46 of file galleryconfig.cpp.

Referenced by GallerySettings().

◆ ImageOrder()

StandardSetting * GallerySettings::ImageOrder ( )
private

Definition at line 11 of file galleryconfig.cpp.

Referenced by GallerySettings().

◆ DateFormat()

StandardSetting * GallerySettings::DateFormat ( )
private

Definition at line 68 of file galleryconfig.cpp.

Referenced by GallerySettings().

◆ Exclusions()

StandardSetting * GallerySettings::Exclusions ( bool  enabled)
private

Setting for excluding image files by pattern.

Parameters
enabledTrue if password has been entered

Definition at line 182 of file galleryconfig.cpp.

Referenced by GallerySettings().

◆ ClearDb()

StandardSetting * GallerySettings::ClearDb ( bool  enabled)
private

Setting for clearing image database.

Parameters
enabledTrue if password has been entered

Definition at line 236 of file galleryconfig.cpp.

Referenced by GallerySettings().

◆ ShowConfirmDialog()

void GallerySettings::ShowConfirmDialog ( )
private

Definition at line 251 of file galleryconfig.cpp.

Referenced by ClearDb().

◆ ClearDbPressed

void GallerySettings::ClearDbPressed ( )
signal

◆ DateChanged

void GallerySettings::DateChanged ( )
signal

◆ OrderChanged

void GallerySettings::OrderChanged ( )
signal

◆ ExclusionsChanged

void GallerySettings::ExclusionsChanged ( )
signal

◆ Q_DECLARE_TR_FUNCTIONS()

GallerySettings::Q_DECLARE_TR_FUNCTIONS ( GallerySettings  )
private

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