Go to the documentation of this file.
10 #include <QStringList>
25 QString script =
"") :
69 QString _help_text,
DataType _dtype) :
80 QStringList _data_list, QStringList _display_list) :
90 QString _label, QString _help_text,
DataType _dtype,
91 long long _range_min,
long long _range_max) :
100 QString _label, QString _help_text,
DataType _dtype,
101 QStringList _data_list, QStringList _display_list,
102 long long _range_min,
long long _range_max,
103 QString _placeholder) :
132 const QString &group =
"");
135 const QMap<QString,QString> ¶ms, QString &result);
142 #endif // MYTHSETTINGS_H
virtual QString ToHTML(uint) const
QMap< QString, QString > GetSettingsMap(const MythSettingList &settings, const QString &hostname)
@ kComboBox
list where user input is allowed
QString m_placeholder_text
bool check_settings(MythSettingList &database_settings, const QMap< QString, QString > ¶ms, QString &result)
QString ToHTML(uint level) const override
MythSetting(QString _value, const QString &_default_data, SettingType _stype, QString _label, QString _help_text, DataType _dtype, long long _range_min, long long _range_max)
@ kSelect
list where only data_list are valid
bool parse_settings(MythSettingList &settings, const QString &filename, const QString &group="")
QStringList m_display_list
QStringList GetSettingValueList(const QString &type)
QString m_unique_label
div name for stylesheets & javascript
MythSettingBase()=default
QString ToHTML(uint depth) const override
MythSettingList m_settings
MythSettingGroup(QString hlabel, QString ulabel, QString script="")
bool load_settings(MythSettingList &settings, const QString &hostname)
MythSetting(QString _value, const QString &_default_data, SettingType _stype, QString _label, QString _help_text, DataType _dtype, QStringList _data_list, QStringList _display_list, long long _range_min, long long _range_max, QString _placeholder)
QList< MythSettingBase * > MythSettingList
MythSetting(QString _value, const QString &_default_data, SettingType _stype, QString _label, QString _help_text, DataType _dtype)
virtual ~MythSettingBase()=default
QString StringMapToJSON(const QMap< QString, QString > &map)
MythSetting(QString _value, const QString &_default_data, SettingType _stype, QString _label, QString _help_text, DataType _dtype, QStringList _data_list, QStringList _display_list)
QString StringListToJSON(const QString &key, const QStringList &sList)