wmayer
9b2b0e0acf
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
Wanderer Fan
56d289997c
[TD]fix Dimension/Balloon movement
2022-06-02 16:33:25 -04:00
wmayer
fd8719c85c
TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
...
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
wmayer
a99be14233
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
7daff0960f
[TD] ViewProviders: remove unused includes
...
- also sort the includes
2022-02-18 04:43:32 +01:00
wmayer
8df497b08e
Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject
2021-12-06 19:24:26 +01:00
Roy-043
5fd21f80da
TechDraw housekeeping: TechDraw_LandmarkDimension icon fix ( #5033 )
...
TechDraw housekeeping: TechDraw_LandmarkDimension icon fix
2021-09-16 18:42:11 -05:00
wmayer
4327cd5ccb
Mod: make sure to call the base class' handleChangedPropertyType
2021-09-15 14:07:32 +02:00
wmayer
3288c02eba
TechDraw: fixes for dimension feature:
...
* reimplement ViewProviderDimension::setupContextMenu() to show menu item to start editing it
* fix TaskDimension::accept() and TaskDimension::reject()
2021-02-12 15:55:26 +01:00
donovaly
fc91b251ee
[TD] add dialog to modify some dimension settings
...
also fix issue that tolerance could be set despite theoretically exact is true under some circumstances
also some wording improvements
also a minor fix to use 0.0 instead of DBL_MIN
2021-01-15 05:21:49 +01:00
donovaly
e8d76d49bf
[TD] some fixes
...
- the setting "Standard and Style" only affects new dimensions, thus it must be italic
- fix bug that the Property 'LockPosition' appears for dimensions -> this is an option for views and thus must be hidden for dimensions
- since tolerances are in the vast majority fractions of a millimeter/inch, set its stepsize to 0.1
(I hope I did it right in handleChangedPropertyType.)
- fix inconsistent newlines in TaskBalloon.h
- improve wording for a heading
2021-01-10 00:29:34 +01:00
donovaly
a1915d313a
[TD] make LineGroup selectable
...
At the moment one has to specify the LineGroup as string. But one doesn't know what groups exist. So one has to check the Wiki, learn there where the groups are defined and then open the definition file with a text editor.
This PR simplifies this by reading the existing groups out of the definition file and fill the combobox accordingly.
It also give the user info what the selected LineGroup defines via the tooltip.
A nice side effect is that no typos can occur since you don't have to enter the LineGroup name as text.
2020-12-03 17:24:49 +01:00
wandererfan
e80c576241
[TD]Centralize preference getters
2020-04-24 11:13:49 -04:00
donovaly
941ce9c43c
CanDelete is necessary for dimensions
...
- therefore revert commit bd0bf690b53f8355400278a127524029d225dffb.
- handle balloons the same way
- fix line ending in ViewProviderProjGroupItem.cpp
2020-03-04 08:24:17 -05:00
donovaly
dc94f25fd4
ViewProviderDimension: remove unused function
2020-03-04 08:24:17 -05:00
donovaly
5a61baf07c
[TD] handle object deletions better
...
see https://forum.freecadweb.org/viewtopic.php?p=366902#p366902
2020-03-04 08:24:17 -05:00
wandererfan
96e8f752be
[TD]Landmark Dims initial impl
2020-02-25 17:21:00 -05:00
donovaly
338774dd47
[TD] Use PropertyLength for LineWidths
...
- contributed by @uwe
- also assure that the LineStyle is restricted to the range 0-5
fix another conversion routine mistake
2020-01-27 09:09:25 -05:00
wandererfan
b7190a8b50
[TD]refix Dim select area problem
2020-01-08 15:07:28 -05:00
donovaly
1a21e8d1ee
simplify 2 tool names as suggested
...
- also correct encoding of a file
2019-11-17 08:22:09 -05:00
donovaly
15e5b29c22
TD renaming tools, part 2/2
...
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
Tomas Pavlicek
b75398d763
Complete remake of drawing dimensions
2019-09-25 15:20:14 +02:00
Tomas Pavlicek
46c73062ff
TechDraw: Radius drawing refactored - ASME support
2019-08-21 19:27:12 -04:00
Tomas Pavlicek
f704340f2b
Enhance Radius dimension drawing
2019-08-10 19:41:03 -04:00
Tomas Pavlicek
fad4db3300
TechDraw: Fix font size issues when exporting to SVG
2019-05-27 22:18:14 -04:00
wandererfan
b5c3ca2087
Fix derived class calls wrong parent method
2019-03-07 10:58:30 +01:00
wandererfan
eaf987625e
Correct tree icon for Angle3Pt
2018-10-11 21:59:05 +02:00
wandererfan
1578b05a98
Add option to reverse arrowheads on Dims
2018-10-02 09:42:16 -03:00
wandererfan
4f3f620720
Coverity fixes
...
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
Sebastian Bachmann
efa8ceb303
TechDraw: small corrections for line sizes
...
changeing the line weight for dimensions to a thin line
and get the font size for detail view labels from the configuration
rather than using a hardcoded value.
Also removing a duplicate method, as it is already implemend in the
parent class.
2018-03-02 10:48:55 -03:00
WandererFan
c606bbbcba
Fix DrawViewAnnotation TextSize
...
- text size was originally specified in integer
point size. Now they are specified in mm. The
relevant Properties have been changed to
PropertyLength.
2018-02-22 19:17:40 +01:00
WandererFan
679f26af58
Dimension Graphic Properties to Gui side
2018-02-14 15:42:26 -05:00
WandererFan
4d7f00860e
reduce use of "execute" on cosmetic changes.
2016-09-11 13:12:24 -04:00
WandererFan
70420d9e3b
Fix getViewObject inheritance across all ViewProviders
2016-09-11 13:12:24 -04:00
Mateusz Skowroński
9154f31f51
Fix files encoding. Go from ISO8859-1 to UTF-8.
2016-07-14 14:49:19 +02:00
WandererFan
32a8621e14
Dimension Precision property does not update
...
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
a68b6d068f
typo in pixmap name
2016-07-11 15:32:16 +02:00
WandererFan
5af541e340
Standardize icon naming
2016-07-11 15:32:16 +02:00
WandererFan
7f7e63dfe0
link Dimension to 3D geometry
2016-07-11 15:32:16 +02:00
WandererFan
a46fd856d4
more /Drawing/TechDraw/ edits. VP name conflicts
2016-07-11 15:32:16 +02:00
WandererFan
9062b7e727
Mod/Drawing includes -> Mod/TechDraw
2016-07-11 15:32:16 +02:00
WandererFan
7c009c6def
Add Mod/TechDraw/Gui
2016-07-11 15:32:16 +02:00