Commit Graph

28 Commits

Author SHA1 Message Date
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +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
27ee19c1f7 Init: [skip ci] do explicitly open Init[Gui].py files with utf-8 encoding 2020-11-24 14:15:26 +01:00
wmayer
393da0d6d9 Gui: [skip ci] add an alias for Gui.isCommandActive 2020-10-01 16:03:08 +02:00
wmayer
623d6b7134 Gui: [skip ci] add x3d and xhtml format to export dialog 2020-09-07 16:27:21 +02:00
wmayer
76e7429489 Gui: [skip ci] set Gui.listCommands to keep old code working 2020-08-03 18:58:00 +02:00
wmayer
8663e724f5 Gui: move functions to list menus and toolbars from sub-class to base Workbench class
implement new function to list all toolbars and their used commands
2020-04-04 11:46:45 +02:00
wmayer
475f518510 Gui: [skip ci] replace tabs with spaces in GUI init script 2020-04-04 09:42:30 +02:00
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
Zheng, Lei
d833e19e01 App/Gui: Changes to application Python init script
* Better module import error handling

* Allow co-installation of Python2 and Python3 version of FreeCAD

* Add FreeCAD.Logger class for convenient logging in Python. See class
  document for more details.
2019-08-17 15:08:34 +02:00
Zheng, Lei
c8891be856 Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
looooo
599e59059b reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo
b20d1bc09c new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
wmayer
1cfae464b4 issue #0002973: Path to FreeCAD.app can't contain unicode 2017-12-02 19:37:05 +01:00
wmayer
00d6df17e3 don't exit FreeCAD when Ext directory doesn't exist 2017-09-22 10:37:11 +02:00
looooo
2ff47374f2 new-style-modules: adding the possebility to import from "freecad"
(this mostly aims at new modules and extension modules which want to use pip)
- any module having problems with nameclashes can use this syntax (from freecad import module)
- current imports still work (backward cobatibility)
- python extension moduels can be installed (pip) to python std path (eg.: site-packages)

- adding app, gui to the new freecad package:
```
from freecad import app
from freecad import gui
```

- syntax for importing c++ extension will not change
```
import FreeCAD as App
import FreeCADGui as Gui
```
2017-09-20 23:25:12 +02:00
Yorik van Havre
aa3f9288d6 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
looooo
bcfac0e9b7 use __ModDirs__ for module directories and set the search path of FreeCAD to the base directories, which contain all the modules 2017-03-18 18:20:59 +01:00
looooo
c2cdc9eded py3: Gui: FreeCADGuiInit.py 2017-03-18 18:20:59 +01:00
wmayer
e9e9a38865 + improve exception handling in initialization scripts 2015-12-29 23:42:29 +01:00
wmayer
2362239edf + Add Python example of embedding FreeCAD 2015-11-20 22:35:26 +01:00
wmayer
a801fb20b8 + disable SVG and IDTF export for 3d view 2015-08-26 22:11:53 +02:00
wmayer
5912342e3f + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer
003c2bf77d + fix warnings with clang 2014-09-24 15:55:36 +02:00
wmayer
7506e740e0 + Use application icon as default workbench name 2014-01-22 17:35:10 +01:00
wmayer
f1f3151345 +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
wmayer
fcb4d396a1 Add program options --output and --hidden and implement PDF as export format 2012-03-31 13:25:01 +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