RLineweight
Class in Core Module
Header: #include <src/core/RLineweight.h>
Description
Section titled “Description”Scriptable: This class is available in script environments.
Copyable: Objects are cleaned up automatically by the garbage collector of the script engine.
Public Types
Section titled “Public Types”| enum | Lineweight { Weight000, Weight005, Weight009, Weight013, Weight015, Weight018, Weight020, Weight025, Weight030, Weight035, Weight040, Weight050, Weight053, Weight060, Weight070, Weight080, Weight090, Weight100, Weight106, Weight120, Weight140, Weight158, Weight200, Weight211, WeightByLayer, WeightByBlock, WeightByLwDefault, WeightInvalid } |
Public Functions
Section titled “Public Functions”RLineweight() |
Static Public Functions
Section titled “Static Public Functions”| static RLineweight::Lineweight | getClosestMatch(double lw) |
| static QIcon | getIcon(RLineweight::Lineweight color, const QSize &size=RDEFAULT_QSIZE_ICON) |
| static QList< QPair< QString, RLineweight::Lineweight > > | getList(bool onlyFixed, bool noDefault=false) |
| static QString | getName(RLineweight::Lineweight lineweight) |
Static Private Functions
Section titled “Static Private Functions”| static void | init() |
| static void | init(const QString &cn, RLineweight::Lineweight lineweight) |
Static Private Attributes
Section titled “Static Private Attributes”| static QMap< QPair< RLineweight::Lineweight, QPair< int, int > >, QIcon > | iconMap |
| static bool | isInitialized |
| static QList< QPair< QString, RLineweight::Lineweight > > | list |
Member Documentation
Section titled “Member Documentation”Lineweight
Section titled “Lineweight”enum LineweightRLineweight
Section titled “RLineweight”RLineweight::RLineweight()getClosestMatch
Section titled “getClosestMatch”static RLineweight::Lineweight RLineweight::getClosestMatch(double lw)static
getIcon
Section titled “getIcon”static QIcon RLineweight::getIcon(RLineweight::Lineweight color, const QSize &size=RDEFAULT_QSIZE_ICON)static
getList
Section titled “getList”static QList< QPair< QString, RLineweight::Lineweight > > RLineweight::getList(bool onlyFixed, bool noDefault=false)static
getName
Section titled “getName”static QString RLineweight::getName(RLineweight::Lineweight lineweight)static
static void RLineweight::init()static private
static void RLineweight::init(const QString &cn, RLineweight::Lineweight lineweight)static private
iconMap
Section titled “iconMap”static QMap< QPair< RLineweight::Lineweight, QPair< int, int > >, QIcon > RLineweight::iconMapstatic private
isInitialized
Section titled “isInitialized”static bool RLineweight::isInitialized = falsestatic private
static QList< QPair< QString, RLineweight::Lineweight > > RLineweight::liststatic private
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.