Commit Graph

3663 Commits

Author SHA1 Message Date
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
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
e2dd2627e8 fix some typos to silence the spellchecker CI 2022-02-21 13:09:29 +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
Chris Hennes
3ecd0cd0f0 Preference Packs: Add revert to backup option 2022-02-20 22:12:09 -06:00
Chris Hennes
ec90b7f954 Core: Add mechanism to disable addon 2022-02-20 22:09:57 -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
Uwe
aa78832048 [Gui] Widgets and Window: remove unused includes 2022-02-21 00:39:24 +01:00
Uwe
6a0a6e006c [Gui] more work to remove unused includes 2022-02-21 00:03:13 +01:00
Uwe
9d2692ff1b [Gui] Action: re-add an include 2022-02-20 23:35:30 +01:00
Uwe
e655ef820b [Gui] Application, command etc: remove unused includes 2022-02-20 22:41:34 +01:00
Uwe
bb4e6e477c [Gui] improvements for PCH builds 2022-02-19 06:38:45 +01:00
Uwe
8a0e6dd587 [Gui] compilation fixes for non-PCH
the recent commits were done with PCH, this is the final commit of today's header work for PCH
2022-02-19 06:22:08 +01:00
Uwe
a847261107 [Gui] Qt4All: add some includes 2022-02-19 06:19:20 +01:00
Uwe
eaaeef80e1 [Gui] Application and Document: remove unused headers 2022-02-19 05:37:40 +01:00
Uwe
60bbd420ee [Gui] Selection and MainWindow: remove unused headers 2022-02-19 04:55:50 +01:00
Uwe
c104c83f37 [Gui] remove some more unused headers 2022-02-19 04:31:27 +01:00
Uwe
36b3ac81d2 [Gui] remove more unused headers 2022-02-19 04:04:14 +01:00
Uwe
08a43f03ed [Gui] remove unused headers 2022-02-19 03:41:28 +01:00
Uwe
83d5c787da [Gui] View3DPy and View3DInventorViewer: remove unused headers 2022-02-19 02:35:54 +01:00
Uwe
3d7be752af [Gui] Tree: fix another typo 2022-02-19 01:55:06 +01:00
Uwe
2aeeb5b907 [Gui] Tree: fix typo 2022-02-19 01:48:07 +01:00
Uwe
2152367ad9 [Gui] CommandView and Tree: remove unused headers 2022-02-19 01:24:24 +01:00
Chris Hennes
2dea71ab94 Gui: Clean up mod init error messages 2022-02-18 17:40:05 -06:00
Chris Hennes
cbc20f956e Gui: Fix unused variable warning 2022-02-18 07:06:26 -06:00
wmayer
8929ebf375 Gui: move reloadActive() to WorkbenchPy base class 2022-02-18 07:51:47 +01:00
Chris Hennes
b7056b94b9 Gui: Add interface for managing preference packs 2022-02-17 19:51:24 -06:00
Chris Hennes
019d1588a6 Gui: Correct generation of macro pref name 2022-02-17 10:23:32 -06:00
Uwe
9741854a39 [Gui] ViewProviderDragger: add missing include 2022-02-17 04:35:10 +01:00
Uwe
33ff01ec66 [Gui] ViewProviderDragger: remove unused includes
- also sort them
2022-02-17 04:13:53 +01:00
Uwe
94c474cffb [Gui] ViewProviderLink: remove unused includes
- also sort them
2022-02-17 04:06:12 +01:00
Uwe
b5bef494be [Gui] fix include sorting mistake from previous commit 2022-02-17 03:53:57 +01:00
Uwe
732d8c3a21 [Gui] add context menu icon for Std_TransformManip
- the other context menu entries have icons and we use this icon already in the Edit menu

- also sort the includes
2022-02-17 03:49:02 +01:00
wmayer
35fd97a8ae Gui: add method to reload active workbench 2022-02-16 17:33:29 +01:00
Chris Hennes
232a938a8b Gui: Add Mod info to copied About string 2022-02-16 12:08:17 +01:00
Chris Hennes
93836b89a5 GUI: Add Python interface to create custom command 2022-02-14 09:56:24 -06:00
wmayer
327ed41fd0 Gui: extend Workbench class to allow to define permanent menu items 2022-02-14 16:47:32 +01:00
marioalexis
eba93cabea Gui: Improve docstrings in DocumentPy.xml 2022-02-14 14:16:36 +01:00
marioalexis
63878880ef Gui: Clean up code in DocumentPyImp.cpp 2022-02-14 14:16:36 +01:00
Yorik van Havre
e1028eb65e Merged crowdin translations 2022-02-14 12:31:57 +01:00
Maël Kerbiriou
31392a75f7 Gui: replace s# format unit with s* 2022-02-09 19:29:56 +01:00
0penBrain
73f2c1434a Modernize signal/slot connection for real :) 2022-02-08 17:51:36 +01:00
wmayer
64ea2e75af Gui: modernize C++11
* remove redundant void-arg
* use nullptr
2022-02-08 16:26:07 +01:00
marioalexis
50478a19d1 Part: Move Part_SectionCut command to Part menu item list 2022-02-08 12:09:09 +01:00
wmayer
bc18b3309e Gui: implement Inventor node for color legend 2022-02-06 23:14:39 +01:00
wmayer
339c9841ff Gui: replace floats with SbBox2f in SoFCColorGradient 2022-02-06 14:24:11 +01:00
wmayer
6f3446d19e Gui: force a redraw of the 3d view when creating it as otherwise on some systems the bottom and right side of the main window becomes black 2022-02-05 17:56:52 +01:00