Chris Hennes
815a39b854
Gui: Temporarily disable tree icon height call
2022-12-03 17:08:17 -06:00
Zheng, Lei
5d0402321e
Gui: fix transparency saving in PrefColorButton
2022-12-03 17:08:17 -06:00
Zheng, Lei
0cfec4061a
Gui: support more parameter types in PrefComboBox
...
Using a user defined property 'prefType'
2022-12-03 17:08:17 -06:00
Zheng, Lei
b141f8f491
Gui: split out TreeParams into its own source files
...
Auto generated using TreeParams.py
2022-12-03 17:08:17 -06:00
Zheng, Lei
01f7782124
Base/App: add new signal interface to Parameter
...
Added new signal interface using boost::signals2 signalParamChanged.
Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes
to all parameters, sub groups under the referring group.
Added new attribute for ParameterGrp(Py) to query the Parent and Manager
of the referring group.
2022-12-03 17:08:17 -06:00
luz paz
818e2b2841
Gui: fix trailing whitespace
2022-12-02 19:18:54 -06:00
luz paz
07d34012dd
L10N: Don't translate strings that dont contain any alphabetic character
...
Per 0penBrain's suggestion
2022-12-02 11:57:34 +01:00
luz paz
772fe258b9
L10N: Don't translate "..." string
...
Follow-up to 1d001afcc7
2022-12-02 11:57:34 +01:00
Chris Hennes
1cbd981e1e
Gui: Don't translate "..."
...
With no context, translators can't figure out what to do with it.
2022-12-01 19:47:49 -06:00
berniev
90eda3da47
cast max
2022-12-02 00:50:00 +01:00
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