Commit Graph

28 Commits

Author SHA1 Message Date
WandererFan
91d7c875a5 [TD]Fix RichText parent in scene (fix #18283) (#18768)
* [TD]allow DrawViewAnno to be attached to another view

* [TD]allow image and spreadsheet attach to view

* [TD]ensure correct parent in scene

* [TD]refactor command helpers to separate file

- gathering the helpers in one place
- helper redundancy to be address in another change

* [TD]create symbol, spreadsheet, image with parent

* [TD]fix claimChildren for some views

- also includes many lint fixes
2025-01-06 18:11:25 +01:00
wandererfan
e204932482 [TD]fix bad property type choices 2023-04-27 13:17:48 -04:00
wandererfan
0e402ae075 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
44a91217a2 [TD] DrawView*: remove unused includes - part 1
- also sort includes
- also additions to precompiled header
2022-10-07 01:08:38 +02:00
wandererfan
6b8bd1f8f6 [TD]dvAnnotation default dtor 2022-09-05 19:52:34 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
361012df77 [TechDraw] Improve readability of DrawViewAnnotation.cpp 2022-07-20 12:59:12 -04:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
luz.paz
d1dc813a80 TD: fix header uniformity
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
donovaly
a89e55e1e7 DrawViewAnnotation: also call the handleChangedPropertyType of the base class 2019-12-01 21:48:46 -05:00
donovaly
cc0e1a8f3a DrawViewAnnotation: add transformation procedure for changed properties 2019-11-04 07:23:34 -05:00
donovaly
c673813f66 TD annotation: use more suitable properties
- see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
- also simplify tooltips
2019-11-04 07:23:34 -05:00
wandererfan
3f2a898040 [TD]Fix Annotation font size and descenders 2019-09-17 06:51:04 -04:00
wandererfan
fca8034b18 Fix delayed painting
- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
2018-05-16 18:58:10 -04:00
WandererFan
946cce2fc1 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
triplus
e8a76cd2e8 TechDraw LabelFont defaults 2017-12-31 15:09:13 +01:00
WandererFan
e94dce3906 Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
f20320d2b7 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
82c86b24af Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
ebc1d935e6 typo in property name 2016-07-11 15:32:16 +02:00
WandererFan
97a0c31306 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
041bf25cf0 use Mod/TechDraw for preferences 2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
d24e9be1bf Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00