Commit Graph

54 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
1078ee8c35 Remove magic number and hard type enums in DrawViewPart.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
PaddleStroke
5eb73cf949 TechDraw: Enable setting a custom direction. Fixes #5821 2024-04-22 15:53:14 +02:00
DeflateAwning
1e3179e9bc Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
wmayer
ed251a914b TD: modernize C++: use override 2023-08-04 17:09:53 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
wandererfan
02008c8877 [TD]fix fail on missing base view (#7856) 2022-11-22 20:38:46 -05:00
Uwe
4a5cac2c52 [TD] DrawD* - DrawT*: remove unused includes - part 1
- also sort includes
2022-10-08 16:33:16 +02:00
wandererfan
7bfcdcefd2 [TD]space secondary views by row/columns 2022-09-10 12:00:31 -04:00
wandererfan
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wmayer
70cdbcb9ad TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Wanderer Fan
81949d0817 [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
Wanderer Fan
e97b95341a [TD]code clean ups
- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
2022-08-18 09:34:32 -04:00
Wanderer Fan
aa1193559b [TD]clazy warnings and duplicate setter/getter
- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
0c1172c58e [TD] App Headers: remove unused header - part 1 2022-03-24 23:06:08 +01:00
Benjamin Bræstrup Sayoc
7edfd902a3 Improve code simplicity/readability 2022-02-01 09:10:36 -05:00
donovaly
b2250aad0b [TD] add missing update for Projection Group
currently when changing the scale or spacing this change is not taken into account until one explicitly marked the ProjGroup for recomputation
2020-06-15 08:04:14 -04:00
wandererfan
ed105a6f5b [TD]Use PropertyXLinkList for external Sources 2020-04-14 10:24:29 -04:00
wandererfan
d2a8571737 [TD]fix autoscale for DPG 2020-02-14 07:44:56 -05:00
wmayer
5939082b9f [skip ci] fix some warnings:
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
donovaly
07ca5b9d39 TD: DrawProjGroup: add units for spacing
-also improve some tooltips
2019-12-10 06:50:27 -05:00
wandererfan
566894c945 [TD]use XDirection to align DPGI in DPG 2019-11-27 07:31:45 -05:00
wandererfan
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wandererfan
251e16b6f1 [TD]Transition to on demand page updates ph1 2019-10-23 14:19:52 -04:00
wandererfan
eed275d63f Fix crash on malformed python script 2019-05-13 12:29:15 -04:00
wandererfan
5259134af3 Fix update of children on parent LockPosition change 2019-02-14 21:14:11 +01:00
wandererfan
79504462d1 Fix movement of Front View in ProjectionGroup 2019-01-21 11:45:30 +01:00
wandererfan
95f95d54fb Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wandererfan
38759a5b1b Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
WandererFan
f24da28239 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
WandererFan
309178f2ff Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
WandererFan
5fb3a4d58b Fix XXX is still touched after recompute in DPG 2017-10-02 13:48:45 -03:00
WandererFan
6d032f1bcf Change links to Global scope 2017-10-02 13:48:45 -03:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
4c4e1e3210 Replace DPG table lookup logic with calculations
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun.  There were many errors in the tables that
needed manual checking to correct.  The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
hgutsche
201c9d89b0 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
WandererFan
920eb5eaf7 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
2dd56a6c2a Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan
09f701786f Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
WandererFan
efb7f14866 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan
68c3f460d7 Allow manual repositioning of ProjGroup views 2016-10-31 11:06:15 -02:00
WandererFan
200ed7a675 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan
7c4ad55ed6 Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
WandererFan
3182ad1754 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
f20320d2b7 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00