Commit Graph

3341 Commits

Author SHA1 Message Date
Yorik van Havre
89e1a97d80 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Yorik van Havre
d14167a50d Updated ts files 2021-09-06 15:32:07 +02:00
Yorik van Havre
f642e561d1 Merge pull request #5006 from 0penBrain/ExpDlgClearEnter
[Expression] Fix 'Clear' is activated when it has focus and 'Enter' is pressed
2021-09-06 11:29:27 +02:00
mwganson
096fb76585 [Edit menu -> Copy / Duplicate] Add Use Original Selections button to dependency selection dialog 2021-09-04 13:09:45 -05:00
0penBrain
08db8ded49 [Expression] Fix 'Clear' is activated when it has focus and 'Enter' is pressed 2021-09-02 15:59:13 +02: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
Yorik van Havre
cf5ffb8208 Merge pull request #4923 from Syres916/patch-23
[Gui] Transform Tool, save Translation...
2021-09-01 16:35:40 +02:00
Yorik van Havre
02fb90f16c Merge pull request #4924 from dbdbdb/spacepilot-pro-keycodes
Set default keycodes for 3dconnexion SpacePilot Pro
2021-08-30 13:17:18 +02:00
Yorik van Havre
52a6558dfb Merge pull request #5000 from chennes/checkForConflictingAccelerators
[Core] Add checks for conflicting accelerators
2021-08-30 11:46:38 +02:00
carlopav
01df25866c Gui: Improved tooltips for grouped commands
Following previous improvements, this fix allows also Grouped Actions to have the new tooltip.
2021-08-29 23:30:58 +02:00
Chris Hennes
af9690ec06 [Core] Add checks for conflicting accelerators
When compiled in debug mode, this PR adds code to check for conflicting
accelerator keys when a command is created. This can help developers
ensure that their default accelerator key selections don't conflict.

Replace partial match algorithm

Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2021-08-29 16:13:59 -05:00
Yorik van Havre
154fc694b8 Merge pull request #4995 from chennes/fix4664HardcodedTooltips
[GUI] Refactor tooltip code to rebuild shortcut
2021-08-27 12:19:45 +02:00
Chris Hennes
cb4a0b1dd0 Also set tooltip after Reset and ResetAll 2021-08-26 09:05:10 -05:00
Yorik van Havre
49abe81271 Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
a8cb3ef1e3 Updated ts files 2021-08-26 14:50:54 +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
wmayer
378dec720c Gui: fix -Winconsistent-missing-override, TD: fix -Wunused-parameter 2021-08-21 12:15:43 +02:00
Yorik van Havre
ca043dcb6d Merge pull request #4978 from carlopav/Gui_AddTooltipNames
Gui: Improved tooltips
2021-08-19 13:13:39 +02:00
carlopav
b5a5a6cd70 Gui: Improved tooltips
Improved tooltips showing:
- the command name as an <h3> title,
- the tooltip text,
- the (What's this).

the title is build from translated getMenuText() and can contain a "&" character. This commit search and remove the "&" characters. It should be better not to use the "&" character in the command name, but if it is necessary it has to be done with "&&".

ref forum discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=58747
.
2021-08-19 10:24:00 +02:00
Yorik van Havre
cbdac756a8 Merge pull request #4963 from Helios113/stiffness
Base: Adding stiffness units
2021-08-18 10:04:46 +02:00
Yorik van Havre
317dd4c031 Merge pull request #4928 from Zolko-123/master
modified ViewProviderPart to show different icon for Assembly-Type
2021-08-17 18:50:34 +02:00
Yorik van Havre
4e7742ad37 Merge pull request #4932 from 0penBrain/windowClosed
[Gui] Send 'mainWindowClosed' signal before window settings are saved
2021-08-17 18:43:13 +02:00
Yorik van Havre
fece09a4d5 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Yorik van Havre
163075b3ba Merge pull request #4967 from Syres916/patch-30
[Base/Gui] Bugfix Property Item formatting
2021-08-16 14:34:41 +02:00
Preslav
4ab37fc0ca Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
Tomas Pavlicek
09d9caf438 TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00
Syres916
dddf76b47f [Gui] PropertyItem change Base Quantity Format 2021-08-12 10:52:25 +01:00
Chris Hennes
e2e7733d09 [GUI] Add autoload option to Workbench preferences page (#4957)
* Add autoload option to Workbench preferences page

* Address bugs identified in the forum.

* Add forward declaration of QCheckBox
2021-08-10 20:33:03 -05:00
Dennis Björklund
c3061bf3ed Swap dominant and rotation buttons on SpacePilot Pro.
Got the buttons switched by mistake. They have similar signs on them. I've
checked the 3dconnexion manual to know what symbol stand for what operation
and this is the correct one.
2021-08-09 18:55:37 +02:00
Benjamin Alterauge
ed1d71e671 Possible to use DefaultShapeVertexColor setting.
Add a separate material for vertex. So, it is possible use DefaultShapeVertexColor. [Ticket #4692](https://forum.freecadweb.org/viewtopic.php?f=3&t=59576)
2021-08-03 07:35:00 +02:00
Zolko-123
8a072140e3 Merge branch 'FreeCAD:master' into master 2021-08-02 22:41:11 +02:00
luz paz
eab17ddff5 Fix various typos 2021-07-31 09:46:50 +02:00
Zoltan Hubert
5804217548 fix in ViewProviderPart.cpp 2021-07-26 13:32:03 +02:00
0penBrain
db1a342853 [Gui] Send 'mainWindowClosed' signal before window settings are saved
So macros/add-ons can eventually restore things
2021-07-20 20:55:04 +02:00
Syres916
998e462fcf [Gui] Transform Tool simplify changes as per...
...@0penBrain's feedback
2021-07-20 07:53:33 +01:00
Syres916
202f0286d8 [Gui] Transform Tool change parameter...
...location
2021-07-19 16:17:11 +01:00
Zoltan Hubert
c4b6f36485 modified ViewProviderPart to show different icon for Assembly-Type 2021-07-17 19:46:17 +02:00
Dennis Björklund
4488a5f551 Set default keycodes for 3dconnexion SpacePilot Pro
These keycodes matches what my device generate using
spacenavd in Fedora 33.

The old xml definition define two operations on the same KeyCode, one
for short press and one for long press. That doesn't work at all on my
system and the SpacePilot Pro device generate separate KeyCodes for
short presses and long presses.
2021-07-17 13:40:06 +02:00
Syres916
be3fb31ea9 [Gui] Transform Tool, save Translation...
..and Rotation Increments in user config file.
See discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=60195
2021-07-16 14:30:56 +01:00
Yorik van Havre
1cee70cd62 Merged crowdin translations 2021-07-08 16:06:38 +02:00
Yorik van Havre
ed9dca288c Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
c8b5d8d762 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Yorik van Havre
69b084f492 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
4a9963a03f Merged crowdin translations 2021-06-10 12:24:24 +02:00
Yorik van Havre
d0d637b2c6 merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
b1d9a5607f Merged crowdin translations 2021-05-27 14:51:33 +02:00
0penBrain
c87c492ada [Gui] ActionGroup can declared being a "Mode" action
This will essentially not update the tooltip when an action is checked as it isn't suitable
As example, view DrawStyle command where the group tooltip is better than the selected action tooltip

Only UserEditMode is implemented in this commit, should be pushed to DrawStyle and maybe other after merge
2021-05-15 11:26:20 +02:00
0penBrain
688cc987eb [Gui] UserEditMode : minor improvements 2021-05-15 10:12:10 +02:00
0penBrain
1e3b9fb166 [Gui] UserEditMode : add cross comments in case a new edit mode has to be added 2021-05-14 09:23:18 +02:00
0penBrain
b84bb1a16a [Gui] UserEditMode : add menu and toolbar management 2021-05-14 09:23:04 +02:00