Commit Graph

23148 Commits

Author SHA1 Message Date
Aapo
f2e91ec488 [TD] Make dimension number graphical layout more compact by making boundingRect() tighter for dimension number labels. 2020-12-01 14:37:39 +01:00
luz paz
a8728853d9 Points: Add new icons to the Gui 2020-12-01 13:37:53 +01:00
luz paz
8a35874f8c Points: link to icons from said commands 2020-12-01 13:37:53 +01:00
luz paz
68748e8363 Points: Add Point icons designed by @bitacovir
Add Convert, Merge, and Structure Point WB command icons + register them in the PointsWB Resources file. Icons were designed by bitacovir in the UI/UX subforum.
2020-12-01 13:37:53 +01:00
wmayer
c54deee146 Py2/Qt4: fix build failures and warnings 2020-11-30 19:05:37 +01:00
wmayer
994d29c9b5 PyCXX: harmonize PyCXX with Python C API 2020-11-30 16:02:54 +01:00
Bernd Hahnebach
cfa0293215 FEM: gmsh task panel, fix regression added with c6faecdcee 2020-11-30 11:53:17 +01:00
wmayer
0eba78d400 Gui: [skip ci] support of bitmasks for enum RotationCenterMode 2020-11-29 11:43:51 +01:00
wmayer
18ef1f71fe Part: [skip ci] add GeomAdaptor.hxx to PCH 2020-11-29 00:12:59 +01:00
wmayer
5e83aa8848 Gui: [skip ci] in user settings offer combo box to choose between rotation modes 2020-11-28 22:12:25 +01:00
wmayer
4c9eca5623 Gui: [skip ci] replace dragAtCursor with new enum value WindowCenter 2020-11-28 17:31:42 +01:00
luz paz
5bd5f3a963 Spreadsheet: Fix header uniformity + trailing whitespace
[skip ci]
2020-11-27 19:39:06 +01:00
luz paz
5abfdb1405 ReverseEngineering: Fix header uniformity + trailing whitespace
[skip ci]
2020-11-27 19:38:19 +01:00
wmayer
0e93dd12ed Part: [skip ci] fixes #0004169: DatumPoint at the intersection of a DatumPlane and DatumPoint not working correctly 2020-11-27 19:10:22 +01:00
Abdullah Tahiri
11c3de1bb1 Revert "Sketcher: Solver Interface - Treat length equality parameter as a driven parameter to enable redundant constraint reporting"
This reverts commit 056030b1d2.
2020-11-27 18:30:39 +01:00
wmayer
c582e8a085 Gui: [skip ci] implement new RotationCenterMode called BoundingBoxCenter 2020-11-27 15:12:10 +01:00
Abdullah Tahiri
056030b1d2 Sketcher: Solver Interface - Treat length equality parameter as a driven parameter to enable redundant constraint reporting 2020-11-27 14:31:54 +01:00
Yorik van Havre
fa92973a73 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2020-11-27 13:09:53 +01:00
Yorik van Havre
c3b0af2d8d Arch: Added .ifcjson export type 2020-11-27 13:09:34 +01:00
wmayer
5f7df94ea1 Gui: [skip ci] improve commands Std_ViewSaveCamera & Std_ViewRestoreCamera to save/restore camera per view
Implement resetToHomePosition() for Blender style
2020-11-27 12:27:25 +01:00
wmayer
15e661061c Gui: [skip ci] add commands to save & restore camera positions so that they can be bound to a space mouse button 2020-11-27 12:09:04 +01:00
wmayer
e92fff2ca5 Gui: [skip ci] const correctness and remove superfluous semicolon 2020-11-26 15:59:27 +01:00
Yorik van Havre
01a7680a72 Arch: Fixed regression in structures 2020-11-26 13:47:55 +01:00
wmayer
a16eec8a7b PyCXX: [skip ci] fix SeqBase<>::max_size() by returning the max. value of a Py_ssize_t instead of -1 2020-11-26 10:17:25 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
Bernd Hahnebach
c6faecdcee FEM: small code change to get lgtm quit 2020-11-26 09:07:47 +01:00
Bernd Hahnebach
f2bf17ea1e FEM: dummy usage of some vars for flake8 no longer needed 2020-11-26 09:07:39 +01:00
Bernd Hahnebach
b23578501f FEM: trailing whitespaces 2020-11-26 09:07:32 +01:00
Bernd Hahnebach
029eec37ab FEM: remove superfluous 'pass' 2020-11-26 09:07:25 +01:00
wmayer
de07c92361 Py2: do not open Init[Gui].py files with utf-8 encoding 2020-11-26 00:48:28 +01:00
wmayer
038b0b6f07 PyCXX: [skip ci] avoid MSVC build failure (still needs a proper fix) 2020-11-25 22:11:32 +01:00
wmayer
a3603911bd Gui: [skip ci] when embedding app icon into thumbnail then only scale it if the offscreen image could be created from the active view 2020-11-25 19:43:46 +01:00
Rafael Villar Burke
981b9b6214 Reduce appicon size when generating thumbnail
This smaller size is less intrusive but still can be recognized, and makes the thumbnail more generally useful.
2020-11-25 19:35:59 +01:00
wmayer
a50ae33557 Part/Sketcher: [skip ci] fix build failures with gcc 10 on Fedora
When using gcc 10 and PyCXX 7.1.4 on Fedora there is an error because the conversion from size_t to Py_ssize_t is ambiguous
See https://forum.freecadweb.org/viewtopic.php?f=4&t=52502

The class Py::Tuple is also incorrectly used here and causes a memory leak
2020-11-25 16:56:03 +01:00
wmayer
6b2b6a4868 PyCXX: [skip ci] fix compiler warnings due to changes on PyCXX 2020-11-25 16:52:46 +01:00
wmayer
ef583e6582 PyCXX: harmonize PyCXX with Python C API 2020-11-25 14:35:59 +01:00
Yorik van Havre
e3e6f64fa1 Merge pull request #4067 from marioalexis84/draft-upgrade
Draft: Some fixes in upgrade function
2020-11-25 11:07:01 +01:00
Yorik van Havre
711b4440f2 Merge pull request #4077 from marioalexis84/draft-arch_dim_tracker
Draft: Change archDimTracker text position depending on distance and scale values
2020-11-25 10:17:39 +01:00
donovaly
9dc45340a9 [App] get rid of MSCV compiler warning
the same as in https://github.com/FreeCAD/FreeCAD/pull/4053
2020-11-25 09:51:40 +01:00
marioalexis
8e080f1dac Draft: Some fixes in upgrade function. bug #0004460, fixes #0004462, #0004080 2020-11-24 22:08:06 -03:00
Rafael Villar Burke
27130f779a Fix thumbnailing
This fixes thumbnailing for XDG desktops. The new script doesn't depend on GNOME libs and works either with python3 or python2.
Also, a thumbnailer config file is added to the installation in CMakeList.txt
2020-11-24 17:47:40 +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
27ee19c1f7 Init: [skip ci] do explicitly open Init[Gui].py files with utf-8 encoding 2020-11-24 14:15:26 +01:00
wmayer
8d73c8f07f Import: [skip ci] do not scale when exporting to glTF format 2020-11-23 22:36:40 +01:00
sliptonic
fc3bf09512 Merge pull request #4073 from Russ4262/fix_slot
Path: Fix arc slotting direction in Slot operation
2020-11-23 15:08:40 -06:00
marioalexis
31f30747ac Draft: Change archDimTracker text position depending on distance and scale values 2020-11-23 16:25:21 -03:00
sliptonic
40d79fc048 Merge pull request #4014 from sliptonic/feature/toolbitdock
[PATH] Feature/toolbitdock
2020-11-23 10:12:58 -06:00
wmayer
b3200a8a9a Gui: [skip ci] add method to return list of QAction of a Command 2020-11-23 16:49:25 +01:00
wmayer
6e07dd9e26 Gui: [skip ci] add method to create Python wrapper for QObject 2020-11-23 16:48:54 +01:00
Russell Johnson
d41369ad52 Path: LGTM cleanup 2020-11-22 18:27:21 -06:00