Changesets: FreeCAD
master 45fd865f 2019-09-17 12:42:39 Committer: wwmayer Details Diff |
Gui: refactor bounding box selection style Previously, box style selection is rendered using customized SoBoxSelectionRenderAction, which does not support selection context, i.e. it does not work with Link. This patch implements context aware bound box rendering inside SoFCSelectionRoot, SoFCSelection and SoFCPathAnnotation (for always on top rendering). The box rendering in SoBoxSelectionRenderAction is disabled on construction. Box style selection can be enabled for individual object through property SelectionStyle (moved from ViewProviderGeometryObject to ViewProviderDocumentObject), or globally through Parameter BaseApp/Preferences/View/ShowSelectionBoundingBox. In addition, the parameter BaseApp/Preferences/View/UseNewSelection is used to override selection model reported from ViewProvider::useNewSelectionModel(). The reason being that, the same parameter is already used to toggle selection model inside SoFCSelection. This avoids inconsistency of selection model choice between view provider and the SoFCSelection node inside. Note that if the parameter 'UseNewSelection' is set to false, those view providers that choose old selection model will not work with Link. |
||
mod - src/Gui/SoFCSelection.cpp | Diff File | ||
mod - src/Gui/SoFCSelection.h | Diff File | ||
mod - src/Gui/SoFCSelectionAction.cpp | Diff File | ||
mod - src/Gui/SoFCUnifiedSelection.cpp | Diff File | ||
mod - src/Gui/SoFCUnifiedSelection.h | Diff File | ||
mod - src/Gui/View3DInventorViewer.cpp | Diff File | ||
mod - src/Gui/ViewParams.h | Diff File | ||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.h | Diff File | ||
mod - src/Gui/ViewProviderGeometryObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderLink.cpp | Diff File | ||
mod - src/Mod/Mesh/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepEdgeSet.cpp | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepEdgeSet.h | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepFaceSet.cpp | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepFaceSet.h | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepPointSet.cpp | Diff File | ||
mod - src/Mod/Part/Gui/SoBrepPointSet.h | Diff File | ||
mod - src/Mod/Part/Gui/ViewProviderExt.cpp | Diff File | ||
master 714d2089 2019-09-17 12:29:15 Committer: wmayer Details Diff |
Gui: fix tree view lingering sub element selection | ||
mod - src/Gui/Tree.cpp | Diff File | ||
master c04a823d 2019-09-17 11:23:48 Details Diff |
[TD]Fix mishandling of escaped html in Templates | ||
mod - src/Mod/TechDraw/Gui/TemplateTextField.cpp | Diff File | ||
master c4fec26a 2019-09-17 03:39:03 Committer: wmayer Details Diff |
Gui: improve PropertyXLink display in property view | ||
mod - src/Gui/propertyeditor/PropertyItem.cpp | Diff File | ||
master 998f801d 2019-09-17 03:23:08 Committer: wmayer Details Diff |
App: migrate old SubElements in Link | ||
mod - src/App/Link.cpp | Diff File | ||
mod - src/App/Link.h | Diff File | ||
master f76e74d2 2019-09-16 19:46:07 Details Diff |
[TD]Fix Annotation font size and descenders | ||
mod - src/Mod/TechDraw/App/DrawViewAnnotation.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGIViewAnnotation.cpp | Diff File | ||
master 4556d3f1 2019-09-16 17:33:31 Details Diff |
[TD]Fix section line unfilled arrow heads | ||
mod - src/Mod/TechDraw/Gui/QGIArrow.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGISectionLine.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGIVertex.h | Diff File | ||
master 006e1198 2019-09-16 16:00:24 Details Diff |
use NaN for invalid quantities instead of DOUBLE_MIN | ||
mod - src/Base/Quantity.cpp | Diff File | ||
master 1f3d2389 2019-09-16 15:59:18 Details Diff |
start to replace old C-style casts with static_cast or reinterpret_cast, avoid implicit casts | ||
mod - src/Base/BoundBox.h | Diff File | ||
mod - src/Base/Builder3D.cpp | Diff File | ||
mod - src/Base/Factory.cpp | Diff File | ||
mod - src/Base/GeometryPyCXX.h | Diff File | ||
mod - src/Base/Handle.cpp | Diff File | ||
mod - src/Base/Matrix.cpp | Diff File | ||
mod - src/Base/Matrix.h | Diff File | ||
mod - src/Base/Rotation.cpp | Diff File | ||
mod - src/Base/Vector3D.h | Diff File | ||
mod - src/Base/XMLTools.h | Diff File | ||
master 834f9771 2019-09-16 09:48:47 Committer: wmayer Details Diff |
App: add argument 'hidden' to FreeCAD.new/openDocument() The keyword argument 'hidden' allows create/open document without 3D view. |
||
mod - src/App/Application.h | Diff File | ||
mod - src/App/ApplicationPy.cpp | Diff File | ||
master 68aca247 2019-09-16 08:49:09 Committer: wmayer Details Diff |
Gui: remove FC_TREEPARAM, add document for class TreeParams | ||
mod - src/Gui/ActiveObjectList.cpp | Diff File | ||
mod - src/Gui/CommandView.cpp | Diff File | ||
mod - src/Gui/Tree.cpp | Diff File | ||
mod - src/Gui/Tree.h | Diff File | ||
master cdd31fb1 2019-09-16 03:35:13 Committer: wmayer Details Diff |
Gui: fix tree view auto expand | ||
mod - src/Gui/Tree.cpp | Diff File | ||
master 3af5d97e 2019-09-15 20:41:51 Details Diff |
FEM: coding conventions, add documentation info | ||
mod - src/Mod/Fem/coding_conventions.md | Diff File | ||
master 13e2fbf0 2019-09-15 20:39:31 Details Diff |
FEM: ccx tools, use python documentation style | ||
mod - src/Mod/Fem/femtools/ccxtools.py | Diff File | ||
master b46856d0 2019-09-15 19:57:20 Details Diff |
FEM: result task panel, do not activate greyed buttons | ||
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemResultMechanical.py | Diff File | ||
master 9dfcdb98 2019-09-15 19:10:51 Details Diff |
fix possible memory leak | ||
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp | Diff File | ||
master 4f289416 2019-09-15 19:00:21 Details Diff |
fix possible memory leak | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 1bfe0f3b 2019-09-15 16:15:44 Details Diff |
fixes 0004125: MDIViews not accessible correctly |
Affected Issues 0004125 |
|
mod - src/Gui/Application.cpp | Diff File | ||
mod - src/Gui/CMakeLists.txt | Diff File | ||
mod - src/Gui/MDIView.cpp | Diff File | ||
mod - src/Gui/MDIView.h | Diff File | ||
add - src/Gui/MDIViewPy.cpp | Diff File | ||
add - src/Gui/MDIViewPy.h | Diff File | ||
mod - src/Gui/TextDocumentEditorView.cpp | Diff File | ||
mod - src/Gui/TextDocumentEditorView.h | Diff File | ||
mod - src/Gui/View3DInventor.cpp | Diff File | ||
mod - src/Mod/Spreadsheet/Gui/AppSpreadsheetGui.cpp | Diff File | ||
mod - src/Mod/Spreadsheet/Gui/SpreadsheetView.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/AppTechDrawGui.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/MDIViewPage.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/MDIViewPage.h | Diff File | ||
master 0347a4b7 2019-09-15 09:09:19 vocx-fc Committer: yorik Details Diff |
Draft: TestDraft, refactor unit tests, 66 in total. Only 50 test are really performed. Some tests are not fully implemented, for example, arc_3points, dimension_radial, shapestring, trim, extend, and stretch. The reason is that there are no proper functions to test. In order to have a unit test, basic functions that perform these actions must be written inside Draft.py. At the moment, these tests just run a _fake_function() which always returns successfully and thus the test always passes without problem. There are also tests for the import and export of SVG, DXF, DWG, and OCA files. Currently these are also not implemented. Sample files could be provided in the source tree in order to test basic operations like opening, import, and export. A complete unit test would require writing a test for each geometrical element that could be imported and exported, that is, line, circle, arc, rectangle, etc. These tests are inspired by the tests in the FEM workbench. Import of modules is tested, as well as the creation and modification tools. Eventually, the tests should be migrated to individual modules, and test files should be provided to serve as reference. |
||
mod - src/Mod/Draft/TestDraft.py | Diff File | ||
master 4631b26d 2019-09-15 09:03:21 Details Diff |
fix crash in polyline tool | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 9472edbd 2019-09-14 20:53:47 Details Diff |
FEM: result task panel, fix if restore result is True but some results are missing | ||
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemResultMechanical.py | Diff File | ||
master 585211c3 2019-09-14 20:53:05 Details Diff |
FEM: white spaces | ||
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemSolverCalculix.py | Diff File | ||
master a374ecc8 2019-09-14 20:50:31 Details Diff |
FEM: delete file which was added by acident | ||
rm - src/Mod/Fem/femguiobjects/_ViewProviderFemSolverCalculix.py.rej | Diff File | ||
master d563d901 2019-09-14 20:08:42 Details Diff |
Arch: use IfcType undefined for building parts, is annotation or actuator ATM | ||
mod - src/Mod/Arch/ArchBuildingPart.py | Diff File | ||
master 32153e6a 2019-09-14 19:01:51 Details Diff |
FEM: calculix solver task panel | ||
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemSolverCalculix.py | Diff File | ||
add - src/Mod/Fem/femguiobjects/_ViewProviderFemSolverCalculix.py.rej | Diff File |