Commit Graph

22 Commits

Author SHA1 Message Date
berniev
ae53c9b0a4 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
3d1f70765a Gui: redundant void 2 2022-08-08 10:21:44 +02:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
a345a226d5 [Gui] ViewProviderOrigin* etc.: remove unused includes 2022-03-06 01:44:33 +01: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
luz.paz
04ba2872f0 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
f19e21a224 PartDesign: change view sizing on new sketch 2019-09-11 21:39:16 +02:00
Zheng, Lei
c49b3e0d7b Gui: improve deletion handling in origin feature 2019-08-17 15:08:34 +02:00
wmayer
13a8355a60 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
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
af6f4704c9 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
Alexander Golubev
44734cea91 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
305151be34 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
e26c6174ac 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
878b9df68f fix build with MSVC11 aka 2012 2016-04-12 18:12:06 +02:00
Stefan Tröger
616e372e4a switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger
8af2eeb245 allow origin lines in datum features 2016-04-12 18:12:05 +02:00
Stefan Tröger
9e82e2f2e9 interactively show origin objects for feature pick 2016-04-12 18:12:05 +02:00
Stefan Tröger
c4f5d790be add origin icon 2016-04-12 18:12:05 +02:00
Stefan Tröger
4d1ccd63c6 Prevent origin and base entities from transforming 2016-04-12 18:12:05 +02:00
Stefan Tröger
46e4e3b2b4 group coordinate planes and lines 2016-04-12 18:12:05 +02:00