#include <inspectorplugin.h>
|
QSettings * | settings () const |
|
QVariant | get (const QString key) const |
|
bool | has (const QString key) const |
|
void | set (const QString key, QVariant value, bool temporary=false) |
|
void | remove (const QString key) |
|
QVariant | preference (const QString key) const |
|
QMetaType::Type | type (const QString key) const |
|
bool | checkIfKeyExists (const QString key) const |
|
bool | checkType (const QString key, QMetaType::Type t) const |
|
QMap< QString, QVariant > | getDefaultLocalPreferences () |
|
◆ prefs_map_t
◆ Preferences()
Ms::Preferences::Preferences |
( |
| ) |
|
◆ ~Preferences()
Ms::Preferences::~Preferences |
( |
| ) |
|
◆ allPreferences()
const prefs_map_t& Ms::Preferences::allPreferences |
( |
| ) |
const |
|
inline |
◆ checkIfKeyExists()
bool Ms::Preferences::checkIfKeyExists |
( |
const QString |
key | ) |
const |
|
private |
◆ checkType()
bool Ms::Preferences::checkType |
( |
const QString |
key, |
|
|
QMetaType::Type |
t |
|
) |
| const |
|
private |
◆ clearMidiRemote()
void Ms::Preferences::clearMidiRemote |
( |
int |
recordId | ) |
|
◆ defaultValue()
QVariant Ms::Preferences::defaultValue |
( |
const QString |
key | ) |
const |
◆ get()
QVariant Ms::Preferences::get |
( |
const QString |
key | ) |
const |
|
private |
◆ getBool()
bool Ms::Preferences::getBool |
( |
const QString |
key | ) |
const |
◆ getColor()
QColor Ms::Preferences::getColor |
( |
const QString |
key | ) |
const |
◆ getDefaultLocalPreferences()
QMap< QString, QVariant > Ms::Preferences::getDefaultLocalPreferences |
( |
| ) |
|
|
private |
◆ getDouble()
double Ms::Preferences::getDouble |
( |
const QString |
key | ) |
const |
◆ getInt() [1/2]
int Ms::Preferences::getInt |
( |
QString |
key | ) |
const |
◆ getInt() [2/2]
int Ms::Preferences::getInt |
( |
const QString |
key | ) |
const |
◆ getLocalPreferences()
QMap<QString, QVariant> Ms::Preferences::getLocalPreferences |
( |
| ) |
|
|
inline |
◆ getString()
QString Ms::Preferences::getString |
( |
const QString |
key | ) |
const |
◆ getUseLocalPreferences()
bool Ms::Preferences::getUseLocalPreferences |
( |
| ) |
|
|
inline |
◆ globalStyle()
◆ has()
bool Ms::Preferences::has |
( |
const QString |
key | ) |
const |
|
private |
◆ init()
void Ms::Preferences::init |
( |
bool |
storeInMemoryOnly = false | ) |
|
◆ isThemeDark() [1/2]
bool Ms::Preferences::isThemeDark |
( |
| ) |
const |
◆ isThemeDark() [2/2]
bool Ms::Preferences::isThemeDark |
( |
| ) |
const |
◆ midiRemote()
MidiRemote Ms::Preferences::midiRemote |
( |
int |
recordId | ) |
const |
◆ musicxmlExportBreaks()
◆ preference()
QVariant Ms::Preferences::preference |
( |
const QString |
key | ) |
const |
|
private |
◆ remove()
void Ms::Preferences::remove |
( |
const QString |
key | ) |
|
|
private |
◆ save()
void Ms::Preferences::save |
( |
| ) |
|
◆ sessionStart()
◆ set()
void Ms::Preferences::set |
( |
const QString |
key, |
|
|
QVariant |
value, |
|
|
bool |
temporary = false |
|
) |
| |
|
private |
◆ setCustomPreference()
template<typename T >
void Ms::Preferences::setCustomPreference |
( |
const QString |
key, |
|
|
T |
t |
|
) |
| |
|
inline |
◆ setLocalPreference()
void Ms::Preferences::setLocalPreference |
( |
QString |
key, |
|
|
QVariant |
value |
|
) |
| |
◆ setPreference()
void Ms::Preferences::setPreference |
( |
const QString |
key, |
|
|
QVariant |
value |
|
) |
| |
◆ setReturnDefaultValuesMode()
void Ms::Preferences::setReturnDefaultValuesMode |
( |
bool |
returnDefaultValues | ) |
|
|
inline |
◆ setTemporaryPreference()
void Ms::Preferences::setTemporaryPreference |
( |
const QString |
key, |
|
|
QVariant |
value |
|
) |
| |
◆ settings()
QSettings * Ms::Preferences::settings |
( |
| ) |
const |
|
private |
◆ setToDefaultValue()
void Ms::Preferences::setToDefaultValue |
( |
const QString |
key | ) |
|
◆ setUseLocalPreferences()
void Ms::Preferences::setUseLocalPreferences |
( |
bool |
value | ) |
|
|
inline |
◆ type()
QMetaType::Type Ms::Preferences::type |
( |
const QString |
key | ) |
const |
|
private |
◆ updateLocalPreferences()
void Ms::Preferences::updateLocalPreferences |
( |
| ) |
|
|
inline |
◆ updateMidiRemote()
void Ms::Preferences::updateMidiRemote |
( |
int |
recordId, |
|
|
MidiRemoteType |
type, |
|
|
int |
data |
|
) |
| |
◆ _allPreferences
◆ _initialized
bool Ms::Preferences::_initialized = false |
|
private |
◆ _inMemorySettings
QHash<QString, QVariant> Ms::Preferences::_inMemorySettings |
|
private |
◆ _returnDefaultValues
bool Ms::Preferences::_returnDefaultValues = false |
|
private |
◆ _settings
QSettings* Ms::Preferences::_settings |
|
private |
◆ _storeInMemoryOnly
bool Ms::Preferences::_storeInMemoryOnly = false |
|
private |
◆ localPreferences
QMap<QString, QVariant> Ms::Preferences::localPreferences |
|
private |
◆ useLocalPrefs
bool Ms::Preferences::useLocalPrefs = false |
|
private |
The documentation for this class was generated from the following files: