6 #ifndef SWIFT_MISC_SIMULATION_SETTINGS_MODELSETTINGS_H
7 #define SWIFT_MISC_SIMULATION_SETTINGS_MODELSETTINGS_H
16 namespace swift::misc::simulation::settings
25 IndexAllowExclude = CPropertyIndexRef::GlobalIndexCSimulatorSettings
38 QString convertToQString(
bool i18n =
false)
const;
47 bool m_allowExcludeModels =
false;
58 static const char *
key() {
return "Models"; }
63 static const QString name(
"Model settings");
74 static const QString name(
"Distributor preferences");
79 static const char *
key() {
return "mapping/distributorpreferences"; }
Generic ordered container with value semantics.
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
ColumnIndex
Base class enums.
CModelSettings()=default
Default constructor.
void setAllowExcludedModels(bool allow)
Allow excluded models?
bool getAllowExcludedModels() const
Allow excluded models?
Base class for traits to be used as template argument to swift::misc::CSetting.
Mapping preferences for model distributor list.
static const char * key()
Key string of the value. Reimplemented in derived class.
static const QString & humanReadable()
Optional human readable name.
Trait for simulator settings.
static const char * key()
Key in data cache.
static const QString & humanReadable()
Optional human readable name.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...