Commit Graph

91 Commits

Author SHA1 Message Date
wmayer
7db925d991 App: fix memory leaks in Enumeration class and simplify code 2022-06-25 18:18:57 +02:00
Zheng, Lei
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702 Gui: PR6497 move return statement to new line 2022-03-29 12:33:50 -05:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
7ff834882e Gui: remove all leftovers of iisTaskPanel 2022-03-23 10:37:28 +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
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +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
David Osterberg
43bc30da84 Beautify xml step 1: These changes do not affect the uic output 2021-03-02 16:29:11 +01:00
wmayer
75dff5d947 Gui: [skip ci] add option to automatically close task dialog if undo/redo was pressed 2021-02-12 17:42:49 +01:00
wmayer
1e7929ba59 Gui: add virtual method 'closed' to TaskDialog that is called when deleting a dialog 2021-02-05 16:36:19 +01:00
Chris Hennes
9c9244dfb3 Guard against segfaults due to out-of-order dialog deletion 2021-02-05 15:38:24 +01:00
Mateusz Skowroński
2559f2d29c Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +01: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
6bd39e8a90 Gui: [skip ci] fix -Wodr
The forward declarations of QuantitySpinBox and Ui_TaskAppearance were done in the wrong namespace
2020-11-24 15:46:46 +01:00
wmayer
d4c0baba0c C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02: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
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
84a164ba30 Qt5: 'static QString Gui::TaskView::TaskWatcherCommands::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
c01c1f7fde Sketcher: add option to disable leaving sketch with Esc button 2020-02-09 13:52:09 +01:00
wmayer
832d175377 Gui: fix naming inconsistency and rename 'combi' to 'combo' 2020-02-08 13:43:44 +01:00
luz.paz
7b7797f4f3 Fix various (doxy) typos and whitespace issues
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-03 07:57:13 +02:00
Zheng, Lei
4141242e9d Gui: minor adjustment on command status update 2019-09-10 14:17:07 +02:00
wmayer
1dde7d6e81 fix possible crash on workbench change 2019-09-09 14:56:19 +02:00
wmayer
85da6c363d make Del shortcut working again in Sketch edit mode 2019-02-25 17:17:32 +01:00
wmayer
5f4deea7c9 fixes 0003794: Shortcut-Key is executed in edit field of a constraint (Combo View) 2019-02-16 21:53:23 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
d0cd33b2b8 always close task panel with ESC button 2018-09-17 21:35:44 +02:00
wmayer
840c9e8b3c prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
luz.paz
8690d870a5 Misc. typos
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
luzpaz
56af703746 Fix Techdraw UI typo found via crowdin + misc. typos
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
Markus Lampert
ec9e43e868 Forward modifyStandardButtons into python task dialogs. 2017-06-21 11:41:35 -07:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
441ce4a158 issue #0002741: Crashes when drawing tutorial 2017-02-27 09:02:22 +01:00
wmayer
5e0a972999 fix CIDs 154872, 152491, 129453 2016-12-18 13:10:07 +01:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
0824c5fd3c fix Coverity issues 2016-08-21 14:03:02 +02:00
wmayer
e0c69c8afe postpone deletion of task dialog as long as inside its accept() or reject() method 2016-08-06 14:07:58 +02:00
wmayer
cba54c51ad + disconnect boost signals on destruction 2016-04-16 15:38:04 +02:00
Stefan Tröger
83ab03a491 move feature pick dialog into the task view 2016-04-12 18:12:05 +02:00
wmayer
e6387c6acf Connect task box labels with commands as queued connection 2016-04-12 18:11:46 +02:00