donovaly
8fe7ca0c21
tolerances can be negative, thus the decimal precision check must be adapted
2020-12-03 15:50:06 +01:00
donovaly
0baabcaa45
[TD] fix unit mismatch bug
...
- also make global decimal option italic since it only affects new dimensions
- also fix a typo in UnitsApi.h
2020-12-03 15:50:06 +01:00
wmayer
578e4aca14
[TD] add an enum to avoid to work with plain numbers
2020-12-02 16:42:21 +01:00
wmayer
e95b3167dd
[TD] use PropertyQuantity for OverTolerance and UnderTolerance and add backward compatibility
2020-12-02 16:42:10 +01:00
aapo-aapo
e71b7ac879
@aapo-aapo @chennes [TD] Suggested minor improvements for DrawViewDimension.cpp and QGIViewDimension.cpp in Pull request review.
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2020-12-02 16:38:21 +01:00
Aapo
3f623576d5
[TD] Add tolerance format specifiers and arbitrary tolerances.
2020-12-02 16:38:21 +01:00
Aapo
768a2b1f11
[TD] Make tolerance labels use the same formatValue() conversion as dimension labels. Support MultiValueSchemas for tolerances, too.
2020-12-02 16:38:21 +01:00
Aapo
c695b4009b
[TD] Refactor DrawViewDimension getFormatedValue() into two functions.
2020-12-02 16:38:21 +01:00
Aapo
31d6c7528d
Refactor code in DrawViewDimension::getRefType() shorter and simpler. No functional change except subelement sizes > 3 are supported, even though they are not supposed to happen.
2020-11-19 13:40:42 +01:00
Aapo
bda3e700fa
[TD]fix V2E DistanceX,Y to always use the closest point of edge to the vertex.
2020-11-18 14:54:44 +01:00
wandererfan
ad1b48b73d
[TD]fix V2E DistanceX,Y
2020-08-30 18:59:11 -04:00
wmayer
dccb2a3c3c
PVS: V523 The 'then' statement is equivalent to the 'else' statement
2020-07-18 10:59:27 +02:00
wandererfan
c19fae2cbb
[TD]Treat Imperial1/USCustomary as single value schema
2020-06-15 13:57:55 -04:00
wandererfan
9fb162f5ba
[TD]missing prefix/suffix for compound schema
2020-06-15 13:57:55 -04:00
wandererfan
e80c576241
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
wandererfan
ee626abef4
[TD]synchronize defaults in code and prefs
2020-03-16 08:57:08 -04:00
Tobias Ellinghaus
4ce9fbc57c
TD: Fix decimal separator of dimensions
...
When the system separator isn't '.' we want to make sure to use it.
2020-03-14 08:04:49 -04:00
wandererfan
b7146a5ea3
[TD]fix crash on RenderMode = NONE
2020-03-11 18:17:46 -04:00
wandererfan
e0eda0de58
[TD]expose dimension arrow position to Python
2020-03-02 08:37:19 -05:00
wandererfan
96e8f752be
[TD]Landmark Dims initial impl
2020-02-25 17:21:00 -05:00
wandererfan
dcc2790834
[TD]fix potential nullptr while restoring
2019-12-30 18:20:48 -05:00
wandererfan
6a31795600
[TD]improve presentation of tolerance text
2019-12-18 07:01:46 -05:00
wandererfan
186d52ffd4
[TD]fix dim text for multi value schemas
2019-12-05 07:10:08 -05:00
wandererfan
a7ad04ba4a
[TD]const-ness for dump function parameter
2019-11-10 15:58:45 -05:00
wandererfan
c773e20bf3
[TD]Always show degree symbol
2019-11-07 16:59:10 -05:00
wandererfan
5cab111a65
[TD]Implement unique tags for Cosmetic Vertex
2019-11-02 14:59:32 -04:00
wandererfan
5bb659e7e2
[TD]Transition to on demand page updates ph1
2019-10-23 14:19:52 -04:00
wandererfan
5021f3777b
[TD]Fix Dimension prefix/suffix
2019-10-20 15:36:59 -04:00
wandererfan
90fad8180f
[TD]Improve tolerance formatting
2019-10-11 09:16:41 -04:00
Tomas Pavlicek
b75398d763
Complete remake of drawing dimensions
2019-09-25 15:20:14 +02:00
wandererfan
621b66be17
[TD]Add Properties for Cosmetic persistence
2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61
[TD]Add CenterLine edit function
2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2
[TD]Py Cosmetic Vertex, Line, Circle Arc
2019-07-15 12:36:48 -04:00
wandererfan
71a095360a
Hide Caption property where not applicable
2019-06-01 15:59:26 -04:00
wandererfan
ef912cfea8
Improve radius/diameter dims for ellipse,spline
2019-05-13 12:29:15 -04:00
wandererfan
a0250a7be3
Fix Error messages for bad references
2019-04-26 06:36:56 -04:00
wandererfan
ede3bd2210
Fix crash on Dimension with corrupted References
2019-04-24 19:52:39 -04:00
babaroga
dde241bb32
FIX:TD-If "Show units" is off degree symbol is missing on angular dimensions
...
+ Remove space between dimension value and degree symbol
2019-04-21 19:51:57 -04:00
wandererfan
06962535fa
Fix missing radius/dia on ft-in dimensions
2019-04-19 19:15:52 -04:00
babaroga
c779f34fee
FIX: Prevent situation where default format entered in preferences, overwrites prefixes on eg. circular dimensions
2019-04-17 08:26:47 -04:00
wandererfan
3370d0902a
Add Preference for Dimension Format
2019-03-28 10:44:33 -03:00
wandererfan
9907422806
Display correct symbols for Minute/Second
...
- the ImperialCivil unit schema uses "M" for angular
minutes and "S" for angular seconds. These must be
replaced by ' and ".
2018-12-06 08:57:17 -03:00
wmayer
b0247d184e
Replace Base::Exception with appropriate subclass
2018-11-14 19:42:10 +01:00
wandererfan
cb30a82969
Fix #3634 Lost formatSpec on save/restore
2018-10-13 02:10:53 +02:00
wandererfan
f6e9faa62c
Fix #3623 Display of Ft/In Dimensions
2018-10-11 21:59:20 +02:00
wandererfan
b569120131
Add 3Point Angle Dimension
2018-10-02 09:42:16 -03:00
wandererfan
f5668c77ae
Move dimText Prefix to FormatSpec
...
- prefix was applied at every request for
formatted value. Now prefix is applied
to FormatSpec and can be overridden for
things like screw dia. M6 vs (phi)M6.
2018-10-02 09:42:16 -03:00
wandererfan
d2c2b35b6c
Add over/under Tolerance to Dimensions
2018-10-02 09:42:16 -03:00
wandererfan
de66ab3d1a
Coverity Fixes
...
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
5730aae4c9
Allow circular BSplines to be dimensioned
2018-08-11 11:24:12 +02:00