wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
54bb9c9c62
Gui: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
Alexander Golubev
992dec2c6b
Gui: Prevent UiLoader from loading 3rd-party Qt plugins.
...
Due to a flaw in the QUiLoader, UiLoader were loading all designer plugins
it can find in QApplication::libraryPaths(). This in general a bad
practice and leads to bugs due to some plugins may perform some unexpected
actions upon load which may interfere with FreeCAD's functionality.
To avoid such problems reset the libraryPaths before creation of a
UiLoader object.
Also move setLanguageChangeEnabled(true) into constructor due to it's
called every time it's being instanced anyway.
See: https://github.com/FreeCAD/FreeCAD/issues/8708
2023-03-18 17:59:50 +01:00
wmayer
4a390ddeb6
PD: refactor the constructor of TaskDialogPython
2023-02-24 16:35:51 +01:00
wmayer
dd23698cf2
Gui: handle language change events in task dialogs
2023-02-23 16:38:45 +01:00
wmayer
ff6f04dcc2
Gui: add class TaskDialogPy
2022-10-09 14:26:42 +02:00
marioalexis
0382f276a2
Gui: Replace C cast
2022-09-18 11:06:51 -05: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
Uwe
3e99d39d05
[Gui] remove some more superfluous nullptr checks
2022-07-18 13:15:38 +02:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
2dc78804b6
Core: Fix several coverity issues:
...
* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
2022-03-13 13:53:32 +01:00
Uwe
6c4acb6ea7
[Gui] Task: remove unused includes
2022-03-03 03:16:35 +01:00
wmayer
00759f9c96
Gui: move PythonWrapper class to its own source file
2021-09-22 23:30:03 +02:00
wmayer
b4e69f1b2d
Gui: move Ui loader classes to their own source files
2021-09-22 20:31:01 +02:00
flachyjoe
9a3faf7722
improve TaskDialog API doc
2021-05-13 13:10:40 +02:00
Chris Hennes
50c7ee36bf
[GUI] Remove code for Qt < 5.9
2021-04-02 10:10:37 +02:00
wmayer
033bf619fa
Gui: [skip ci] expose Control::showModelView() to Python
2021-03-29 17:05:54 +02:00
wmayer
def9e29fa9
Gui: [skip ci] fix crash when using a dialog instance twice for a task panel
2020-12-18 11:46:31 +01:00
wmayer
7db21217f4
Gui: [skip ci] fix parsing of arguments of ControlPy methods
...
See https://forum.freecadweb.org/viewtopic.php?f=10&t=50805
2020-10-04 20:04:23 +02:00
wmayer
a0d51baaf2
PVS: V547 Expression is always true/false
2020-07-18 10:59:27 +02:00
wmayer
840c9e8b3c
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
Markus Lampert
ec9e43e868
Forward modifyStandardButtons into python task dialogs.
2017-06-21 11:41:35 -07:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
997001bbd9
+ usage of QSint
2015-07-07 12:34:20 +02:00
jriegel
d65a4e4ed7
some type clearification
2014-08-21 17:59:33 +02:00
wmayer
2a2acf4955
+ Make Python API more pythonic
2013-10-11 12:24:22 +02:00
wmayer
c6d23d1598
PySide binding
2013-06-30 15:14:02 +02:00
jriegel
950d9093e9
Merge branch 'refs/heads/jriegel/develop-fem'
2013-06-27 16:47:40 +02:00
wmayer
1dc122dc9a
0000877: Move from PyQt to PySide
2013-06-22 01:56:58 +02:00
jriegel
6eb90b1b21
showTaskView() in Python
2013-06-09 20:04:23 +02:00
wmayer
946bd02df4
Improve reporting of Python exceptions
2013-05-04 14:23:53 +02:00
Yorik van Havre
7b88ef317e
Allowed TaskDialogPython to display several taskboxes
...
The "form" attribute of Python TaskDialogs can now be
either a PyQt widget or a list of PyQt widgets.
2012-02-04 20:35:35 -02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00