|
QCAD Application Framework
CAD Application Development and Automation.
|
Class namespace for various global enums. More...
#include <RS.h>
Static Public Member Functions | |
| static bool | compare (const QVariant &v1, const QVariant &v2) |
| static bool | compare (const QPair< QVariant, RPropertyAttributes > &p1, const QPair< QVariant, RPropertyAttributes > &p2) |
| 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. | |
| static QStringList | getFontList () |
| static QString | getHostId () |
| static QStringList | getPatternList (bool metric) |
| static QString | getSystemId () |
| 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 Public Attributes | |
| static const double | AngleTolerance = 1.0e-9 |
| static const double | PointTolerance = 1.0e-9 |
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::DwgVersion |
| enum RS::Ending |
| enum RS::EntityType |
Entity types used for property handling / filtering.
| EntityAll |
All entities (for filters) |
| EntityUnknown |
Unknown. |
| EntityBlockRef |
Block reference. |
| EntityPoint | |
| EntityLine |
Line. |
| EntityPolyline | |
| EntityArc |
Arc. |
| EntityCircle | |
| EntityEllipse | |
| EntitySolid |
Solid. |
| Entity3dFace |
3d Face |
| EntityText |
Text. |
| EntityDimension |
Any Dimension. |
| EntityDimLinear |
Any linear dimension. |
| EntityDimAligned |
Linear aligned Dimension. |
| EntityDimRotated |
Linear rotated Dimension. |
| EntityDimRadial |
Radial Dimension. |
| EntityDimDiametric |
Diametric Dimension. |
| EntityDimAngular |
Angular Dimension. |
| EntityDimOrdinate |
Ordinate Dimension. |
| EntityHatch | |
| EntityImage | |
| EntityLeader | |
| EntitySpline | |
| 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::From |
| enum RS::HAlign |
| enum RS::KnownVariable |
Well established document variables.
| ANGBASE | |
| ANGDIR | |
| ATTMODE | |
| AUNITS | |
| AUPREC | |
| CECOLOR | |
| CELTSCALE | |
| CHAMFERA | |
| CHAMFERB | |
| CHAMFERC | |
| CHAMFERD | |
| 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 | |
| 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 | |
| DRAWORDERCTL | |
| ELEVATION | |
| EXTMAX | |
| EXTMIN | |
| FACETRES | |
| FILLETRAD | |
| FILLMODE | |
| INSBASE | |
| INSUNITS | |
| ISOLINES | |
| LIMCHECK | |
| LIMMAX | |
| LIMMIN | |
| LTSCALE | |
| LUNITS | |
| LUPREC | |
| MAXACTVP | |
| 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 | |
| THICKNESS | |
| TILEMODE | |
| TRACEWID | |
| TREEDEPTH | |
| UCSNAME | |
| UCSORG | |
| UCSXDIR | |
| UCSYDIR | |
| UNITMODE | |
| USERI1 | |
| USERI2 | |
| USERI3 | |
| USERI4 | |
| USERI5 | |
| USERR1 | |
| USERR2 | |
| USERR3 | |
| USERR4 | |
| USERR5 | |
| USRTIMER | |
| VISRETAIN | |
| WORLDVIEW | |
| MaxKnownVariable |
| enum RS::LinearFormat |
Format for length values.
| enum RS::MessageType |
Sets the current rendering hint for exports.
| enum RS::Side |
Text drawing direction.
Line spacing style for texts.
| enum RS::Unit |
Enum of supported units (values correspond to DXF spec).
| enum RS::VAlign |
|
static |
|
static |
|
static |
|
static |
|
static |
Searches for files in various directories under the given subdirectory which match the given file extension.
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |