Commit Graph

34 Commits

Author SHA1 Message Date
wmayer
8d5a957eb0 Gui: use expresion 'keyboard shortcut' to avoid incorrect translation 2022-06-09 13:15:41 +02:00
Uwe
eb0e8e215a [Gui] DlgEditor etc.: remove unused includes 2022-03-16 22:57:13 +01:00
wmayer
bc57ba6027 Gui: add convenience function Command::translatedGroupName() 2021-09-29 15:25:46 +02:00
Chris Hennes
cb4a0b1dd0 Also set tooltip after Reset and ResetAll 2021-08-26 09:05:10 -05: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
Chris Hennes
50c7ee36bf [GUI] Remove code for Qt < 5.9 2021-04-02 10:10:37 +02:00
wmayer
da6cb8a963 Qt5: 'bool QTreeWidget::isItemSelected(const QTreeWidgetItem*) const' is deprecated: Use QTreeWidgetItem::isSelected() instead [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
3bfa795d22 Gui: [skip ci] fixes: Std_DlgCustomize: 2 shortcuts can be assigned to macro 2020-05-01 12:37:49 +02:00
wmayer
4518d7ddc0 Gui: [skip ci] do some code refactoring in DlgCustomKeyboardImp to reduce code duplication 2020-05-01 11:46:55 +02:00
wmayer
09005766f1 Gui: [skip ci] print warning if Assign button cannot be activated 2020-04-28 21:43:06 +02:00
wmayer
ef6e5d175a Gui: [skip ci] when clearing ambiguous shortcut also remove the entry from the user parameters 2020-04-28 19:55:04 +02:00
wmayer
625d252cb1 Gui: implementation classes don't inherit from UI classes any more 2020-01-09 14:30:45 +01:00
wmayer
397902c205 split question text from warning text 2019-02-11 17:03:51 +01:00
luz.paz
112f3de671 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
Mateusz Skowroński
082647b2d1 Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Mateusz Skowroński
317bcd59c9 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
d37dea9c74 fixes 0001673: Assign already assigned keyboard shortcuts without searching old assigned action 2019-01-18 00:55:34 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
d2cb4e4af9 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
237bf8332c + fixes #0001674: Allow clearing keyboard shortcuts for actions 2016-05-06 19:04:26 +02:00
wmayer
f124f6e70b + minor whitespace fix, fix warnings 2016-03-11 21:39:15 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
9beb7d21f3 QKeySequence::operator QString() is obsolete in Qt5. Use toString(QKeySequence::NativeText) instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:08:31 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
c133457da5 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer
ee59f1263c + if translation of group is done do not overwrite 2015-09-20 17:00:21 +02:00
wmayer
337a84328d + fixes #0002160: Customised keyboard shortcuts: D, U conflict 2015-09-13 18:29:21 +02:00
wmayer
a369791665 + issue #0002053: Support of themes 2015-07-12 23:59:26 +02:00
wmayer
ce528d1c4a + fixes #0001719: Show current shortcuts (S) in menus and hover text. 2014-08-31 14:28:33 +02:00
tanderson
b028fa6bc9 changing customize dialog icon settings 2012-01-24 22:18:13 +01:00
wmayer
ac4b6a4d91 + implement alternative zooming for Inventor style
+ proper handling of space navigator events
+ fix bug when assigning user-defined shortcuts

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5369 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-31 17:51:41 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00