Commit Graph

44 Commits

Author SHA1 Message Date
wmayer
435d06ab45 keep selection order with Selection.getSelection() 2019-03-10 18:01:25 +01:00
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
c64aec5fd2 simplify creation of strings 2019-02-11 13:46:58 +01:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
wmayer
e629fd0b69 fixes 0002304: Duplicate multi selection of sketch element produces many sketches 2018-12-19 21:17:59 +01:00
wmayer
07810aed49 fix blocking of SelectionObserver 2018-11-04 11:54:40 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
c345e4e728 fixes 0003469: FreeCAD crashes on edge selection during fillet edge operation on extruded geometry 2018-09-25 22:51:33 +02:00
wmayer
dc5414d060 fix overloaded methods SelectionSingleton::addSelection 2018-09-18 12:41:02 +02:00
wmayer
813c73c202 add convenience method addSelection(SelectionObject) 2018-09-17 17:06:58 +02:00
luz.paz
53e122a75a Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +02:00
Zheng, Lei
00312a39f9 Selection: handle exception in observer callback
Selection callback are sometimes called while traversing Coin node tree.
If any unhandled exception is thrown while traversing the tree, FC 3D
rendering will become unstable and non-usable thereafter.
2018-08-26 17:29:14 +02:00
wmayer
ddfa3c8843 remove kwd argument for functions only with flag METH_VARARGS 2018-08-08 17:39:32 +02:00
wmayer
fea662ea71 notify selection node about cleared pre-selection 2017-12-25 01:19:02 +01:00
wmayer
ddfa62282a do some code clean-up and corrections in Selection class 2017-09-20 23:22:19 +02:00
Yorik van Havre
1fb606f65d py3: Gui: files P-Z ported to python3 2017-05-06 20:11:31 +02:00
wmayer
b19a4246ab fix typos 2016-12-19 14:07:35 +01:00
wmayer
7df9dcac7a allow to create SelectionObject from SelectionChanges structure 2016-10-21 14:56:29 +02:00
wmayer
677ec6cd30 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
936d83992d remove timeout for status messages related to (pre-)selection 2016-09-10 17:26:40 +02:00
wmayer
e2398b4b06 fix Coverity issues 2016-08-21 14:03:02 +02:00
wmayer
1e898b6c19 suppress log messages of selection changes in release build 2016-07-15 16:02:06 +02:00
wmayer
295eb2455c + extend Gui.Selection.addSelection to pass object and tuple of sub-element names 2016-05-19 17:36:28 +02:00
Mateusz Skowroński
a8d37dabbe QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
DeepSOIC
81592ea816 SelectionGate: add capability to display why not allowed. 2016-04-12 18:12:20 +02:00
DeepSOIC
4da2a4f21b Selection: add getAsPropertyLinkSubList method
Got tired of collecting selection into such properties over and over.
2016-04-12 18:12:13 +02:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
7ee9bbcd8c + make Python API of Selection consistent to C++ API 2015-10-18 19:50:47 +02:00
wmayer
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +02:00
Sebastian Hoogen
af50cbf964 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
2d9f6e5a37 + Improve performance when selecting all edges of an edited fillet feature 2014-04-24 22:29:07 +02:00
wmayer
0c5087c6ea + extend Python API of selection gate 2014-04-03 13:57:57 +02:00
wmayer
10dfc2e59e + Fix docstring for addSelection 2013-12-27 11:07:16 +01:00
wmayer
67390c0695 + Make sure to keep order of selected objects in getSelectionEx() 2013-11-12 11:38:52 +01:00
wmayer
3a3aa29357 Method to get SelectionObject from string 2013-05-13 15:25:31 +02:00
wmayer
3a591b3a94 Improve reporting of Python exceptions 2013-05-04 14:23:53 +02:00
wmayer
bbfa8bd40b Do not override edit cursor with pre-selection 2013-04-10 13:57:44 +02:00
wmayer
937874db74 Fix wrong Python doc 2013-04-07 22:43:58 +02:00
wmayer
610c2efdd6 + Fix for subelements of SelectionObject, fix for SketchObjectPy::fillet() 2013-03-02 17:34:34 +01:00
wmayer
f87d7fe1f6 0000906: Segmentation Fault when try to use linear pattern on Part, fix some issues with selection gate 2012-12-07 14:01:49 +01:00
wmayer
15f99d2df5 Python interface to count selected objects 2012-09-26 18:39:38 +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