Commit Graph

25 Commits

Author SHA1 Message Date
PaddleStroke
19702dcb21 Core: Add App::LocalCoordinateSystem.
Most of App::Origin is moved into this sub class of App::Origin.
Add App::Point. Change graphics of the planes/axis.
Remove scale-by-content behavior and make it fixed size on screen.
2024-11-26 17:36:02 +01:00
wmayer
d163114374 Gui: disable lighting for the label of an axis
This way the backside of the label is displayed with the same color as the front side. Otherwise it may be black.
2023-05-05 22:00:55 -04:00
Ronny Standtke
8d1c9c2563 Origin axis: use same colors as axis cross and make bigger than planes
for easier selection and visualization
2023-05-05 03:09:36 -04:00
berniev
75acacd1b7 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
berniev
656ef8961f Gui: redundant void 2 2022-08-08 10:21:44 +02:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
cfd00bbf63 [Gui] ViewProviderOrigin* etc.: remove unused includes 2022-03-06 01:44:33 +01:00
wmayer
4ec45b545e 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
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
DeepSOIC
588fc8df77 PartDesign: change view sizing on new sketch 2019-09-11 21:39:16 +02:00
Zheng, Lei
51ab8caace Gui: improve deletion handling in origin feature 2019-08-17 15:08:34 +02:00
wmayer
75ee3e4c25 suppress error message if while restoring a document one of the lines or planes of an origin cannot be found 2018-10-23 23:12:25 +02:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
Alexander Golubev
4e6298d539 Gui/ViewProviderOrigin: fix a segfault when accessed uninitialized plane's view providers when setted up lines sizes 2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11 App/Origin: big refactoring
- Rebase App::Origin on App::DocumentObject
 - Keep all control over the Origin structure inside the Origin and it's
   ViewProvider
 - Add OriginFeature class as common base for App::Plane and App::Line
 - Rebase App::Plane and App::Line on top of newly created class and
   move to the file.
 - Change Origin's ViewProvider API associated with temporary display
 - Lots of associated changes to files
 - Several minor fixes
 - Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
dbb5786ffd App/GeoFeatureGroup: derive from DocumentObjectGroup
Refactor GeoFeatureGroup and derive it from DocumentObjectGroup rather
than GeoFeatureObject to unify code of those two classes.
2016-04-12 18:12:17 +02:00
DeepSOIC
05b9dd60e3 fix build with MSVC11 aka 2012 2016-04-12 18:12:06 +02:00
Stefan Tröger
d6440b4143 switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger
4c29efea1f allow origin lines in datum features 2016-04-12 18:12:05 +02:00
Stefan Tröger
c7555eaa63 interactively show origin objects for feature pick 2016-04-12 18:12:05 +02:00
Stefan Tröger
c92e0f5870 add origin icon 2016-04-12 18:12:05 +02:00
Stefan Tröger
fcdb80eab3 Prevent origin and base entities from transforming 2016-04-12 18:12:05 +02:00
Stefan Tröger
3f5caa2181 group coordinate planes and lines 2016-04-12 18:12:05 +02:00