berniev
5a5394516e
fix invalid unicode
2022-12-01 12:56:58 +01:00
luz paz
056d1aea87
Fix various typos and grammatical issues
2022-11-30 12:45:29 +01:00
Zheng, Lei
637c53b8c5
Gui: hiding detail dependency information in DlgObjectSelection
2022-11-30 01:36:01 +01:00
wmayer
6653991a97
Gui/Mod: handle several compiler warnings:
...
* ignore -Wfree-nonheap-object for generated code
* replace 0 with Qt::NoModifier when creating a QKeyEvent
* in Qt 5.14 QCombobox::activated(QString) is deprecated, use textActivated
* don't mix QCheckBox::setChecked() with tristate API
2022-11-29 10:36:02 +01:00
Uwe
8f968384f8
[skip ci] [Gui] NaviCube: remove tabs
...
- as detected by the CI
2022-11-29 01:38:34 +01:00
Adrian Insaurralde Avalos
3db6da540d
[ fixes #7875 ] Gui: use hexagon shape in NaviCube corners
...
makes the corners bigger and therefore easier to click
fix inconsistent NaviCube borders
Co-authored-by: Rexbas <rexbasie@gmail.com >
2022-11-29 01:31:48 +01:00
luz paz
52764d93f5
Gui: fix header uniformity
...
Make uniform all Gui/ directory headers.
2022-11-28 08:39:38 -06:00
wmayer
d038801aca
Gui: move class SelectionObserverPython to its own source files
2022-11-22 15:44:26 +01:00
0penBrain
5429aeef3f
Gui: ActionGroup also get its tooltip title updated
2022-11-21 04:06:20 +01:00
Rexbas
f11092affd
Gui: Stop Revit rotation and zoom on scroll release
...
- Stops the rotation when scroll is released but SHIFT is still pressed
- Stops zooming when scroll is released but CTRL is still pressed
2022-11-21 04:01:52 +01:00
berniev
2ecd6db0e7
change ALL_UPPER_CASE constexpr definitions to camelCase
2022-11-19 16:00:36 +01:00
wmayer
a3ea47a58b
Gui: [skip ci] use full namespace of AccelLineEdit
2022-11-16 23:26:08 +01:00
wmayer
c088ba55f9
Gui: fix endless-loop in View3DInventorSelection::checkGroupOnTop
2022-11-16 21:02:49 +01:00
wmayer
308cf4ffb0
Gui: code-refactoring
...
Split selection handling from View3DInventorViewer and move to View3DInventorSelection
2022-11-16 20:27:14 +01:00
wmayer
5166ca54c0
Gui: MSVC requires a user-defined destructor of RecentFilesAction
...
otherwise the class declaration of Private is needed in the header file
2022-11-16 12:46:47 +01:00
wmayer
ea1d29230e
Gui: [skip ci] consistently use Py::asObject() in DocumentObserverPython
2022-11-15 11:04:07 +01:00
wmayer
aa0465e162
Gui: fix some clang-tidy warnings:
...
* modernize-return-braced-init-list
* modernize-use-equals-default
* modernize-loop-convert
* readability-implicit-bool-conversion
* readability-named-parameter
2022-11-13 18:43:39 +01:00
wmayer
90ddd187f5
Gui: fix some clang-tidy warnings:
...
* readability-braces-around-statements
2022-11-13 17:42:08 +01:00
wmayer
25ee791786
Gui: [skip ci] fix some clang-tidy warnings:
...
* cppcoreguidelines-non-private-member-variables-in-classes
2022-11-13 17:16:03 +01:00
wmayer
e0bf6d48d5
Gui: [skip ci] fix some clang-tidy warnings:
...
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-explicit-virtual-functions
* readability-inconsistent-declaration-parameter-name
2022-11-13 16:35:11 +01:00
wmayer
b2f784f1f5
Gui: fix clazy warnings:
...
* Wclazy-connect-by-name
* Wclazy-connect-3arg-lambda
2022-11-13 16:08:46 +01:00
wmayer
7f104b077b
Gui: fix readability-identifier-length
2022-11-12 23:57:14 +01:00
wmayer
e470bdc018
Gui: replace old-style with new-style connect
2022-11-12 21:57:26 +01:00
wmayer
a2a285b7c9
Gui: improve usability of QuantitySpinBox when used as menu item
2022-11-12 18:24:27 +01:00
wmayer
3eaad09ed1
Gui: implement WorkbenchSwitcher class to encapsulate the parameter details
2022-11-11 22:53:02 +01:00
wmayer
e6a8533fa8
Gui: simplify code to handle workbench selector
...
+ replace three boolean parameters with a single string parameter
+ refactor DlgGeneralImp::saveSettings/loadSettings
+ handle visibility of corner widgets
2022-11-11 22:53:02 +01:00
wmayer
2e1feaa78e
Gui: [skip ci] fix several warnings reported by GH actions
2022-11-11 22:53:02 +01:00
wmayer
5bf7199804
Gui: replace old-style connect() with new-style
2022-11-11 22:53:02 +01:00
wmayer
bc3c81e138
Gui: fix warnings reported by GH Actions:
...
* Fix trailing spaces
* Replace tabs
* Mark constructors with one argument explicit
* Fix typos
* Include FCGlobal.h to fix parsing errors
2022-11-11 09:56:43 +01:00
vernzimm
1c6aa45fd6
Gui: Add default JPEG save quality ( #7737 )
...
* Update SoFCOffscreenRenderer.cpp
Set jpg screenshot capture to 100% quality vs qimage defaulting to -1
* Add default quality to JPG export
Fixed original version and use quality 90% as compromise between file size and fidelity.
2022-11-10 22:49:28 -06:00
Uwe
7a26e69405
[skip ci] [Gui] NaviCube: fix warning about too short variable name
...
- also some whitespace unification
2022-11-11 05:16:18 +01:00
Uwe
4bade5d96b
[Gui] NaviCube: fix rotation to backside
...
- when pressing the "dot" besides the NaviCube, the rotation to the backside was not in the center thus the view jumped
2022-11-11 04:58:20 +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
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