Commit Graph

26517 Commits

Author SHA1 Message Date
Uwe
d88397f3d6 [App] Placement and Property: remove unused includes 2022-02-24 01:09:00 +01:00
Chris Hennes
18c7ef6370 Addon Manager: Show correct buttons when no git
If git and/or GitPython are not installed, the Addon Manager cannot
check to see if there are any available updates. In that case, show
the "Uninstall" and "Update" buttons. If no update is available,
clicking the update button will simply download a new copy of the
addon.
2022-02-23 17:02:23 -06:00
wmayer
9ca1173a30 Gui: [skip ci] restore block cursor setting for Python console at startup 2022-02-23 22:49:35 +01:00
Uwe
581a66aa2d [Base] Exception and FileInfo: remove unused includes 2022-02-23 19:13:13 +01:00
Dirk Olbrich
99bf963f54 [Mod] reorder module imports alphabetically 2022-02-23 19:02:55 +01:00
Noah
cced5c05ec Gui: fix use of deprecated Qt::TextColorRole
Qt::TextColorRole (enum ItemDataRole) is deprecated as of Qt 5.13 and will be removed in Qt 6:

- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.13.0#n1511

It's replaced with `Qt::ForegroundRole` which is available since at least Qt 5.0 (FreeCAD 0.20 will require Qt 5.9 or later).

- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.0.0#n1374
- https://wiki.freecadweb.org/0.20_Development_Cycle
2022-02-23 17:53:33 +01:00
wmayer
a29cee8c1d Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API 2022-02-23 17:35:42 +01:00
sliptonic
efbba14254 Merge pull request #5512 from luzpaz/Path-PathSelection-bug
Path: Fix class 'KeyError' in PathSelection.py
2022-02-23 08:40:45 -06:00
mwganson
74f4a2b91e [Std_SendToPythonConsole] add doc, sub, and subs 2022-02-23 15:14:48 +01:00
Uwe
8d07ce282e [Tools] rename a variable to silence the spellchecker CI 2022-02-23 13:03:05 +01:00
Uwe
d0183415a4 [Robot] fix typo reported by spellchecker CI
- Accelaration -> Acceleration

- plus some style fixes done by MSVC
2022-02-23 12:13:15 +01:00
Uwe
09ce5ce137 [App] Document: remove unused includes 2022-02-23 01:56:26 +01:00
luz paz
958a1c67d5 [Path] mark deprecated selections
...and fix typos
2022-02-22 19:07:54 -05:00
Uwe
34df90a4a1 [Show] delete empty and unused file 2022-02-23 00:42:53 +01:00
Uwe
7d1e7fa506 [Base] rename a variable to please the spellchecker CI 2022-02-23 00:40:21 +01:00
sliptonic
ce70ee11f9 Update PathSelection.py
The Opname changed as part of the translation cleanup.  Adding both names to the dictionary will support both existing operations and newly created ones.
2022-02-22 14:56:00 -06:00
sliptonic
dc94ff8b6f Merge pull request #5424 from Russ4262/fix/3D_pocket_overcut
Path: Fixes 3D Pocket overcut on underside of selected faces
2022-02-22 08:52:12 -06:00
sliptonic
c6e043b3c4 Merge pull request #6394 from sliptonic/bug/engravingsketch
Bug/engravingsketch
2022-02-22 08:44:03 -06:00
Yorik van Havre
5d8db3cfbe Arch: Fixed wrong constant in IFC export 2022-02-22 14:36:54 +01:00
FEA-eng
e873aafca1 Add new diagonal hatch (flipped) 2022-02-22 08:32:28 -05:00
Uwe
d3473523d2 [App] Application: remove unused includes
- also sort the includes
2022-02-22 13:17:07 +01:00
Uwe
288ccdb004 [Base] fix typo to silence spellchecker CI 2022-02-22 02:31:51 +01:00
Uwe
da9c18374b [PD] final work to remove unused includes 2022-02-22 02:18:49 +01:00
Uwe
16467d9067 Revert "App: fix property ordering problem when undo/redo (#3255)"
This reverts commit 24d30636e4fb990fdbd67538360846ff09456dfc.
2022-02-22 01:21:49 +01:00
Uwe
17e6ebf120 [PD] remove more unused includes 2022-02-22 01:19:32 +01:00
wmayer
0bd37c0254 Robot: [skip ci] drop word from tooltip 2022-02-21 22:48:49 +01:00
marioalexis
3ad07f5a15 Gui: Change the editor preferences preview to Python 3 2022-02-21 14:50:03 -06:00
wmayer
eb92031774 Test: automatically close modal dialogs when running Workbench tests 2022-02-21 21:29:26 +01:00
wmayer
fce7e11636 Gui: Attach PythonConsole to parameter group and handle changes in its OnChange() method
This avoids code duplications and makes sure the group name is used only once.
The parameters are saved to the group 'PythonConsole' instead of 'General'.
2022-02-21 19:26:44 +01:00
wmayer
71a6ffde35 Gui: move Python console specific settings to its own tab because General is quite overloaded 2022-02-21 17:49:27 +01:00
Uwe
39c03863b5 [Part] compile fix for precompiled header
For an unknown reason BRepFill_Generator.hxx must be load explicitly for precompiled headers.
2022-02-21 16:52:41 +01:00
wmayer
ae2331b316 Gui: fix warning -Wunused-parameter
The function PropertyEditor::recomputeDocument() accepts a pointer to App::Document that is passed by the calling instance closeTransaction().
Since this is the active document there is no need for PropertyEditor::recomputeDocument() to ignore the argument and determine the active document again.
2022-02-21 15:41:28 +01:00
Uwe
7b7a0aa4bf [PD] remove some more unused includes 2022-02-21 15:13:54 +01:00
Uwe
d981efa198 [Robot] fix a typo reported by spellchecker CI 2022-02-21 14:16:01 +01:00
Zheng, Lei
2895f8f631 App: fix undo/redo of dynamic property add/remove/change 2022-02-21 14:04:12 +01:00
Uwe
e074b63650 [Arch] fix typo reported by spellchecker CI 2022-02-21 13:47:46 +01:00
Uwe
933484e387 fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
Uwe
e2dd2627e8 fix some typos to silence the spellchecker CI 2022-02-21 13:09:29 +01:00
wmayer
b0d8601562 OpenSCAD: make sure all unit tests pass in command line mode 2022-02-21 12:38:50 +01:00
Zheng Lei
170a12089c App: fix property ordering problem when undo/redo (#3255)
* Part: fix Placement/Shape onChanged() handling

* App: fix property ordering problem when undo/redo
See https://tracker.freecadweb.org/view.php?id=4265#c14271

* Gui: fix undo/redo signaling
Make sure to signal after all properties has been restored
2022-02-21 12:29:01 +01:00
Zheng Lei
f12ae8a13c Gui: improve PropertyEditor refresh (#3535)
* Gui: fix PropertyView 'Add property' action

* Gui: fix property view font color for linked property

* Gui: improve PropertyEditor refresh

* Gui: show real property name in property view tool tip

* Gui: improve property view tool tip

* Gui: fix auto recompute in property view

* Gui: remove duplicated PropertyModel signal of dataChanged()

* Gui: fix property view update on property change
Including changes in document properties

* Gui: fix transaction closing on property editor change
On editing row removal and on model reset.

* Gui: fix property view auto expansion of previous selected item

* Gui: improve property editor navigation using tab/shift+tab
2022-02-21 12:26:21 +01:00
wmayer
e73020e8d2 Gui: [skip ci] fix warning -Winconsistent-missing-override 2022-02-21 11:50:38 +01:00
Yorik van Havre
07783e463d Merge pull request #6406 from marioalexis84/draft-drawing_techdraw
Draft: Replace Drawing functions with TechDraw functions
2022-02-21 11:10:36 +01:00
Roy
84b3003e8e Draft: Housekeeping: call 'make' functions with new name (4) 2022-02-20 22:31:08 -06:00
Chris Hennes
3ecd0cd0f0 Preference Packs: Add revert to backup option 2022-02-20 22:12:09 -06:00
Chris Hennes
ff67ebce8a Addon Manager: Add GUI for enabling/disabling addons 2022-02-20 22:09:57 -06:00
Chris Hennes
ec90b7f954 Core: Add mechanism to disable addon 2022-02-20 22:09:57 -06:00
Zheng, Lei
cd7c208177 Spreadsheet: fix auto completer triggering 2022-02-20 22:09:07 -06:00
luz paz
79d2a192fc [GUI] Adjust Preferences dialog display position to be fully visible.
based on [commit](b1effe2250)
forum thread [thread](https://forum.freecadweb.org/viewtopic.php?f=8&t=66410)  
This PR replaces #6398
2022-02-20 21:55:12 -06:00
Uwe
b2f9713732 [Gui] minor header work 2022-02-21 04:49:20 +01:00