Chris Hennes
2c0a3b9e77
Gui: Add function to search custom commands
2022-02-26 21:06:37 -06:00
Uwe
a8c912d6f8
[App] Expression and Extension: remove unused includes
2022-02-25 18:06:57 +01:00
Zheng, Lei
6afb92ec67
Gui: add missing PropertyItemDelegate::eventFilter()
...
For handling focus change when editing property
2022-02-25 12:17:17 +01:00
wmayer
195c87625d
Gui: [skip ci] make some minor improvements in ReportOutput class
2022-02-24 17:56:52 +01:00
wmayer
a311bed2fd
Gui: Fix problem where Python output and errors are not redirected to report view until preferences window is opened
2022-02-24 17:42:40 +01:00
wmayer
9ca1173a30
Gui: [skip ci] restore block cursor setting for Python console at startup
2022-02-23 22:49:35 +01:00
Noah
cced5c05ec
Gui: fix use of deprecated Qt::TextColorRole
...
Qt::TextColorRole (enum ItemDataRole) is deprecated as of Qt 5.13 and will be removed in Qt 6:
- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.13.0#n1511
It's replaced with `Qt::ForegroundRole` which is available since at least Qt 5.0 (FreeCAD 0.20 will require Qt 5.9 or later).
- https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qnamespace.h?h=v5.0.0#n1374
- https://wiki.freecadweb.org/0.20_Development_Cycle
2022-02-23 17:53:33 +01:00
mwganson
74f4a2b91e
[Std_SendToPythonConsole] add doc, sub, and subs
2022-02-23 15:14:48 +01:00
Uwe
16467d9067
Revert "App: fix property ordering problem when undo/redo ( #3255 )"
...
This reverts commit 24d30636e4fb990fdbd67538360846ff09456dfc.
2022-02-22 01:21:49 +01:00
marioalexis
3ad07f5a15
Gui: Change the editor preferences preview to Python 3
2022-02-21 14:50:03 -06:00
wmayer
fce7e11636
Gui: Attach PythonConsole to parameter group and handle changes in its OnChange() method
...
This avoids code duplications and makes sure the group name is used only once.
The parameters are saved to the group 'PythonConsole' instead of 'General'.
2022-02-21 19:26:44 +01:00
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