Commit Graph

18 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
wmayer
fd5558f295 Fix several clazy issue:
* Using copy-ctor but class SbMatrix/SbViewportRegion has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-24 19:38:59 +02:00
Uwe
bb2b49fb1f [Gui] remove superfluous nullptr checks 2022-07-18 03:17:42 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
66dd0f62a5 [Gui] So headers: remove some unused includes
- also sort out some headers for precompiled headers
2022-03-14 15:13:13 +01:00
Zheng, Lei
b81485d72d Gui: improve scale handling in SoFCCSysDragger
Because of the scale transformion in Link, the dragger may have
undesired behavior. This patch checks scaling factor in scenegraph
transformation, and auto scale the dragger axis accordingly.
2019-10-08 10:27:56 +02:00
wmayer
5ae635ac64 fix various flaws detected by PVS 2019-03-01 22:52:41 +01:00
wmayer
332baed6a6 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] 2019-02-11 16:12:50 +01:00
wmayer
c64aec5fd2 simplify creation of strings 2019-02-11 13:46:58 +01:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
wmayer
d69887130e fix crash when creating a second view and closing the first view while the dragger task panel is open 2016-10-09 22:16:21 +02:00
wmayer
f4e0a21045 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
wmayer
4d6d8e71f4 issue #0002687: zoomin/out during transform 2016-10-09 18:32:18 +02:00
wmayer
e2398b4b06 fix Coverity issues 2016-08-21 14:03:02 +02:00
wmayer
fb7a22036e + fix build failures & warnings 2016-05-07 23:18:59 +02:00
blobfish
a17b762f10 Core: Gui: SoFCSysDragger: adding SoFCSysDragger. 2016-05-07 23:06:53 +02:00