Seamly2D
Code documentation
ifcdef.cpp
Go to the documentation of this file.
1 /******************************************************************************
2 * @file ifcdef.cpp
3 ** @author Douglas S Caskey
4 ** @date 30 Apr, 2023
5 **
6 ** @brief
7 ** @copyright
8 ** This source code is part of the Seamly2D project, a pattern making
9 ** program to create and model patterns of clothing.
10 ** Copyright (C) 2017-2023 Seamly2D project
11 ** <https://github.com/fashionfreedom/seamly2d> All Rights Reserved.
12 **
13 ** Seamly2D is free software: you can redistribute it and/or modify
14 ** it under the terms of the GNU General Public License as published by
15 ** the Free Software Foundation, either version 3 of the License, or
16 ** (at your option) any later version.
17 **
18 ** Seamly2D is distributed in the hope that it will be useful,
19 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ** GNU General Public License for more details.
22 **
23 ** You should have received a copy of the GNU General Public License
24 ** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
25 **
26 *************************************************************************/
27 
28 /************************************************************************
29  **
30  ** @file ifcdef.cpp
31  ** @author Roman Telezhynskyi <dismine(at)gmail.com>
32  ** @date 11 6, 2015
33  **
34  ** @brief
35  ** @copyright
36  ** This source code is part of the Valentina project, a pattern making
37  ** program, whose allow create and modeling patterns of clothing.
38  ** Copyright (C) 2015 Valentina project
39  ** <https://github.com/fashionfreedom/seamly2d> All Rights Reserved.
40  **
41  ** Valentina is free software: you can redistribute it and/or modify
42  ** it under the terms of the GNU General Public License as published by
43  ** the Free Software Foundation, either version 3 of the License, or
44  ** (at your option) any later version.
45  **
46  ** Valentina is distributed in the hope that it will be useful,
47  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
48  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49  ** GNU General Public License for more details.
50  **
51  ** You should have received a copy of the GNU General Public License
52  ** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
53  **
54  *************************************************************************/
55 
56 #include "ifcdef.h"
57 
58 #include <QBrush>
59 #include <QIcon>
60 #include <QMap>
61 #include <QPainter>
62 #include <QPen>
63 #include <QPixmap>
64 #include <QStaticStringData>
65 #include <QStringData>
66 #include <QStringDataPtr>
67 
68 #include "../vmisc/diagnostic.h"
69 
70 const QString CustomMSign = QStringLiteral("@");
71 const QString CustomIncrSign = QStringLiteral("#");
72 
73 const QString AttrType = QStringLiteral("type");
74 const QString AttrMx = QStringLiteral("mx");
75 const QString AttrMy = QStringLiteral("my");
76 const QString AttrName = QStringLiteral("name");
77 const QString AttrMx1 = QStringLiteral("mx1");
78 const QString AttrMy1 = QStringLiteral("my1");
79 const QString AttrName1 = QStringLiteral("name1");
80 const QString AttrMx2 = QStringLiteral("mx2");
81 const QString AttrMy2 = QStringLiteral("my2");
82 const QString AttrName2 = QStringLiteral("name2");
83 const QString AttrBaseLineP1 = QStringLiteral("baseLineP1");
84 const QString AttrBaseLineP2 = QStringLiteral("baseLineP2");
85 const QString AttrDartP1 = QStringLiteral("dartP1");
86 const QString AttrDartP2 = QStringLiteral("dartP2");
87 const QString AttrDartP3 = QStringLiteral("dartP3");
88 const QString AttrX = QStringLiteral("x");
89 const QString AttrY = QStringLiteral("y");
90 const QString AttrLineType = QStringLiteral("lineType");
91 const QString AttrLineWeight = QStringLiteral("lineWeight");
92 const QString AttrObjName = QStringLiteral("objName");
93 const QString AttrCut = QStringLiteral("cut");
94 const QString AttrLength = QStringLiteral("length");
95 const QString AttrBasePoint = QStringLiteral("basePoint");
96 const QString AttrFirstPoint = QStringLiteral("firstPoint");
97 const QString AttrSecondPoint = QStringLiteral("secondPoint");
98 const QString AttrThirdPoint = QStringLiteral("thirdPoint");
99 const QString AttrCenter = QStringLiteral("center");
100 const QString AttrRadius = QStringLiteral("radius");
101 const QString AttrRadius1 = QStringLiteral("radius1");
102 const QString AttrRadius2 = QStringLiteral("radius2");
103 const QString AttrAngle = QStringLiteral("angle");
104 const QString AttrAngle1 = QStringLiteral("angle1");
105 const QString AttrAngle2 = QStringLiteral("angle2");
106 const QString AttrLength1 = QStringLiteral("length1");
107 const QString AttrLength2 = QStringLiteral("length2");
108 const QString AttrP1Line = QStringLiteral("p1Line");
109 const QString AttrP2Line = QStringLiteral("p2Line");
110 const QString AttrP1Line1 = QStringLiteral("p1Line1");
111 const QString AttrP2Line1 = QStringLiteral("p2Line1");
112 const QString AttrP1Line2 = QStringLiteral("p1Line2");
113 const QString AttrP2Line2 = QStringLiteral("p2Line2");
114 const QString AttrPShoulder = QStringLiteral("pShoulder");
115 const QString AttrPoint1 = QStringLiteral("point1");
116 const QString AttrPoint2 = QStringLiteral("point2");
117 const QString AttrPoint3 = QStringLiteral("point3");
118 const QString AttrPoint4 = QStringLiteral("point4");
119 const QString AttrKAsm1 = QStringLiteral("kAsm1");
120 const QString AttrKAsm2 = QStringLiteral("kAsm2");
121 const QString AttrKCurve = QStringLiteral("kCurve");
122 const QString AttrDuplicate = QStringLiteral("duplicate");
123 const QString AttrPathPoint = QStringLiteral("pathPoint");
124 const QString AttrPSpline = QStringLiteral("pSpline");
125 const QString AttrAxisP1 = QStringLiteral("axisP1");
126 const QString AttrAxisP2 = QStringLiteral("axisP2");
127 const QString AttrCurve = QStringLiteral("curve");
128 const QString AttrCurve1 = QStringLiteral("curve1");
129 const QString AttrCurve2 = QStringLiteral("curve2");
130 const QString AttrLineColor = QStringLiteral("lineColor");
131 const QString AttrColor = QStringLiteral("color");
132 const QString AttrPenStyle = QStringLiteral("penStyle");
133 const QString AttrFirstArc = QStringLiteral("firstArc");
134 const QString AttrSecondArc = QStringLiteral("secondArc");
135 const QString AttrCrossPoint = QStringLiteral("crossPoint");
136 const QString AttrVCrossPoint = QStringLiteral("vCrossPoint");
137 const QString AttrHCrossPoint = QStringLiteral("hCrossPoint");
138 const QString AttrAxisType = QStringLiteral("axisType");
139 const QString AttrC1Center = QStringLiteral("c1Center");
140 const QString AttrC2Center = QStringLiteral("c2Center");
141 const QString AttrC1Radius = QStringLiteral("c1Radius");
142 const QString AttrC2Radius = QStringLiteral("c2Radius");
143 const QString AttrCCenter = QStringLiteral("cCenter");
144 const QString AttrTangent = QStringLiteral("tangent");
145 const QString AttrCRadius = QStringLiteral("cRadius");
146 const QString AttrArc = QStringLiteral("arc");
147 const QString AttrSuffix = QStringLiteral("suffix");
148 const QString AttrIdObject = QStringLiteral("idObject");
149 const QString AttrInLayout = QStringLiteral("inLayout");
150 const QString AttrPieceLocked = QStringLiteral("locked");
151 const QString AttrRotationAngle = QStringLiteral("rotationAngle");
152 const QString AttrClosed = QStringLiteral("closed");
153 const QString AttrShowPointName = QStringLiteral("showPointName");
154 const QString AttrShowPointName1 = QStringLiteral("showPointName1");
155 const QString AttrShowPointName2 = QStringLiteral("showPointName2");
156 const QString AttrAlias = QStringLiteral("alias");
157 
158 const QString LineTypeNone = QStringLiteral("none");
159 const QString LineTypeSolidLine = QStringLiteral("solidLine");
160 const QString LineTypeDashLine = QStringLiteral("dashLine");
161 const QString LineTypeDotLine = QStringLiteral("dotLine");
162 const QString LineTypeDashDotLine = QStringLiteral("dashDotLine");
163 const QString LineTypeDashDotDotLine = QStringLiteral("dashDotDotLine");
164 
165 //---------------------------------------------------------------------------------------------------------------------
166 /**
167  * @brief LineTypeList return list of all line types.
168  * @return list of all line types.
169  */
170 QStringList LineTypes()
171 {
172  const QStringList lineTypes = QStringList() << LineTypeNone << LineTypeSolidLine << LineTypeDashLine
175  return lineTypes;
176 }
177 
178 //---------------------------------------------------------------------------------------------------------------------
179 /**
180  * @brief LineStyle return pen style for current line style.
181  * @return pen style.
182  */
183 Qt::PenStyle lineTypeToPenStyle(const QString &lineType)
184 {
185  const QStringList lineTypes = LineTypes();
186  switch (lineTypes.indexOf(lineType))
187  {
188  case 0: // LineTypeNone
189  return Qt::NoPen;
190  case 2: // LineTypeDashLine
191  return Qt::DashLine;
192  case 3: // LineTypeDotLine
193  return Qt::DotLine;
194  case 4: // LineTypeDashDotLine
195  return Qt::DashDotLine;
196  case 5: // LineTypeDashDotDotLine
197  return Qt::DashDotDotLine;
198  default:
199  return Qt::SolidLine;
200  }
201 }
202 
203 //---------------------------------------------------------------------------------------------------------------------
204 QString PenStyleToLineType(Qt::PenStyle penStyle)
205 {
206  QT_WARNING_PUSH
207  QT_WARNING_DISABLE_GCC("-Wswitch-default")
208 
209  switch (penStyle)
210  {
211  case Qt::NoPen:
212  return LineTypeNone;
213  case Qt::DashLine:
214  return LineTypeDashLine;
215  case Qt::DotLine:
216  return LineTypeDotLine;
217  case Qt::DashDotLine:
218  return LineTypeDashDotLine;
219  case Qt::DashDotDotLine:
220  return LineTypeDashDotDotLine;
221  default:
222  break;
223  }
224 
226 
227  return LineTypeSolidLine;
228 }
229 
230 //---------------------------------------------------------------------------------------------------------------------
232 {
234  map.remove(LineTypeNone);
235  return map;
236 }
237 
238 //---------------------------------------------------------------------------------------------------------------------
240 {
242 
243  const QStringList lineTypeNames = LineTypes();
244  for (int i = 0; i < lineTypeNames.size(); ++i)
245  {
246  QString name;
247  switch (i)
248  {
249  case 1: // LineTypeSolidLine
250  name = QObject::tr("Solidline");
251  break;
252  case 2: // LineTypeDashLine
253  name = QObject::tr("Dash");
254  break;
255  case 3: // LineTypeDotLine
256  name = QObject::tr("Dot");
257  break;
258  case 4: // LineTypeDashDotLine
259  name = QObject::tr("Dash Dot");
260  break;
261  case 5: // LineTypeDashDotDotLine
262  name = QObject::tr("Dash Dot Dot");
263  break;
264  case 0: // LineTypeNone
265  default:
266  name = QObject::tr("No Pen");
267  break;
268  }
269 
270  map.insert(lineTypeNames.at(i), name);
271  }
272  return map;
273 }
274 
275 //---------------------------------------------------------------------------------------------------------------------
277 {
279 
280  const QStringList lineWeights = QStringList() << "0" << "0.05" << "0.09" << "0.13" << "0.15" << "0.18"
281  << "0.2" << "0.25" << "0.3" << "0.35" << "0.4" << "0.5"
282  << "0.53" << "0.6" << "0.7" << "0.8" << "0.9" << "1"
283  << "1.06" << "1.2" << "1.4" << "1.58" << "2" << "2.11";
284 
285  for (int i = 0; i < lineWeights.size(); ++i)
286  {
287  QString name;
288  switch (i)
289  {
290  case 1:
291  name = "0.05mm";
292  break;
293  case 2:
294  name = "0.09";
295  break;
296  case 3:
297  name = "0.13mm (ISO)";
298  break;
299  case 4:
300  name = "0.15mm";
301  break;
302  case 5:
303  name = "0.18mm (ISO)";
304  break;
305  case 6:
306  name ="0.20mm";
307  break;
308  case 7:
309  name = "0.25mm (ISO)";
310  break;
311  case 8:
312  name = "0.30mm";
313  break;
314  case 9:
315  name = "0.35mm (ISO)";
316  break;
317  case 10:
318  name = "0.40mm";
319  break;
320  case 11:
321  name = "0.50mm (ISO)";
322  break;
323  case 12:
324  name ="0.53mm";
325  break;
326  case 13:
327  name = "0.60mm";
328  break;
329  case 14:
330  name = "0.70mm (ISO)";
331  break;
332  case 15:
333  name = "0.80mm";
334  break;
335  case 16:
336  name ="0.90mm";
337  break;
338  case 17:
339  name = "1.00mm (ISO)";
340  break;
341  case 18:
342  name = "1.06mm";
343  break;
344  case 19:
345  name = "1.20mm";
346  break;
347  case 20:
348  name = "1.40mm (ISO)";
349  break;
350  case 21:
351  name = "1.58mm";
352  break;
353  case 22:
354  name = "2.00mm (ISO)";
355  break;
356  case 23:
357  name = "2.11mm";
358  break;
359  case 0:
360  default:
361  name = "0.00mm";
362  break;
363  }
364 
365  map.insert(lineWeights.at(i), name);
366  }
367  return map;
368 }
369 const QString LineWeightByGroup = QStringLiteral("byGroup");
370 const QString LineTypeByGroup = QStringLiteral("byGroup");
371 const QString ColorByGroup = QStringLiteral("byGroup");
372 const QString ColorNone = QStringLiteral("none");
373 const QString ColorBlack = QStringLiteral("black");
374 const QString ColorGreen = QStringLiteral("green");
375 const QString ColorBlue = QStringLiteral("blue");
376 const QString ColorDarkRed = QStringLiteral("darkRed");
377 const QString ColorDarkGreen = QStringLiteral("darkGreen");
378 const QString ColorDarkBlue = QStringLiteral("darkBlue");
379 const QString ColorYellow = QStringLiteral("yellow");
380 const QString ColorLightSalmon = QStringLiteral("lightsalmon");
381 const QString ColorGoldenRod = QStringLiteral("goldenrod");
382 const QString ColorOrange = QStringLiteral("orange");
383 const QString ColorDeepPink = QStringLiteral("deeppink");
384 const QString ColorViolet = QStringLiteral("violet");
385 const QString ColorDarkViolet = QStringLiteral("darkviolet");
386 const QString ColorMediumSeaGreen = QStringLiteral("mediumseagreen");
387 const QString ColorLime = QStringLiteral("lime");
388 const QString ColorDeepSkyBlue = QStringLiteral("deepskyblue");
389 const QString ColorCornFlowerBlue = QStringLiteral("cornflowerblue");
390 const QString ColorGray = QStringLiteral("gray");
391 const QString ColorDarkGray = QStringLiteral("darkgray");
392 const QString ColorLightGray = QStringLiteral("lightgray");
393 const QString ColorWhite = QStringLiteral("white");
394 
395 const QString FillNone = QStringLiteral("nobrush");
396 const QString FillSolid = QStringLiteral("solidpattern");
397 const QString FillDense1 = QStringLiteral("dense1pattern");
398 const QString FillDense2 = QStringLiteral("dense2pattern");
399 const QString FillDense3 = QStringLiteral("dense3pattern");
400 const QString FillDense4 = QStringLiteral("dense4pattern");
401 const QString FillDense5 = QStringLiteral("dense5pattern");
402 const QString FillDense6 = QStringLiteral("dense6pattern");
403 const QString FillDense7 = QStringLiteral("dense7pattern");
404 const QString FillHorizLines = QStringLiteral("horpattern");
405 const QString FillVertLines = QStringLiteral("verpattern");
406 const QString FillCross = QStringLiteral("crosspattern");
407 const QString FillBackwardDiagonal = QStringLiteral("bdiagpattern");
408 const QString FillForwardDiagonal = QStringLiteral("fdiagpattern");
409 const QString FilldDiagonalCross = QStringLiteral("diagcrosspattern");
410 
411 //variables
412 const QString measurement_ = QStringLiteral("M_");
413 const QString variable_ = QStringLiteral("Variable_");
414 const QString line_ = QStringLiteral("Line_");
415 const QString angleLine_ = QStringLiteral("AngleLine_");
416 const QString spl_ = QStringLiteral(SPL_);
417 const QString arc_ = QStringLiteral(ARC_);
418 const QString elarc_ = QStringLiteral(ELARC_);
419 const QString splPath = QStringLiteral("SplPath");
420 const QString radius_V = QStringLiteral("Radius");
421 const QString radiusArc_ = radius_V + arc_;
422 const QString radius1ElArc_ = radius_V + QLatin1Char('1') + elarc_;
423 const QString radius2ElArc_ = radius_V + QLatin1Char('2') + elarc_;
424 const QString angle1_V = QStringLiteral("Angle1");
425 const QString angle2_V = QStringLiteral("Angle2");
426 const QString c1Length_V = QStringLiteral("C1Length");
427 const QString c2Length_V = QStringLiteral("C2Length");
428 const QString c1LengthSpl_ = c1Length_V + spl_;
429 const QString c2LengthSpl_ = c2Length_V + spl_;
432 const QString angle1Arc_ = angle1_V + arc_;
433 const QString angle2Arc_ = angle2_V + arc_;
434 const QString angle1ElArc_ = angle1_V + elarc_;
435 const QString angle2ElArc_ = angle2_V + elarc_;
436 const QString angle1Spl_ = angle1_V + spl_;
437 const QString angle2Spl_ = angle2_V + spl_;
438 const QString angle1SplPath = angle1_V + splPath;
439 const QString angle2SplPath = angle2_V + splPath;
440 const QString seg_ = QStringLiteral("Seg_");
441 const QString currentLength = QStringLiteral("CurrentLength");
442 const QString currentSeamAllowance = QStringLiteral("CurrentSeamAllowance");
443 
444 const QStringList builInVariables = QStringList() << measurement_
445  << variable_
446  << line_
447  << angleLine_
448  << arc_
449  << elarc_
450  << spl_
451  << splPath
452  << radiusArc_
453  << radius1ElArc_
454  << radius2ElArc_
455  << angle1Arc_
456  << angle2Arc_
457  << angle1ElArc_
458  << angle2ElArc_
459  << angle1Spl_
460  << angle2Spl_
461  << angle1SplPath
462  << angle2SplPath
463  << seg_
464  << currentLength
466  << c1LengthSpl_
467  << c2LengthSpl_
468  << c1LengthSplPath
469  << c2LengthSplPath;
const QString ColorDarkRed
Definition: ifcdef.cpp:376
const QString AttrPoint2
Definition: ifcdef.cpp:116
const QString ColorDarkGray
Definition: ifcdef.cpp:391
const QString AttrBasePoint
Definition: ifcdef.cpp:95
const QString ColorCornFlowerBlue
Definition: ifcdef.cpp:389
const QString CustomMSign
Definition: ifcdef.cpp:70
const QString AttrC1Radius
Definition: ifcdef.cpp:141
const QString LineTypeByGroup
Definition: ifcdef.cpp:370
const QString AttrName
Definition: ifcdef.cpp:76
const QString AttrKAsm2
Definition: ifcdef.cpp:120
const QString CustomIncrSign
Definition: ifcdef.cpp:71
const QString splPath
Definition: ifcdef.cpp:419
const QString AttrDuplicate
Definition: ifcdef.cpp:122
const QString angle1ElArc_
Definition: ifcdef.cpp:434
const QString ColorNone
Definition: ifcdef.cpp:372
const QString angle1SplPath
Definition: ifcdef.cpp:438
const QString elarc_
Definition: ifcdef.cpp:418
const QString c2Length_V
Definition: ifcdef.cpp:427
const QString AttrLength
Definition: ifcdef.cpp:94
const QString ColorLightGray
Definition: ifcdef.cpp:392
const QString AttrPShoulder
Definition: ifcdef.cpp:114
const QString AttrName1
Definition: ifcdef.cpp:79
const QString radius2ElArc_
Definition: ifcdef.cpp:423
const QString c1LengthSpl_
Definition: ifcdef.cpp:428
const QString FillDense6
Definition: ifcdef.cpp:402
const QString ColorBlue
Definition: ifcdef.cpp:375
const QString AttrLineType
Definition: ifcdef.cpp:90
const QString angle1Arc_
Definition: ifcdef.cpp:432
const QString AttrBaseLineP1
Definition: ifcdef.cpp:83
const QString arc_
Definition: ifcdef.cpp:417
const QString AttrSecondPoint
Definition: ifcdef.cpp:97
const QString AttrC2Radius
Definition: ifcdef.cpp:142
const QString FilldDiagonalCross
Definition: ifcdef.cpp:409
const QString AttrCurve2
Definition: ifcdef.cpp:129
const QString radius_V
Definition: ifcdef.cpp:420
const QString FillBackwardDiagonal
Definition: ifcdef.cpp:407
const QString FillDense4
Definition: ifcdef.cpp:400
const QString LineTypeSolidLine
Definition: ifcdef.cpp:159
const QString AttrFirstPoint
Definition: ifcdef.cpp:96
const QString AttrLineWeight
Definition: ifcdef.cpp:91
const QString AttrP1Line1
Definition: ifcdef.cpp:110
const QString AttrPSpline
Definition: ifcdef.cpp:124
const QString ColorMediumSeaGreen
Definition: ifcdef.cpp:386
const QString AttrShowPointName2
Definition: ifcdef.cpp:155
const QString AttrP1Line
Definition: ifcdef.cpp:108
const QString ColorYellow
Definition: ifcdef.cpp:379
const QString AttrPenStyle
Definition: ifcdef.cpp:132
const QString AttrSecondArc
Definition: ifcdef.cpp:134
const QString AttrAngle
Definition: ifcdef.cpp:103
const QString AttrCurve
Definition: ifcdef.cpp:127
const QString AttrShowPointName1
Definition: ifcdef.cpp:154
const QString LineTypeDashDotLine
Definition: ifcdef.cpp:162
const QString AttrFirstArc
Definition: ifcdef.cpp:133
const QString LineTypeDashDotDotLine
Definition: ifcdef.cpp:163
const QString AttrMx
Definition: ifcdef.cpp:74
const QString ColorGray
Definition: ifcdef.cpp:390
const QString AttrRadius2
Definition: ifcdef.cpp:102
const QString AttrShowPointName
Definition: ifcdef.cpp:153
const QString angle2Arc_
Definition: ifcdef.cpp:433
const QString AttrCurve1
Definition: ifcdef.cpp:128
const QString FillDense3
Definition: ifcdef.cpp:399
const QString LineTypeDashLine
Definition: ifcdef.cpp:160
const QString AttrP2Line
Definition: ifcdef.cpp:109
const QString seg_
Definition: ifcdef.cpp:440
const QString FillHorizLines
Definition: ifcdef.cpp:404
const QString AttrAxisType
Definition: ifcdef.cpp:138
const QString AttrY
Definition: ifcdef.cpp:89
const QString ColorGoldenRod
Definition: ifcdef.cpp:381
const QString AttrC1Center
Definition: ifcdef.cpp:139
const QString ColorDarkBlue
Definition: ifcdef.cpp:378
QStringList LineTypes()
LineTypeList return list of all line types.
Definition: ifcdef.cpp:170
const QString ColorViolet
Definition: ifcdef.cpp:384
const QString FillNone
Definition: ifcdef.cpp:395
const QString AttrCrossPoint
Definition: ifcdef.cpp:135
QMap< QString, QString > lineTypeList()
Definition: ifcdef.cpp:239
const QString AttrX
Definition: ifcdef.cpp:88
const QString AttrTangent
Definition: ifcdef.cpp:144
const QString AttrPoint3
Definition: ifcdef.cpp:117
const QString AttrMx2
Definition: ifcdef.cpp:80
const QString AttrDartP2
Definition: ifcdef.cpp:86
const QString FillCross
Definition: ifcdef.cpp:406
const QString FillDense2
Definition: ifcdef.cpp:398
const QString AttrLength2
Definition: ifcdef.cpp:107
const QString angle2_V
Definition: ifcdef.cpp:425
const QString angle2ElArc_
Definition: ifcdef.cpp:435
QMap< QString, QString > curveLineTypeList()
Definition: ifcdef.cpp:231
const QString AttrPoint1
Definition: ifcdef.cpp:115
const QString AttrAxisP2
Definition: ifcdef.cpp:126
const QString currentSeamAllowance
Definition: ifcdef.cpp:442
const QString line_
Definition: ifcdef.cpp:414
const QString angle2SplPath
Definition: ifcdef.cpp:439
const QString FillDense5
Definition: ifcdef.cpp:401
const QString c1Length_V
Definition: ifcdef.cpp:426
const QString AttrPieceLocked
Definition: ifcdef.cpp:150
const QString ColorLightSalmon
Definition: ifcdef.cpp:380
const QString AttrRotationAngle
Definition: ifcdef.cpp:151
const QString ColorBlack
Definition: ifcdef.cpp:373
const QString AttrBaseLineP2
Definition: ifcdef.cpp:84
const QString AttrClosed
Definition: ifcdef.cpp:152
const QString AttrDartP1
Definition: ifcdef.cpp:85
const QString LineTypeNone
Definition: ifcdef.cpp:158
const QString AttrRadius1
Definition: ifcdef.cpp:101
const QString AttrObjName
Definition: ifcdef.cpp:92
const QString AttrRadius
Definition: ifcdef.cpp:100
const QString variable_
Definition: ifcdef.cpp:413
const QString AttrName2
Definition: ifcdef.cpp:82
const QString AttrHCrossPoint
Definition: ifcdef.cpp:137
const QString AttrLength1
Definition: ifcdef.cpp:106
const QString AttrInLayout
Definition: ifcdef.cpp:149
const QString c1LengthSplPath
Definition: ifcdef.cpp:430
const QString spl_
Definition: ifcdef.cpp:416
QString PenStyleToLineType(Qt::PenStyle penStyle)
Definition: ifcdef.cpp:204
const QString c2LengthSpl_
Definition: ifcdef.cpp:429
const QString angle1Spl_
Definition: ifcdef.cpp:436
const QString AttrC2Center
Definition: ifcdef.cpp:140
const QString AttrKCurve
Definition: ifcdef.cpp:121
const QString radiusArc_
Definition: ifcdef.cpp:421
const QString angleLine_
Definition: ifcdef.cpp:415
const QString ColorDarkGreen
Definition: ifcdef.cpp:377
const QString AttrThirdPoint
Definition: ifcdef.cpp:98
const QString currentLength
Definition: ifcdef.cpp:441
const QString ColorWhite
Definition: ifcdef.cpp:393
const QString FillSolid
Definition: ifcdef.cpp:396
const QString AttrType
Definition: ifcdef.cpp:73
const QStringList builInVariables
Definition: ifcdef.cpp:444
const QString AttrVCrossPoint
Definition: ifcdef.cpp:136
const QString AttrDartP3
Definition: ifcdef.cpp:87
const QString ColorDeepPink
Definition: ifcdef.cpp:383
const QString AttrAxisP1
Definition: ifcdef.cpp:125
const QString AttrCRadius
Definition: ifcdef.cpp:145
const QString AttrMy
Definition: ifcdef.cpp:75
const QString AttrLineColor
Definition: ifcdef.cpp:130
const QString c2LengthSplPath
Definition: ifcdef.cpp:431
const QString AttrAngle2
Definition: ifcdef.cpp:105
const QString AttrPathPoint
Definition: ifcdef.cpp:123
const QString AttrMx1
Definition: ifcdef.cpp:77
const QString AttrP2Line2
Definition: ifcdef.cpp:113
const QString AttrP1Line2
Definition: ifcdef.cpp:112
const QString AttrPoint4
Definition: ifcdef.cpp:118
const QString AttrColor
Definition: ifcdef.cpp:131
const QString AttrIdObject
Definition: ifcdef.cpp:148
const QString AttrMy1
Definition: ifcdef.cpp:78
const QString AttrSuffix
Definition: ifcdef.cpp:147
const QString AttrMy2
Definition: ifcdef.cpp:81
const QString angle2Spl_
Definition: ifcdef.cpp:437
const QString AttrP2Line1
Definition: ifcdef.cpp:111
const QString AttrAlias
Definition: ifcdef.cpp:156
const QString AttrCCenter
Definition: ifcdef.cpp:143
const QString FillDense1
Definition: ifcdef.cpp:397
const QString FillVertLines
Definition: ifcdef.cpp:405
const QString angle1_V
Definition: ifcdef.cpp:424
const QString FillDense7
Definition: ifcdef.cpp:403
const QString measurement_
Definition: ifcdef.cpp:412
Qt::PenStyle lineTypeToPenStyle(const QString &lineType)
LineStyle return pen style for current line style.
Definition: ifcdef.cpp:183
const QString AttrArc
Definition: ifcdef.cpp:146
QMap< QString, QString > lineWeightList()
Definition: ifcdef.cpp:276
const QString ColorGreen
Definition: ifcdef.cpp:374
const QString ColorByGroup
Definition: ifcdef.cpp:371
const QString AttrAngle1
Definition: ifcdef.cpp:104
const QString ColorOrange
Definition: ifcdef.cpp:382
const QString LineWeightByGroup
Definition: ifcdef.cpp:369
const QString radius1ElArc_
Definition: ifcdef.cpp:422
const QString ColorLime
Definition: ifcdef.cpp:387
const QString AttrCenter
Definition: ifcdef.cpp:99
const QString ColorDeepSkyBlue
Definition: ifcdef.cpp:388
const QString AttrCut
Definition: ifcdef.cpp:93
const QString AttrKAsm1
Definition: ifcdef.cpp:119
const QString ColorDarkViolet
Definition: ifcdef.cpp:385
const QString LineTypeDotLine
Definition: ifcdef.cpp:161
const QString FillForwardDiagonal
Definition: ifcdef.cpp:408
#define ELARC_
Definition: ifcdef.h:240
#define ARC_
Definition: ifcdef.h:239
#define SPL_
Definition: ifcdef.h:238