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
Florian Foinant-Willig
1d8a51b47b
TechDraw: modernize type checking
2023-10-23 18:08:59 +02: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
62953f1a8e
[TD]remove unused override methods
2023-03-11 08:08:58 -05:00
wandererfan
ff1147fbae
[TD]add extensions for drag and drop
2022-12-27 19:43:44 -05:00
Uwe
5367aa8ab2
[TD] remove redundant nullptr checks
2022-10-03 04:25:33 +02:00
wandererfan
f970a321b2
[TD]fix StackTop and StackBottom
2022-09-24 08:18:38 -04:00
wandererfan
d8be4398e3
[TD]implement view stacking
2022-09-07 16:06:54 -04: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
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
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Benjamin Bræstrup Sayoc
17bcd06464
[TechDraw] Use inherited unsetEdit
...
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
aed0346cdb
[TechDraw] Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Uwe
5486c9808d
[TD] remove some more superfluous nullptr checks
2022-07-20 02:53:48 +02:00
Uwe
b514f47c21
[TD] Gui: remove some superfluous nullptr checks
2022-07-19 02:49:46 +02: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
Wanderer Fan
928c86d42d
[TD]fix updating of shared view
2022-06-05 09:33:02 -04:00
Wanderer Fan
9194d5c596
[TD]fix Rotation not applied
2022-06-02 09:09:53 -04:00
Wanderer Fan
78c22e33de
[TD]fix double draw on position change
2022-06-02 09:09:53 -04:00
wmayer
ccc0d54d97
TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
...
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
Uwe
d0ec4aafdc
[TD] Gui Headers: remove unused header - part 1
2022-03-25 01:58:33 +01:00
Uwe
9b14bf80d1
[TD] ViewProviders: remove unused includes
...
- also sort the includes
2022-02-18 04:43:32 +01:00
wmayer
a6838cf58f
Gui: rename methods of SelectionObserver to clarify intention in client code
2021-12-07 14:17:07 +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
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wandererfan
74c1b852f4
[TD]trap potential crash on app close
...
- avoid possible crash in TD dialogs if app closed
while dialog in progress.
2020-04-24 11:13:49 -04:00
wmayer
75fb8886ac
declare getMDIView and getMDIViewPage as const
2019-12-29 13:55:39 +01:00
wandererfan
f68e58e389
[TD]Prevent crash in SelectionSingleton
...
- in SelectionSingleton::setVisible, if the selection changes during
loop, a crash may occur.
- in QGraphicsScene, hiding an item changes its selected status.
2019-08-28 12:20:42 -04:00
wandererfan
7cb2713e8c
[TD]Welding Symbol creation
2019-08-22 17:11:55 -04:00
Zheng, Lei
e90d09dc40
TechDraw: Link related changes
...
* Support link and group objects
* Support view sync by implementing view provider API getMDIView()
* Use handleChangedPropertyType() for object migration instead of
reimplementing Restore() because of a lots of changes in
PropertyContainer::Restore().
* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
925145a8b7
Fix #3695 Frame toggle sync
2019-05-13 12:29:15 -04:00
wandererfan
af0271691c
Improve radius/diameter dims for ellipse,spline
2019-05-13 12:29:15 -04:00
wandererfan
c1f9f11c27
Leader and RichText block improvements
2019-05-05 21:01:31 -04:00
wandererfan
b09ab03724
Fix handling of Visibility property on Restore
2019-04-29 14:19:41 -04:00
wandererfan
02da48cac8
Fix non-Delete of Graphic on DocObject delete
...
- While the source document obj was "removing", the
graphic was being deleted and readded by the view
provider.
2019-04-18 18:47:03 -04:00
wandererfan
86cc2641bc
Ensure ProjGroup is created before child
2019-03-07 10:58:29 +01:00
wandererfan
9de6ff802a
Restore secondary ortho view movement to v017 style
...
- this should also complete the fix for #3809
2019-02-14 21:14:11 +01:00
wandererfan
e4debdcfce
Convert deprecated boost::signal to signals2
2018-05-11 10:32:24 -03:00
WandererFan
d08f59f411
Fix Dimension Response to Changed X/Y
...
- Dimensions in Gui were not responding to changes in
the Feature's X/Y properties.
2018-02-28 18:38:59 -05:00
WandererFan
6fa92cb188
KeepLabel Property to Gui side
2018-02-14 15:42:25 -05:00
WandererFan
e35e2f2573
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
WandererFan
ddbbae9956
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00