Commit Graph

66 Commits

Author SHA1 Message Date
Florian Foinant-Willig
24352a7f4c TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
wandererfan
a51c54e7f0 [TD]allow centerline deletion with Del 2023-09-27 12:24:21 -04:00
wandererfan
01256623ff [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
wandererfan
2559d7e7b6 [TD]allow delete of dependents on delete of parent
- deleting a dvp will now delete any hatches, dimensions or
  balloons belonging to it.
- deleting a dvp that is the base view for a section or detail
  is still blocked.
2023-07-10 17:05:57 -04:00
wandererfan
62a681db8e [TD]fix lost parent on undo 2023-06-24 19:21:25 -04:00
Benjamin Bræstrup Sayoc
15fe52a04b [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
wmayer
e69e7ef08a TD: [skip ci] fix possible crash in ViewProviderViewPart::onChanged 2022-12-28 21:17:23 +01:00
wandererfan
af3c057f99 [TD]make detail highlight interactive
- drag detail highlight to change detail anchor point
- change detail reference position using HighlightAdjust property
2022-12-28 09:41:44 -05:00
wandererfan
cdda6f2c38 [TD]fix fail on missing base view (#7856) 2022-11-22 20:38:46 -05:00
wandererfan
5ddc6ce789 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
abfd9da579 [TD]CI clang warnings 2022-09-05 19:52:34 -04:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
fda3fd731f [TechDraw] Use inherited unsetEdit
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
23966513c7 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
86dfd0a862 [TechDraw] Simplify code getting default line weights 2022-08-02 16:13:01 -04:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
700a0217b4 [TechDraw] Improve readability of ViewProviderViewPart.cpp 2022-07-15 11:31:11 -04:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
fdc4196384 [TD] ViewProviders: remove more unused includes
- also sort the includes
2022-02-18 05:11:52 +01:00
wmayer
4327cd5ccb Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
bitacovir
468af0e714 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
luz paz
d703d9a89c [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02: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
donovaly
74b2321cbf Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-09 01:36:49 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
donovaly
6d06bdffb5 [TD] some Detail View fixes
see https://forum.freecadweb.org/viewtopic.php?f=35&t=45236&p=388925#p388925 for a description of the changes
2020-04-18 14:56:01 +02:00
wandererfan
b44044f95b [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
wandererfan
fcf5ec0270 [TD]detail highlight color/style 2020-03-26 12:36:33 -04:00
wandererfan
1f3966e1c3 [TD]SectionLine colour property 2020-03-26 12:36:33 -04:00
donovaly
1102195a9a fix typos 2020-03-21 09:46:04 -04:00
donovaly
c77b63d2bd [TD] add property for section line style
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
2020-03-21 09:46:04 -04:00
wandererfan
ee626abef4 [TD]synchronize defaults in code and prefs 2020-03-16 08:57:08 -04:00
donovaly
f8d90c2523 handle Leaders, Welds, Tiles and RichAnnos 2020-03-05 11:34:35 -05:00
donovaly
ead6cfea71 handle now also section view, detail view and view 2020-03-04 08:24:17 -05:00
wandererfan
a105272283 [TD]fix missing parm save/restore 2020-01-29 15:26:06 -05:00
donovaly
de1be3b381 TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
3104854826 [TD]Add Show/Hide invisible lines tool 2019-07-18 08:53:38 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00
wandererfan
7370ac8ade Add default parms for Arc Centers 2019-04-01 23:46:34 +02:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
b5c3ca2087 Fix derived class calls wrong parent method 2019-03-07 10:58:30 +01:00
wandererfan
77b22f4f30 Fix bad highlight position in Detail from ProjGroup 2019-02-22 11:55:21 +01:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -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
wandererfan
2b35fd173a Correct delayed scaling of center/section lines 2018-03-11 21:33:59 +01:00
Sebastian Bachmann
c41363c117 TechDraw: new center/section draw style
using custom QT pen styles, the center and section lines look much
better.
With some math we are also able to control the middle position, thus
the centerlines will always look good, regardless of the size of an
object.

Also getting the section label size from the settings, so the font
size is controllable and not hardcoded.

Bonus: adding blank templates for the common paper sizes (as the
        Drawing WB has them)
2018-02-24 16:58:17 +01:00