Commit Graph

20 Commits

Author SHA1 Message Date
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
Chris Hennes
bedf920702 Gui: PR6497 move return statement to new line 2022-03-29 12:33:50 -05:00
Uwe
fe5f5bdda5 [Gui] only include the actually used inventor files 2022-03-17 21:12:19 +01:00
Uwe
9df3059d3b [Gui] Navigation styles: remove unused includes 2022-03-03 02:25:21 +01:00
wmayer
528ffce593 Gui: add method NavigationStyle::processClickEvent() to reduce code duplication in sub-classes 2021-11-05 14:37:18 +01:00
wmayer
5b023b0af5 Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent 2021-11-05 12:58:36 +01:00
wmayer
5b3bf97f2b Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos() 2021-11-02 19:06:12 +01:00
wmayer
60467908c8 Gui: [skip ci] code clean-up 2021-11-02 16:06:21 +01:00
wmayer
bec3c797a8 Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication 2021-11-02 15:57:54 +01:00
wmayer
0b802eb717 Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication 2021-11-02 15:32:20 +01:00
wmayer
1c93d3ee15 Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication 2021-11-02 14:52:22 +01:00
wmayer
daa2590672 Gui: add SoTimerSensor.h to PCH 2020-09-04 10:36:13 +02:00
DeepSOIC
b200801ebc Gui: use SoMouseWheelEvent in navigation styles 2020-08-22 17:15:02 +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
wmayer
b50b21576e core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
f581d5c8cb PVS: V560 A part of conditional expression is always true 2019-02-17 13:56:48 +01:00
Mateusz Skowroński
94e392347c Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 2018-12-23 11:05:02 -02:00
wmayer
32760491a6 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Kirill Gavrilov
be70bad701 + fixes #0002108: Add OpenCascade navigation style 2015-05-19 20:24:09 +02:00