![]() |
QCAD
Open Source 2D CAD
|
Copyright (c) 2011-2021 by Andrew Mustun. More...
#include <RDimStyleData.h>
Public Member Functions | |
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 |
RDimStyleData (bool override=false) | |
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) |
virtual | ~RDimStyleData () |
Static Public Member Functions | |
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 Public Attributes | |
static QMap< RS::KnownVariable, RS::KnownVariableType > | dimXTypes |
Protected Attributes | |
QMap< RS::KnownVariable, bool > | mapBool |
QMap< RS::KnownVariable, RColor > | mapColor |
QMap< RS::KnownVariable, double > | mapDouble |
QMap< RS::KnownVariable, int > | mapInt |
Static Protected Attributes | |
static QMap< RS::KnownVariable, QVariant > | mapDefaults |
Copyright (c) 2011-2021 by Andrew Mustun. | |
Friends | |
QDebug | operator<< (QDebug dbg, const RDimStyleData &d) |
Copyright (c) 2011-2021 by Andrew Mustun.
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.
RDimStyleData::RDimStyleData | ( | bool | override = false | ) |
|
virtual |
|
inline |
|
inline |
|
static |
|
inline |
|
static |
|
inline |
|
static |
|
inline |
|
static |
|
inlinestatic |
|
inline |
|
static |
|
inline |
|
static |
|
static |
void RDimStyleData::initFromSettings | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
friend |
|
static |
|
protected |
|
protected |
|
staticprotected |
Copyright (c) 2011-2021 by Andrew Mustun.
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.
|
protected |
|
protected |