Commit Graph

18124 Commits

Author SHA1 Message Date
Zheng, Lei
05ca5b82e1 Gui: minor change to tree view document restore handling 2019-09-07 17:00:13 +02:00
Zheng, Lei
f90afabac4 App: call setActiveDocument when reverting document 2019-09-07 17:00:03 +02:00
Zheng, Lei
e976232ed7 PartDesign: fix ViewProviderBody tip icon update 2019-09-07 16:59:55 +02:00
Zheng, Lei
b2893691cf Gui: improve Gui.addIcon(), add Gui.isIconCached()
The motivation of this patch is to make it easy for Python workbench
cache its own icons (possibly generated at runtime), saving the trouble
of pre-compiling the icons as binary resources.

* Gui.addIcon() now support a third argument as format. Default format
  is 'XPM' as before. The intention is to allow user to cache other
  format of icon image, like 'PNG'.

* ViewProviderPythonFeature::getIcon() now checks if the given string
  argument is a key to a cached icon.
2019-09-07 16:01:19 +02:00
wmayer
c510345ff6 move Save history action to the correct position in the context-menu, do some minor optimizations 2019-09-07 15:48:16 +02:00
Yorik van Havre
33ad1759ef Python Console - only save max 100 history items 2019-09-07 15:27:04 +02:00
Yorik van Havre
b264e34083 Add Python console option to save history across sessions 2019-09-07 15:26:45 +02:00
triplus
5eb06381d6 Travis - upgrade to Xenial and use OCCT from PPA 2019-09-07 15:20:37 +02:00
wmayer
d05ae18340 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
cc2e507817 fix -Wreturn-std-move 2019-09-07 14:45:03 +02:00
wmayer
93321dc208 make PySideUicModule working independent of linking PySide or loading it at runtime 2019-09-07 13:40:04 +02:00
wandererfan
8940fa3593 [TD]Fix Tracker stays active on Cancel 2019-09-07 07:32:24 -04:00
wandererfan
5f4e9906a7 [TD]Remove old hatch on add new hatch 2019-09-07 07:32:24 -04:00
wmayer
830c8f866e Improve branding by avoiding explicit use of 'FreeCAD' in tool tips 2019-09-07 13:18:59 +02:00
vocx-fc
25558805d4 TechDraw, fixed Doxygen complaint 2019-09-06 20:08:28 -04:00
wmayer
19abb09fab remove wrong typename keyword 2019-09-07 00:29:18 +02:00
wmayer
530b75d594 fix -Wunused-local-typedef 2019-09-06 23:03:43 +02:00
wmayer
1eb197f4a8 fix incorrect use of PyObject_TypeCheck in LinkViewPy 2019-09-06 22:53:17 +02:00
Yorik van Havre
afed92ba8e Arch: More info if IfcOpenShell is not installed 2019-09-06 17:45:15 -03:00
Bernd Hahnebach
3fe1ee1f69 FEM: use tmp dir if working dir is besides FC file, but FC file has never been saved 2019-09-06 21:59:52 +02:00
Bernd Hahnebach
548bd90f2b FEM: gmsh tools, recode method to get the working path, use the solver prefs 2019-09-06 21:59:44 +02:00
Bernd Hahnebach
53a2d42ce8 FEM: utils, move working dir check from ccx tools to utils 2019-09-06 21:59:37 +02:00
Bernd Hahnebach
eafc9b211a FEM: utils, use snake case for variables too 2019-09-06 21:59:28 +02:00
Bernd Hahnebach
c66f9a5b5c FEM: utils, use snake case for new methods 2019-09-06 21:59:14 +02:00
Bernd Hahnebach
fed8cef90e FEM: move working path methods from solver run to utils 2019-09-06 21:59:05 +02:00
Bernd Hahnebach
28fa3ffacf FEM: rename code formatting to coding conventions 2019-09-06 21:58:58 +02:00
wmayer
b14cf8a00d extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
vocx-fc
48aa182287 Draft: DraftLayer, provide Draft_Layer.svg icon, and use it instead of Draft_VisGroup.svg, even if it's the same to be consistent in the naming 2019-09-06 12:08:11 -03:00
wmayer
7ee903f27c avoid explicit cast to ZipInputStream in Gui::Dcoument class 2019-09-06 12:37:09 +02:00
Bernd Hahnebach
e52226e750 Update codeformating.md 2019-09-06 07:58:00 +02:00
Bernd Hahnebach
8bdfb8ccf1 FEM: update in codeformating rules 2019-09-06 07:55:23 +02:00
Yorik van Havre
2463c2a7d5 Draft: Allow to set a default camera height 2019-09-05 20:50:29 -03:00
Bernd Hahnebach
ef558a8d25 FEM: codeformating, add a file with some information 2019-09-06 00:11:29 +02:00
sliptonic
c57cc84e0f Merge pull request #2496 from dubstar-04/feature/coolant-management
[Path] Add the coolant dropdown to the 3D Surface Op
2019-09-05 17:02:53 -05:00
Bernd Hahnebach
1bda30e845 FEM: some small code formation 2019-09-05 23:08:27 +02:00
Bernd Hahnebach
33f2aa8759 FEM: test main module, use single quotes instead of double ones 2019-09-05 22:32:54 +02:00
Bernd Hahnebach
ee99681471 FEM: results, use single quotes instead of double ones 2019-09-05 22:32:48 +02:00
Bernd Hahnebach
88004dcbfb FEM: objs, use single quotes instead of double ones 2019-09-05 22:32:42 +02:00
Bernd Hahnebach
b2d0439ec2 FEM: utils, use single quotes instead of double ones 2019-09-05 22:32:37 +02:00
Bernd Hahnebach
448e9d7731 FEM: gui objs, use single quotes instead of double ones 2019-09-05 22:32:32 +02:00
Bernd Hahnebach
55913c5395 FEM: examples, use single quotes instead of double ones 2019-09-05 22:32:26 +02:00
Bernd Hahnebach
172162678f FEM: mesh package, all left code, use single quotes instead of double ones 2019-09-05 22:32:20 +02:00
Daniel Wood
1ddaf9325f Merge branch 'master' into feature/coolant-management 2019-09-05 18:15:45 +01:00
Daniel Wood
f2cff5e014 Add the coolant dropdown to the 3D Surface Op 2019-09-05 18:12:41 +01:00
wmayer
994578d8af encode keys of PropertyMap when saving as XML 2019-09-05 18:51:35 +02:00
Bernd Hahnebach
2b06b87c96 FEM: gmsh tools, new lines and comments 2019-09-05 18:33:04 +02:00
Bernd Hahnebach
8a61cffcd9 FEM: ccx tools, use single quotes instead of double ones 2019-09-05 18:25:07 +02:00
Bernd Hahnebach
d7bc0458d7 FEM: solver calculix, use single quotes instead of double ones 2019-09-05 18:25:02 +02:00
Bernd Hahnebach
872b5bcdd2 FEM: solver elmer, use single quotes instead of double ones 2019-09-05 18:24:55 +02:00
Bernd Hahnebach
c6e8c6d45f FEM: solver z88, use single quotes instead of double ones 2019-09-05 18:24:41 +02:00