Commit Graph

1802 Commits

Author SHA1 Message Date
wandererfan
e6517089df [TD]fix location of CV on rotated views 2023-12-24 12:27:25 -05:00
wandererfan
5bd873c5c8 [TD]fix warning re catch on polymorphic class 2023-12-24 08:30:53 -05:00
wandererfan
43d8fa81f5 [TD]prevent fail during document restore 2023-12-24 08:30:53 -05:00
Tomas Pavlicek
8d51d78ce7 [TechDraw] Tree view update refactoring (#11815) 2023-12-23 08:06:58 -05:00
Alex Neufeld
7a2be9e725 [TechDraw] italicize leaderline auto-horizontal preference checkbox (#11813)
... to correctly indicate that it only applies to new objects.
2023-12-23 08:02:12 -05:00
Tomas Pavlicek
f3fa2ba9c9 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
edi271
f201f713cc [TD] Solve issue in MenuBar 2023-12-21 16:04:36 +01:00
edi271
6da64e0521 [TD]Remove PositionSectionView, solve Line Style issue 2023-12-21 16:04:36 +01:00
wandererfan
305e678c88 [TD]fix vertex-edge dimension 2023-12-20 19:33:00 -05:00
Yorik van Havre
a679c8b818 merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
f78959fab3 Updated ts files 2023-12-20 09:27:37 +01:00
wandererfan
091d9c34af [TD]add properties for detail highlight and matting 2023-12-17 08:37:19 -05:00
wandererfan
26a72236f9 [TD]template green squares to underline 2023-12-17 08:37:19 -05:00
André Caldas
560898907b Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.

The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).

Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".

The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
Syres916
c81435c615 [TechDraw] Collect doc info to fill template fields 2023-12-07 19:55:01 -05:00
wandererfan
1593fe5247 [TD]fix line standard drop downs 2023-12-06 14:52:54 -05:00
wandererfan
b450a62ef5 [TD]fix section scale
- scale field in ui was QuantitySpinBox which is wrong for
  dimensionless number.
- section view scale was being set at only GlobalDecimals
  precision.
2023-12-06 14:52:54 -05:00
edi271
008fc3297a [TD] Connect to TechDraw 2023-12-06 08:50:59 -05:00
edi271
d75e7fbcf3 [TD] Icon and dialog file 2023-12-06 08:50:59 -05:00
wandererfan
9cb4745f38 [TD]handle loose geometry via HLR 2023-12-03 08:55:59 -05:00
wandererfan
dc063eabec [TD]fix fix hidden line style 2023-12-02 13:55:08 -05:00
wandererfan
9e7f21fcb2 [TD]fix line numbering in preferences
- resolve conflict between comboBox currentIndex [0,n] and
  line numbering [1, n]
2023-12-02 13:55:08 -05:00
pavltom
4ea5c2b611 [TechDraw] Use OCC to compute intersections - drop limits from hint 2023-12-02 13:54:37 -05:00
pavltom
b26b83dfee [TechDraw] Use OCC to compute intersections of any types of curves 2023-12-02 13:54:37 -05:00
wandererfan
762e1b53ff [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
luzpaz
faef0c6f27 Fix various typos 2023-11-30 14:58:06 +01:00
Yorik van Havre
3ade39ccf1 Translations (#11551)
* Updated ts files

* merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
Chris Hennes
fa65438556 Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive-

* App: Fixes for MSVC permissive-

* Gui: Fixes for MSVC permissive-

* Main: Fixes for MSVC permissive-

* Fem: Fixes for MSVC permissive-

* Material: Fixes for MSVC permissive-

* Part: Fixes for MSVC permissive-

* Mesh: Fixes for MSVC permissive-

* Points: Fixes for MSVC permissive-

* Robot: Fixes for MSVC permissive-

* TechDraw: Fixes for MSVC permissive-

* Path: Fixes for MSVC permissive-

* Core; Changes per review comments

* TD: Revision from wandererfan

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wandererfan
f03461a85a [TD]spelling in comments 2023-11-26 16:42:06 -05:00
pavltom
84982fb25d [TechDraw] Implement arc length calculation for arbitrary edge 2023-11-26 08:53:39 -05:00
pavltom
739fbc8df3 [TechDraw] Fix area balloon placement for scale != 1 2023-11-26 08:53:39 -05:00
wandererfan
5edda94043 [TD]fix disappearing balloon cursor 2023-11-25 08:05:50 -05:00
wandererfan
ae3144c7ce [TD]fix Balloon location 2023-11-25 08:05:50 -05:00
wandererfan
54da041392 [TD]fix dimension location 2023-11-25 08:05:50 -05:00
pavltom
4751481167 [TechDraw] Set Calculate Area icon units to pixels 2023-11-23 19:47:04 -05:00
pavltom
0e5aa8c4df [TechDraw] Fixes #7317 - Calculate Area of Arbitrary Faces 2023-11-23 19:47:04 -05:00
wandererfan
b239797b3e [TD]fix RTA bounding rect 2023-11-22 08:43:35 -05:00
wandererfan
7b0ee89cf1 [TD]fix position of RTA on Svg export 2023-11-22 08:43:35 -05:00
Chris Hennes
90dc4aeb13 Update translations 2023-11-20 13:46:22 -06:00
pavltom
2ffca4958a [TechDraw] Multiselection mode implementation 2023-11-16 20:45:02 -05:00
pavltom
e3fe68a0f3 [TechDraw] Remove obsolete getYInClip method 2023-11-16 20:45:02 -05:00
pavltom
98a005b7b5 [TechDraw] Remove nowhere used m_dragState 2023-11-16 20:45:02 -05:00
pavltom
ec6df1726e [TechDraw] Refactor QGIView and QGIPrimPath mouse processing 2023-11-16 20:45:02 -05:00
pavltom
bd69b1c341 [TechDraw] Remove now unused SelectPoint signal relics 2023-11-16 20:45:02 -05:00
pavltom
87e2c36dda [TechDraw] Fix app selection not reflecting Qt selection 2023-11-16 20:45:02 -05:00
wandererfan
66ece1c068 [TD]fix 3x extension circle methods #11310 2023-11-11 07:48:03 -05:00
pavltom
4c888b6afe [TechDraw] Issue #6527 - Implement face transparency 2023-11-10 10:48:06 -05:00
wandererfan
65c88376f8 [TD]fix Print Center Marks #11309 2023-11-10 09:30:19 -05:00
wandererfan
0bd0d2e4b5 [TD]Fix margins on PDF output #11308 2023-11-10 09:30:19 -05:00
Chris Hennes
954c2fa03f Update translations 2023-11-09 12:23:56 -06:00