10namespace swift::misc::simulation::settings
15 return QStringLiteral(
"Allow exclude: %1").arg(
boolToYesNo(this->m_allowExcludeModels));
Non-owning reference to a CPropertyIndex with a subset of its features.
CastType frontCasted() const
First element casted to given type, usually the PropertIndex enum.
bool isMyself() const
Myself index, used with nesting.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
QString convertToQString(bool i18n=false) const
Cast as QString.
CModelSettings()=default
Default constructor.
void setAllowExcludedModels(bool allow)
Allow excluded models?
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
ColumnIndex
Properties by index.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
SWIFT_MISC_EXPORT const QString & boolToYesNo(bool v)
Bool to yes/no.
QVariant fromValue(T &&value)
bool toBool() const const
#define SWIFT_DEFINE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template definition of mixins for a CValueObject subclass.