Commit Graph

21 Commits

Author SHA1 Message Date
wmayer
5657abebfc Gui: support of QPrintSupport module in PythonWrapper 2022-12-22 16:18:18 +01:00
luz paz
26cf9e771f Add missing brackets + change indentation to spaces 2022-12-12 11:38:06 +01:00
luz paz
f17b73a7bf Cleanup: move return statement to new line + trailing
Follow-up to #6497
2022-12-12 11:38:06 +01:00
wmayer
9c358a5d3a Gui: [skip ci] fix build failure if shiboken support is disabled 2022-11-05 13:38:39 +01:00
wmayer
9eb078da5d Gui: fix possible crash when running the garbage collector after creating a shiboken wrapper 2022-11-04 21:00:49 +01:00
wmayer
1ecfcf3e5e Gui: include needed header 2022-10-31 11:32:06 +01:00
wmayer
bf857c7997 Gui: clear the list of Python wrapper when quitting the application 2022-10-31 11:17:41 +01:00
wmayer
5f48e22bba Gui: [skip ci] Missing reference in range-for with non trivial type (Py::Object) [-Wclazy-range-loop-reference] 2022-10-25 13:36:39 +02:00
wmayer
342666162a Gui: fix possible crash in WrapperManager 2022-10-25 12:48:55 +02:00
wmayer
8b1760971f Gui: cppcoreguidelines-pro-type-reinterpret-cast
Replace an unsafe reinterpret_cast with the safer static_cast
2022-10-24 17:09:53 +02:00
wmayer
15fc8c0541 Gui: fix crash when accessing PySide wrapper after the underlying QObject has been destroyed 2022-10-21 17:05:55 +02:00
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
07ccb73fe7 Partially revert "Remove unused code into GUI" 2022-07-17 12:32:03 +02:00
andrea
7886d3cbf4 Remove unused code into GUI 2022-07-17 03:53:11 +02:00
wmayer
aa4f06b648 Gui: fix build failure with Qt 5.9 2022-05-08 19:36:51 +02:00
Wanderer Fan
aa979441d7 [Gui]add support for QGraphicsObject to PythonWrapper 2022-05-08 09:01:04 -04:00
Uwe
4147337715 [Gui] Python and Property: remove unused includes 2022-03-05 03:44:45 +01:00
wmayer
f5c52dcb84 Gui: [skip ci] fix possible warning 2021-09-23 19:02:15 +02:00
0penBrain
01fd5b555f [BUILDFIX] Add missing includes 2021-09-23 13:14:03 +02:00
wmayer
4397c0f520 Gui: modernize some classes 2021-09-23 11:00:50 +02:00
wmayer
21ba35adab Gui: move PythonWrapper class to its own source file 2021-09-22 23:30:03 +02:00