Commit Graph

30964 Commits

Author SHA1 Message Date
Uwe
0ed3e6d0fe [.clang] use line break after case
- we used in the past line breaks after a case statements to better overview. This should be kept.
2022-11-11 04:06:21 +01:00
Uwe
633279663d [Path] PathSimulator: remove unused includes
- also some sorting
2022-11-11 04:04:33 +01:00
Uwe
083c6054a5 [skip ci] [Github] add file endings 2022-11-11 03:47:00 +01:00
Uwe
356ae47332 [Mesh] Imp* - end: remove unused includes
- also some sorting
2022-11-11 03:34:31 +01:00
wmayer
439a2c65cf Gui: don't use '_tooltip' as argument name because it's already used for a class member 2022-11-11 01:25:33 +01:00
wandererfan
9a07c52aff [TD]fix XDirection rotation of simple sections 2022-11-10 19:19:22 -05:00
wandererfan
bc0c95259c [TD]fix oblique section line ends 2022-11-10 19:19:22 -05:00
wandererfan
48996a15a9 [TD]Section dialogs minor fixes
- make simple and complex dialogs consistent
- fix translation contexts
2022-11-10 19:19:22 -05:00
wandererfan
b8eee9c0f2 [TD]fix fail in calculating section line length 2022-11-10 19:19:22 -05:00
wmayer
6e6e42f696 Gui: [skip ci] fix several warnings reported by GH actions 2022-11-10 23:52:29 +01:00
wmayer
2f41f652c8 Gui: fix regression: show commands of selected category in Toolbar tab 2022-11-10 23:20:18 +01:00
wmayer
07224605dc Gui: use new-style connect and add curly braces to improve readability 2022-11-10 23:20:18 +01:00
wmayer
ee4e64328e Gui: restore fixes of DlgKeyboard.ui and DlgToolbars.ui and fix build failure 2022-11-10 23:20:18 +01:00
Zheng, Lei
2138189f8e Gui: do not remove ending puncuation when clean action title 2022-11-10 23:20:18 +01:00
Zheng, Lei
ae8ba0de3d Gui: fix shortcut context handling in ShortcutManager
Related #6097

Qt ignores shortcut of actions in invisible toolbar, but not for actions
in a hidden menu action of menu bar, which is likely a Qt bug. The
desired behavior should be that of toolbar actions, so that actions
belong to different workbenches can have the same shortcut without
conflict.

This commit works around this inconsistency by ensuring only the active
actions are added in menu bar. In addition, all active actions will be
added to a zero sized child widget of the main window, which ensures the
shortcuts of these actions being active regardless whether the action is
in toolbar or menu bar, visible or not.
2022-11-10 23:20:18 +01:00
Zheng, Lei
057f6773b0 Gu: fix readonly AccelLineEdit 2022-11-10 23:20:18 +01:00
Zheng, Lei
d10a7aae7c Gui: fix command completer selection on item activate 2022-11-10 23:20:18 +01:00
Zheng, Lei
7942ed61c5 Gui: fix Customize -> Keyboard shortcut priroity list
Add API Command::initAction() to force create action for all commands
with shortcut in order to register with ShortcutManager to obtain a
complete list of actions with the same shortcut.
2022-11-10 23:20:18 +01:00
Zheng, Lei
71449b1fec Gui: remove command description label in Customize -> Keyboard
Because long description may cause undesired dialog layout changes. The
description is available through tool tip of the command tree widget.
2022-11-10 23:20:18 +01:00
Zheng, Lei
dc8bcf46c4 Gui: change Command::getRevision() to const 2022-11-10 23:20:18 +01:00
Zheng, Lei
a2d886b7ea Gui: fix missing separator item in Customize -> Toolbar 2022-11-10 23:20:18 +01:00
Zheng, Lei
516b60826d Gui: fix macro command sync in Customize -> Keyboard/Toolbar 2022-11-10 23:20:18 +01:00
Zheng, Lei
028c30e56d Gui: move CommandCompleter into its own source file 2022-11-10 23:20:18 +01:00
Zheng, Lei
2cb2fa5626 Gui: fix GroupCommand icon setup 2022-11-10 23:20:18 +01:00
Zheng, Lei
9d8efe1488 Gui: fix ShortcutManager modifier detection 2022-11-10 23:20:18 +01:00
Zheng, Lei
ea44ccd5b1 Fix build warning 2022-11-10 23:20:18 +01:00
Zheng, Lei
0a37a85ea2 Minor code change according to suggestions 2022-11-10 23:20:18 +01:00
Zheng, Lei
063ad7a5f0 Gui: fix action title processing 2022-11-10 23:20:18 +01:00
Zheng, Lei
dfe921672e Fix comment typo 2022-11-10 23:20:18 +01:00
Zheng, Lei
bd2f9fd0e0 Gui: fix shortcut editor 2022-11-10 23:20:18 +01:00
Zheng, Lei
49a86238cf Gui: refactor 'Customize -> Toolbars' command list handling
By reusing code in DlgCustomKeyboardImp
2022-11-10 23:20:18 +01:00
Zheng, Lei
775452cbc0 Gui: add ShortcutManager to unify shortcut handling
Support longest key sequence match with user defined delay (configurable
through 'Customize -> Keyboard -> Key sequence delay').

Support user defined priority to resolve shortcut conflict through
'Customize -> Keyboard')

Add 'All' category in 'Customize -> Keyboard' to list all command and
showing their shortcuts

Unify macro command shortcut setting (BaseApp/Preferences/Shortcut).
2022-11-10 23:20:18 +01:00
sliptonic
30fb0df729 Merge pull request #7763 from mlampert/bugfix/fix-merge-issue-by-mangling-pr-7428
[PATH] bugfix/fix-merge-issue-by-mangling-pr-7428
2022-11-10 15:50:22 -06:00
Chris Hennes
0980fb1127 Spreadsheet: Ensure no args to Python calls 2022-11-10 14:36:54 -06:00
Chris Hennes
0c162d7f09 Spreadsheet: Add getUsedRange() and getNonEmptyRange() 2022-11-10 14:36:54 -06:00
Chris Hennes
f06ec1f28b Spreadsheet: Add Python API for getUsedCells
Also adds access to getNonEmptyCells, and unit tests for both. Designed
to fix #7587.
2022-11-10 14:36:54 -06:00
Chris Hennes
96a953a331 Addon Manager: Refactor to extract first run dialog 2022-11-10 09:42:59 -06:00
luz paz
9c1f29c903 Add previous commit to .git-blame-ignore-revs
Adds c726b6 (PD: remove trailing whitespace) to list
2022-11-10 14:01:32 +01:00
wmayer
641d3ba35c Gui: determine the view size of the focal plane in perspective mode 2022-11-10 13:34:59 +01:00
luz paz
d265c9ff63 PD: remove trailing whitespace 2022-11-10 10:32:04 +01:00
wmayer
bca27b0f6b Mesh: [skip ci] add export macro to Wm4 constants 2022-11-10 10:23:25 +01:00
Markus Lampert
e2eb1fa163 Fixed merge issue 2022-11-09 20:57:17 -08:00
Uwe
cf32bc54f1 [Mesh] App-Facet: remove unused includes
- also some sorting
2022-11-10 04:18:59 +01:00
wmayer
7b67ff7ea0 PD: fix crash in TaskRevolutionParameters::addAxisToCombo
and some warnings reported by GH actions
2022-11-09 18:56:11 +01:00
wmayer
a6be2a28bc PD: [skip ci] improve the exception text 2022-11-09 17:46:46 +01:00
Uwe
17730a12cb [PD] TaskDlgRevolutionParameters: fix some CI warnings
- reported here: https://github.com/FreeCAD/FreeCAD/pull/7667/commits/f0a0e563
- and here: https://github.com/FreeCAD/FreeCAD/pull/7719/commits/8f3f17f8
2022-11-09 17:33:33 +01:00
wandererfan
9b4b91ede4 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
76f92e8568 [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
luz paz
2072384a7e Arch: remove trailing whitespace in importWebGL.py 2022-11-09 08:49:17 -06:00
wmayer
96b35e5421 Gui: fix warnings in DlgDisplayPropertiesImp reported by GH actions 2022-11-09 14:39:00 +01:00