PaddleStroke
b6d8bb094a
TechDraw: InsertView switch the MDI to page when triggered.
2024-04-22 15:53:14 +02:00
PaddleStroke
4d84efb061
TechDraw: Enable App::Links to work with TechDraw views.
2024-04-18 12:14:10 -04:00
wandererfan
f530f1a5c8
[TD]fix fail on undo of cosmetic delete
2024-03-27 13:23:45 -04:00
PaddleStroke
3443e61b47
TechDraw: double clicking page switch to techdraw wb. Fixes #13061
2024-03-25 13:17:46 -04:00
pavltom
1ead8c6f0f
[TechDraw] Unify Projection Group parent linking
2024-03-16 19:59:49 -04:00
pavltom
6dd2a1d1ec
[TechDraw] Reimplement Weld Symbol parent linking
2024-03-09 08:32:24 -05:00
pavltom
b12583e536
[TechDraw] Reimplement Leader Line parent linking
2024-03-04 15:35:06 +01:00
pavltom
ed3a1a6184
[TechDraw] Reimplement Rich Annotation parent linking
2024-02-26 16:22:30 -05:00
pavltom
ff14c58ccc
[TechDraw] Add Owner property to Symbols
2024-02-11 16:03:44 -05:00
André Caldas
89dbab9b0e
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
wmayer
948cbfccd9
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wandererfan
cb25671863
[TD]fix lost parent on undo
2023-06-24 19:21:25 -04:00
wandererfan
62953f1a8e
[TD]remove unused override methods
2023-03-11 08:08:58 -05:00
Uwe
c792e7b6c5
[TD] remove unused Console include
...
- no longer used since #8180
2023-01-14 02:39:43 +01:00
wandererfan
437457e996
[TD]remove obsolete log messages
2023-01-13 12:15:33 -05:00
Uwe
c947055821
[TD] remove unused headers ( #8155 )
...
* [TD] remove unused headers
- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
2023-01-09 14:55:22 +01:00
Uwe
864ef31d81
[TD] minor fixes
...
- typos and code formatting as reported by the CI
- some more re-sorting
2023-01-09 12:02:50 +01: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
wandererfan
ff1147fbae
[TD]add extensions for drag and drop
2022-12-27 19:43:44 -05:00
wandererfan
290a19e773
[TD]fix view drag and drop to page
2022-11-03 10:10:41 -04:00
Uwe
5367aa8ab2
[TD] remove redundant nullptr checks
2022-10-03 04:25:33 +02:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Wanderer Fan
a1cc69c8e3
[TD]code review changes for Gui
2022-08-18 19:43:04 -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
Wanderer Fan
2c047e361d
[TD]fix segfault on repeated open/close
...
[TD]fix memory leak in ViewProviderPage
[TD]fix QGView redraws at idle
2022-08-18 09:34:32 -04:00
Wanderer Fan
ae3a955877
[TD]add progress reporting framework
2022-08-18 09:34:32 -04:00
Wanderer Fan
b467cd32f2
[TD]refactor scene/view/mdi
...
- move scene related functions out of mdiViewPage
and QGVPage.
- route requests for scene/view/mdi through
ViewProviderPage
2022-08-18 09:34:32 -04:00
berniev
5fa05ab83d
Mod: Redundant_string_initialization
2022-08-08 16:52:42 +02:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
47ac049e14
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
Uwe
7b4e5d7522
[TD] remove more superfluous nullptr checks
2022-07-20 02:32:52 +02:00
Uwe
b514f47c21
[TD] Gui: remove some superfluous nullptr checks
2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
51b9c1df14
[TechDraw] Improve readability of ViewProviderPage.cpp
2022-07-15 11:31:11 -04:00
Wanderer Fan
db89eec8e3
[TD]implement navigation styles
2022-06-24 10:03:02 -04:00
mosfet80
c48a569696
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
wmayer
e8f9c8a1d3
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
62a670431a
[TD]fix update suppression logic
2022-03-16 09:31:29 -04:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Wanderer Fan
4cf1c31f7f
[TD]fix integer grid step variable to double
2022-03-06 08:54:24 -05:00
Wanderer Fan
879339faa4
[TD]add alignment grid to page
2022-02-27 14:34:35 -05:00
Uwe
9b14bf80d1
[TD] ViewProviders: remove unused includes
...
- also sort the includes
2022-02-18 04:43:32 +01:00
bitacovir
b26069a508
[TD] Name uniformity for Tree Icons
2021-05-07 12:07:35 -04:00
Mateusz Skowroński
98f63ba60f
Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint.
2020-12-29 10:20:53 +01:00
luz paz
ae71abd1cc
TechDraw: Header uniformity and whitespace fixes
2020-11-14 16:59:51 +01:00
donovaly
a9f0b7703e
also avoid leading newlines
2020-07-26 19:47:25 -04:00
donovaly
b465df341c
assure the translation
...
- also fix a typo
2020-07-26 19:47:25 -04:00
donovaly
209dfa91d6
improve coding style
2020-07-26 19:47:25 -04:00
donovaly
38db73c4e9
[TD] get rid of trailing newlines
...
as discussed with luzpaz in https://github.com/FreeCAD/FreeCAD/pull/3735
there shouldn't be trailing newlines in translated strings.
- Moreover fix the logic of the output dialog text
2020-07-26 19:47:25 -04:00