Skip to content

RDimStyleData

Class in Entity Module
Header: #include <src/core/RDimStyleData.h>
Inherited by: RDimStyle

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. Dimension style data class.

Scriptable: This class is available in script environments.

Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.

RDimStyleData(bool override=false)
virtual ~RDimStyleData()
void clear()
bool getBool(RS::KnownVariable key) const
RColor getColor(RS::KnownVariable key) const
double getDouble(RS::KnownVariable key) const
int getInt(RS::KnownVariable key) const
QVariant getVariant(RS::KnownVariable key) const
bool hasOverride(RS::KnownVariable key) const
void initFromSettings()
bool isValid() const
void removeBool(RS::KnownVariable key)
void removeColor(RS::KnownVariable key)
void removeDouble(RS::KnownVariable key)
void removeInt(RS::KnownVariable key)
virtual void setBool(RS::KnownVariable key, bool val)
virtual void setColor(RS::KnownVariable key, const RColor &val)
virtual void setDouble(RS::KnownVariable key, double val)
virtual void setInt(RS::KnownVariable key, int val)
void setVariant(RS::KnownVariable key, const QVariant &val)
static bool getBoolDefault(RS::KnownVariable key)
static RColor getColorDefault(RS::KnownVariable key)
static double getDoubleDefault(RS::KnownVariable key)
static int getIntDefault(RS::KnownVariable key)
static RS::KnownVariableType getVariableType(RS::KnownVariable key)
static QVariant getVariantDefault(RS::KnownVariable key)
static void init()
static void initDefaults()
static QMap< RS::KnownVariable, RS::KnownVariableType > dimXTypes
QMap< RS::KnownVariable, bool > mapBool
QMap< RS::KnownVariable, RColor > mapColor
QMap< RS::KnownVariable, double > mapDouble
QMap< RS::KnownVariable, int > mapInt
static QMap< RS::KnownVariable, QVariant > mapDefaults
QDebug operator<<(QDebug dbg, const RDimStyleData &d)

RDimStyleData::RDimStyleData(bool override=false)

virtual RDimStyleData::~RDimStyleData()

virtual

void RDimStyleData::clear()

inline

bool RDimStyleData::getBool(RS::KnownVariable key) const

inline const

RColor RDimStyleData::getColor(RS::KnownVariable key) const

inline const

double RDimStyleData::getDouble(RS::KnownVariable key) const

inline const

int RDimStyleData::getInt(RS::KnownVariable key) const

inline const

QVariant RDimStyleData::getVariant(RS::KnownVariable key) const

inline const

bool RDimStyleData::hasOverride(RS::KnownVariable key) const

inline const

void RDimStyleData::initFromSettings()

bool RDimStyleData::isValid() const

inline const

void RDimStyleData::removeBool(RS::KnownVariable key)

inline

void RDimStyleData::removeColor(RS::KnownVariable key)

inline

void RDimStyleData::removeDouble(RS::KnownVariable key)

inline

void RDimStyleData::removeInt(RS::KnownVariable key)

inline

virtual void RDimStyleData::setBool(RS::KnownVariable key, bool val)

virtual inline

virtual void RDimStyleData::setColor(RS::KnownVariable key, const RColor &val)

virtual inline

virtual void RDimStyleData::setDouble(RS::KnownVariable key, double val)

virtual inline

virtual void RDimStyleData::setInt(RS::KnownVariable key, int val)

virtual inline

void RDimStyleData::setVariant(RS::KnownVariable key, const QVariant &val)

inline

static bool RDimStyleData::getBoolDefault(RS::KnownVariable key)

static

static RColor RDimStyleData::getColorDefault(RS::KnownVariable key)

static

static double RDimStyleData::getDoubleDefault(RS::KnownVariable key)

static

static int RDimStyleData::getIntDefault(RS::KnownVariable key)

static

static RS::KnownVariableType RDimStyleData::getVariableType(RS::KnownVariable key)

static inline

static QVariant RDimStyleData::getVariantDefault(RS::KnownVariable key)

static

static void RDimStyleData::init()

static

static void RDimStyleData::initDefaults()

static

static QMap< RS::KnownVariable, RS::KnownVariableType > RDimStyleData::dimXTypes

static

QMap<RS::KnownVariable, bool> RDimStyleData::mapBool

protected

QMap<RS::KnownVariable, RColor> RDimStyleData::mapColor

protected

QMap<RS::KnownVariable, double> RDimStyleData::mapDouble

protected

QMap<RS::KnownVariable, int> RDimStyleData::mapInt

protected

static QMap< RS::KnownVariable, QVariant > RDimStyleData::mapDefaults

static protected

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

QDebug operator<<(QDebug dbg, const RDimStyleData &d)

inline