Commit Graph

86 Commits

Author SHA1 Message Date
wmayer
5354632bfb Fix several clazy issues:
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
2022-07-25 00:04:04 +02:00
wmayer
b548d3b1ef Partially revert "Remove unused code into GUI" 2022-07-17 12:32:03 +02:00
andrea
3018985f80 Remove unused code into GUI 2022-07-17 03:53:11 +02:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Yorik van Havre
362045677c Gui: Added 'Report a bug' help menu entry 2022-03-04 14:06:59 +01:00
wmayer
07200f9260 Gui: extend Workbench class to allow to define permanent menu items 2022-02-14 16:47:32 +01:00
marioalexis
fc6e870a67 Part: Move Part_SectionCut command to Part menu item list 2022-02-08 12:09:09 +01:00
Uwe
bb204842f2 [Part] feature to make persistent section cut views (#4118)
* [Part] feature to make persistent section cut views

* one aim is to have a feature to make real cuts, not hollow ones like with clipping
* the second one is to have a persistent view, so an object in the tree that can be further exported, meshed etc.

For a detailed description with examples see https://forum.freecadweb.org/viewtopic.php?f=17&t=52441
2022-02-05 01:57:57 +01:00
Uwe
e4703ba5e6 revert unwanted part from previous commit 2022-02-01 02:47:13 +01:00
Uwe
7018506cdf [Gui] sort includes
to keep the overview and to reduce diff of a pending PR
2022-02-01 02:40:47 +01:00
Chris Hennes
2bfcf6af09 GUI: Handle packaged Workbenches and their icons 2021-12-18 20:29:42 -06:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
luz paz
1957bcc489 Gui: expose the 'Link Actions' toolbar icon to translation
Related to https://github.com/FreeCAD/FreeCAD-translations/issues/51 and https://github.com/FreeCAD/FreeCAD-translations/issues/16
2021-11-10 01:12:45 +01:00
mwganson
b46e454190 [Dragger] add dragger (Std_TransformManip) to right click context menu when right clicking on an object in the 3D view 2021-10-05 23:02:15 -05:00
wmayer
fe7f4c4be7 Gui: remove QT_TR_NOOP from command group names and use "CommandGroup" as context string 2021-09-29 16:31:55 +02:00
luz paz
528790ddb8 Crowdin: Expose View -> 'Standard views' -> 'Axonometric' to translation
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/63
2021-09-12 11:04:39 -04:00
Yorik van Havre
3e483c5268 Merge pull request #4788 from 0penBrain/UserEditMode
Gui: add user edit mode (default edit mode set by user)
2021-09-02 11:50:03 +02:00
Chris Hennes
44ce401a53 [GUI] Refactor tooltip code to rebuild shortcut
When the shortcut/accelerator key is changed, the tooltip should be
recalculated using the same code that calculated the original. Also
ensure this happens when the accelerator preferences are loaded.

Fixes #4664.
2021-08-25 14:24:17 -05:00
0penBrain
b84bb1a16a [Gui] UserEditMode : add menu and toolbar management 2021-05-14 09:23:04 +02:00
donovaly
6bd2dc7d21 [Gui] add Std_TransformManip to MenuItem
I was wondering why we only offer this tool in the context menu. I tested and cannot see a drawback in having it also in the edit menu
2021-03-28 11:34:40 +02:00
Zheng, Lei
d45122f45f Gui: add 'Donate' to Help menu 2021-01-04 10:43:37 +08:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
mwganson
4a0d127dae [Macro Menu] add Recent macros to Macro menu + list size preference. Executes selected macro or if Shift+click opens macro in editor. 2020-09-03 11:29:37 +02:00
mwganson
78cd1790df [Standard Views] add Home view command. Default shortcut is 'Home' key. Restores camera orientation to current home view, configurable in edit menu -> preferences -> display -> navigation -> New Document Camera Orientation / Home view. 2020-07-20 13:48:37 +02:00
wmayer
17c79f19e2 Gui: [skip ci] rename Std_ExportGraphviz to Std_DependencyGraph 2020-05-13 10:26:57 +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
5947a5bad5 Gui: add possibility to connect to remote Python debugger 2020-02-29 14:25:51 +01:00
wmayer
832d175377 Gui: fix naming inconsistency and rename 'combi' to 'combo' 2020-02-08 13:43:44 +01:00
Yorik van Havre
8c571f90a0 Implemented SendToPythonConsole FreeCAD-wide (edit and context menu) 2020-02-04 10:02:29 +01:00
wmayer
13db5b0560 Add GUI command to insert a text document into the active document 2019-12-11 16:01:31 +01:00
Zheng, Lei
fbfad66d2b Gui: expose link actions to toolbar 2019-10-08 10:25:36 +02:00
Zheng, Lei
e03e6d9a44 Gui: expose link selection and navigation command 2019-10-08 10:19:20 +02:00
Zheng, Lei
5c26b7a3ba Gui: add toolbar button for toggling selection bounding box 2019-10-08 09:56:09 +02:00
wmayer
cb19453921 re-activate DAG view 2019-09-08 16:00:08 +02:00
Zheng, Lei
030f00e7cf Gui: expose link command to global toolbar 2019-08-30 14:43:32 +02:00
Zheng, Lei
c93741d72f Gui: add box geometry element selection command
Implement box element selection that support linked and grouped objects.
Also modified original box selection command to support the same with
the same code.
2019-08-17 15:08:33 +02:00
Zheng, Lei
c18bf11821 Gui: refactor tree view
* Major refactor of tree view to support external linking.

* Item update and selection change are now mostly handled by timer for
  performance improvement.

* Major change to drag and drop for better support of switching between
  copy, move and replace action, and auto adjustment of placement and
  relative link.

* Add second column for user changable object description.

* Unified tree view options and action into command group
  Std_TreeViewActions.

* Modified object search function to find external objects using
  Expression syntax.
2019-08-17 15:08:33 +02:00
wmayer
64a94ae0f7 implement Isometric, Dimetric and Trimetric projection 2019-01-10 18:31:17 +01:00
wmayer
409fec05c9 improve whitspaces 2018-10-23 12:43:47 +02:00
wmayer
ba2cdde66e move document mode command further uo in the View menu 2018-09-13 01:23:52 +02:00
Markus Lampert
6359c26b5b Changed tree view document hiding boolean to integer to support arbitrary number of views. 2018-09-11 11:38:38 +02:00
Markus Lampert
03d4f084c7 Added option to hide inactive documents in tree view. 2018-09-11 11:38:20 +02:00
Stefan Tröger
61cfad5020 Add group command to structure toolbar 2017-09-09 16:47:07 +02:00
Stefan Tröger
dd87094672 Move App::Part to a separate global toolbar 2017-09-09 16:47:07 +02:00
triplus
237a880705 Add standard fullscreen mode 2017-09-08 13:15:46 +02:00
Kurt Kremitzki
25496adcbe Add Addon Manager to Tools menu 2017-02-02 11:20:41 +01:00
wmayer
9b33f4130b add command to select visible objects 2016-12-21 15:21:18 +01:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
3e1ce240ba translation items of OSX application menu 2016-07-24 10:56:12 +02:00
blobfish
3e65723472 Core: Gui: DAGView: skeleton implemented
Need to enable through parameter BaseApp/Preferences/DAGView
2016-04-12 18:12:10 +02:00