QCAD
Open Source 2D CAD
|
Class namespace for various global enums. More...
#include <RS.h>
Static Public Member Functions | |
static bool | compare (const QPair< QVariant, RPropertyAttributes > &p1, const QPair< QVariant, RPropertyAttributes > &p2, bool noTolerance=false) |
static bool | compare (const QVariant &v1, const QVariant &v2, bool noTolerance=false) |
static int | compareAlphanumerical (const QString &s1, const QString &s2) |
Alphanumerical, locale aware, case insensitive comparison. More... | |
static QStringList | compareChunkify (const QString &s) |
static QString | getBuildCpuArchitecture () |
static int | getCpuCores () |
static QStringList | getDirectoryList (const QString &subDirectory) |
static QStringList | getFileList (const QString &subDirectory, const QString &fileExtension) |
Searches for files in various directories under the given subdirectory which match the given file extension. More... | |
static QStringList | getFontList () |
static QString | getHostId () |
Copyright (c) 2011-2018 by Andrew Mustun. More... | |
static int | getIdealThreadCount () |
static QStringList | getLinetypeList (bool metric) |
static QStringList | getPatternList (bool metric) |
static QString | getSystemId () |
static QString | getWindowManagerId () |
static bool | lessThanAlphanumerical (const QString &s1, const QString &s2) |
template<class T > | |
static bool | mapContainsCaseInsensitive (const QMap< QString, T > &map, const QString &key) |
template<class T > | |
static T | mapValueCaseInsensitive (const QMap< QString, T > &map, const QString &key) |
static bool | showInFileManager (const QString &filePaths) |
static QStringList | sortAlphanumerical (const QStringList &list) |
Alphanumerical sorting. More... | |
Static Public Attributes | |
static const double | AngleTolerance = 1.0e-9 |
static const double | PointTolerance = 1.0e-9 |
Copyright (c) 2011-2018 by Andrew Mustun. More... | |
Class namespace for various global enums.
Most enums fit in a class, but some are truly global, others cannot be declared in a class because this would result in problems with include files that depend on each other (note that there is no way to forward-declare nested classes or enums).
enum RS::AngleFormat |
Angle format for printing angles.
enum RS::AngleUnit |
enum RS::BooleanOperation |
enum RS::Easing |
enum RS::Ending |
enum RS::EndType |
enum RS::EntityType |
Entity types used for property handling / filtering.
Enumerator | |
---|---|
ObjectAll | |
ObjectUnknown | Unknown object. |
ObjectLinetype | |
ObjectLayer | |
ObjectBlock | |
ObjectLayout | |
ObjectLayerState | |
ObjectView | |
ObjectUcs | |
ObjectDocumentVariable | |
EntityAll | All entities (for filters) |
EntityUnknown | Unknown entity. |
EntityAttribute | Block attribute. |
EntityAttributeDefinition | Block attribute definition. |
EntityBlockRef | Block reference. |
EntityBlockRefAttr | Block reference with attributes. |
EntityPoint | |
EntityLine | Line. |
EntityXLine | XLine. |
EntityRay | Ray. |
EntityPolyline | |
EntityArc | Arc. |
EntityCircle | |
EntityEllipse | |
EntitySolid | Solid. |
Entity3dFace | 3d Face |
EntityTextBased | Any text based entity (text, attribute def, attribute) |
EntityText | Text. |
EntityTrace | Trace. |
EntityFace | Face. |
EntityDimension | Any Dimension. |
EntityDimLinear | Any linear dimension. |
EntityDimAligned | Linear aligned Dimension. |
EntityDimRotated | Linear rotated Dimension. |
EntityDimRadial | Radial Dimension. |
EntityDimDiametric | Diametric Dimension. |
EntityDimAngular | Angular Dimension. |
EntityDimAngular2L | Angular Dimension from 2 lines. |
EntityDimAngular3P | Angular Dimension from 3 points. |
EntityDimArcLength | |
EntityDimOrdinate | Ordinate Dimension. |
EntityHatch | |
EntityImage | |
EntityLeader | |
EntitySpline | |
EntityViewport | Viewport. |
EntityTolerance | Tolerance. |
EntityUser | User defined entity. Use this to identify entities that are added in a separate library and resort to C++ RTTI for RTTI. |
enum RS::FillType |
enum RS::From |
enum RS::HAlign |
Projection type for isometric projections.
enum RS::JoinType |
enum RS::KnownVariable |
Well established document variables.
Enumerator | |
---|---|
ANGBASE | |
ANGDIR | |
ATTMODE | |
AUNITS | |
AUPREC | |
CECOLOR | |
CELTSCALE | |
CHAMFERA | |
CHAMFERB | |
CHAMFERC | |
CHAMFERD | |
CLAYER | |
CMLJUST | |
CMLSCALE | |
DIMADEC | Decimal places in angular dimensions. |
DIMALT | |
DIMALTD | |
DIMALTF | |
DIMALTRND | |
DIMALTTD | |
DIMALTTZ | |
DIMALTU | |
DIMALTZ | |
DIMAPOST | |
DIMASZ | |
DIMATFIT | |
DIMAUNIT | Formatting of angular dimensions. |
DIMAZIN | Controls display of leading / trailing zeros for angular dimensions. |
DIMBLK | |
DIMBLK1 | |
DIMBLK2 | |
DIMCEN | |
DIMCLRD | |
DIMCLRE | |
DIMCLRT | |
DIMDEC | Decimal places in linear dimensions. |
DIMDLE | |
DIMDLI | |
DIMDSEP | Decimal separator in dimensions. |
DIMEXE | |
DIMEXO | |
DIMFRAC | |
DIMGAP | Distance between dimension text and dimension lines, negative for box. |
DIMJUST | Vertical position of dimension label. |
DIMLDRBLK | |
DIMLFAC | |
DIMLIM | |
DIMLUNIT | Formatting of linear dimensions. |
DIMLWD | |
DIMLWE | |
DIMPOST | |
DIMRND | |
DIMSAH | |
DIMSCALE | |
DIMSD1 | |
DIMSD2 | |
DIMSE1 | |
DIMSE2 | |
DIMSOXD | |
DIMTAD | Vertical position of dimension label. |
DIMTDEC | |
DIMTFAC | |
DIMTIH | |
DIMTIX | |
DIMTM | |
DIMTOFL | |
DIMTOH | |
DIMTOL | |
DIMTOLJ | |
DIMTP | |
DIMTSZ | Archtick size or 0 for arrows. |
DIMTVP | |
DIMTXSTY | |
DIMTXT | Dimension text size. |
DIMTZIN | |
DIMUPT | |
DIMZIN | Controls display of leading / trailing zeros for linear dimensions. |
DISPSILH | |
DWGCODEPAGE | |
DRAWORDERCTL | |
ELEVATION | |
EXTMAX | |
EXTMIN | |
FACETRES | |
FILLETRAD | |
FILLMODE | |
INSBASE | |
INSUNITS | |
ISOLINES | |
LIMCHECK | |
LIMMAX | |
LIMMIN | |
LTSCALE | |
LUNITS | |
LUPREC | |
MAXACTVP | |
MEASUREMENT | |
MIRRTEXT | |
ORTHOMODE | |
PDMODE | |
PDSIZE | |
PELEVATION | |
PELLIPSE | |
PEXTMAX | |
PEXTMIN | |
PINSBASE | |
PLIMCHECK | |
PLIMMAX | |
PLIMMIN | |
PLINEGEN | |
PLINEWID | |
PROXYGRAPHICS | |
PSLTSCALE | |
PUCSNAME | |
PUCSORG | |
PUCSXDIR | |
PUCSYDIR | |
QTEXTMODE | |
REGENMODE | |
SHADEDGE | |
SHADEDIF | |
SKETCHINC | |
SKPOLY | |
SPLFRAME | |
SPLINESEGS | |
SPLINETYPE | |
SURFTAB1 | |
SURFTAB2 | |
SURFTYPE | |
SURFU | |
SURFV | |
TEXTQLTY | |
TEXTSIZE | |
TEXTSTYLE | |
THICKNESS | |
TILEMODE | |
TRACEWID | |
TREEDEPTH | |
UCSNAME | |
UCSORG | |
UCSXDIR | |
UCSYDIR | |
UNITMODE | |
USERI1 | |
USERI2 | |
USERI3 | |
USERI4 | |
USERI5 | |
USERR1 | |
USERR2 | |
USERR3 | |
USERR4 | |
USERR5 | |
USRTIMER | |
VISRETAIN | |
WORLDVIEW | |
MaxKnownVariable | |
INVALID |
enum RS::LinearFormat |
Format for length values.
enum RS::Measurement |
enum RS::MessageType |
enum RS::Orientation |
enum RS::OrthoMode |
enum RS::Side |
Text drawing direction.
Enumerator | |
---|---|
LeftToRight | Left to right. |
TopToBottom | Top to bottom. |
ByStyle | Inherited from associated text style. |
Line spacing style for texts.
Enumerator | |
---|---|
AtLeast | Taller characters will override. |
Exact | Taller characters will not override. |
enum RS::Unit |
Enum of supported units (values correspond to DXF spec).
enum RS::VAlign |
|
static |
|
static |
noTolerance | True strict comparison of doubles. |
|
static |
Alphanumerical, locale aware, case insensitive comparison.
|
static |
|
static |
|
static |
|
static |
|
static |
Searches for files in various directories under the given subdirectory which match the given file extension.
|
static |
|
static |
Copyright (c) 2011-2018 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.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
Alphanumerical sorting.
|
static |
|
static |
Copyright (c) 2011-2018 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.