Commit Graph

2852 Commits

Author SHA1 Message Date
wmayer
300e887480 Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
wmayer
c90db64188 Gui: [skip ci] wheel event filter for combo boxes 2020-05-22 10:42:38 +02:00
Zheng, Lei
31bb4d84b9 Gui: improve property editor status update 2020-05-16 12:15:49 +02:00
Zheng, Lei
e6f4a1797c Gui: reset model transformation scaling in SoAutoZoomTranslation 2020-05-13 13:21:58 +02:00
wmayer
17c79f19e2 Gui: [skip ci] rename Std_ExportGraphviz to Std_DependencyGraph 2020-05-13 10:26:57 +02:00
wandererfan
fdd99d2b28 [Gui]fix canConvert for Qt4 2020-05-10 07:14:12 -04:00
wmayer
8c9cdef2a9 Gui: [skip ci] use a widget's text property instead of casting to a specific subtype
This way DlgExpressionInput can be used together with the class InputField
2020-05-09 11:25:30 +02:00
0penBrain
ba4d70e7a4 [Expression] Default to current 'constant' value when editing if no expression set yet ; fixes #4298
Move signals connecting before value initialization so it's not needed to call them manually
 Only spin boxes implemented (should be the major usage)
2020-05-09 10:20:30 +02:00
Zheng, Lei
58dc5c6d7f Gui: fix 'Recursive repaint' warning when switching 3D views 2020-05-06 12:14:00 +02:00
Adrian
9e116801ed Change Std Bottom orientation (x ->right; y ->down)
Camera::rotation(Camera::Bottom) was upside-down compared to industry standards and other FreeCAD bottom views
2020-05-06 11:04:08 +02:00
Zheng, Lei
e6fc155591 Gui: check object existence before SelBack/Forward 2020-05-03 19:18:46 +02:00
Adrian Insaurralde Avalos
94dfab7bed Editor preferences rearrangement to eliminate the need to scroll down 2020-05-03 16:11:07 +02:00
wmayer
56bf2d5fa0 Gui: [skip ci] fixes: "Text document" renaming crash 2020-05-03 09:43:04 +02:00
Zheng, Lei
42c56d9fef Gui: fix restoring of geo feature group 2020-05-02 12:40:45 -04:00
wmayer
419e8f7a99 [skip ci] fixes #0004309: The behavior of the Std_DrawStyle command is inconsistent when there are multiple 3D views for the active document. 2020-05-01 23:30:53 +02:00
wmayer
d5d16de06b Gui: [skip ci] implement function to rename parameter group 2020-05-01 22:47:30 +02:00
wmayer
40468da280 Gui: [skip ci] fixes: Std_DrawStyle button image: confusing update behavior 2020-05-01 17:36:00 +02:00
wmayer
ae159ed44d Gui: [skip ci] fixes #0004310: Std_FreezeViews command: The settings of frozen views resulting from loading a *.cam file will not be saved in a new *.cam file. 2020-05-01 16:14:51 +02:00
wmayer
76559e9c92 Gui: [skip ci] fixes: Parameter Editor: Problem resizing columns in right panel 2020-05-01 15:24:16 +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
607c3a6395 Gui: [skip ci] fixes: Std_DlgCustomize: commands can get dropped from custom toolbars 2020-05-01 00:04:44 +02:00
wmayer
f900bdf115 Gui: [skip ci] fixes #0004330: The Std_WhatsThis command does not work for 2 submenus of the View menu. 2020-04-30 14:53:37 +02:00
vocx-fc
5b330f7650 Gui: add sWhatsThis to Std_DrawStyle 2020-04-30 13:06:45 +02:00
vocx-fc
383bca9fde Gui: change string from Document to Documentation
The add property dialog (introduced by the LinkMerge) previously
showed "Document" which is confusing. The edit box is there
to provide an explanation on the new property, that is,
"Documentation".

Also improve the tooltips. Also change "Append" to "Prefix"
in the checkbox as it's more clear that the `Group` is added
at the beginning to form the full name of the property.
2020-04-30 13:05:57 +02:00
wmayer
a1ab4bb3f2 Gui: [skip ci] remove superfluous word 2020-04-30 11:35:53 +02:00
wmayer
bd86e1cb67 Gui: [skip ci] fix locking keyboard when showing progress bar on Linux systems 2020-04-29 19:50:13 +02:00
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +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
Christian Cornelssen
299368b1b2 Workaround for messy SHIBOKEN_MICRO_VERSION definition.
I recently upgraded to `shiboken2-5.14.2.1`, and this broke preprocessing of
`src/Gui/WidgetFactory.cpp` because `SHIBOKEN_MICRO_VERSION` is now defined as
`2.1` (WTF?!), making it a floating-point literal which the preprocessor does
not like. It is only used for version comparison with `5.12.0`, so replacing
`SHIBOKEN_MICRO_VERSION` with `0` should be OK.
2020-04-28 18:50:13 +02:00
wmayer
227246e01b Gui: [skip ci] avoid to override the format settings of the quantity after validating the input text 2020-04-28 18:43:50 +02:00
wmayer
a74137146b Gui: [skip ci] fix size hint of QuantitySpinBox by setting text margins of 2px
See https://forum.freecadweb.org/viewtopic.php?f=3&t=45344
2020-04-28 16:53:52 +02:00
Abdullah Tahiri
0ec3cb16cb Remove hard-coded font families 2020-04-28 14:53:28 +02:00
triplus
ff5a903250 Support for grouped dragging of dockwidgets
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=9&t=45697
2020-04-27 11:42:01 +02:00
triplus
1090da622a NaviCube fix compiler warning
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=10&t=45012
2020-04-21 10:20:01 +02:00
mwganson
f956a00baa add getCommandInfo() rename getShortcut to getCommandShortcut 2020-04-09 11:43:50 +02:00
mwganson
94215c1716 [skip ci] Add getShortcut(string) command to Gui, returns string value representing shortcut key accelerator for this command 2020-04-09 11:43:50 +02:00
wmayer
ea8d3bb242 Gui: [skip ci] add options to set one-pass and backface-pass rendering 2020-04-06 19:50:58 +02:00
wmayer
359d3a2b48 Gui: [skip ci] improve whitespaces 2020-04-06 19:50:08 +02:00
Syres916
3ff9a068d7 [Gui] Edit Menu Remove Duplicate Shift+E...
....shortcut, return Toggle Edit to pre-Big Merge with no shortcut.

See Discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=44394
2020-04-06 13:04:01 +02:00
wmayer
8663e724f5 Gui: move functions to list menus and toolbars from sub-class to base Workbench class
implement new function to list all toolbars and their used commands
2020-04-04 11:46:45 +02:00
wmayer
475f518510 Gui: [skip ci] replace tabs with spaces in GUI init script 2020-04-04 09:42:30 +02:00
wmayer
f9984a0ab1 Gui: [skip ci] fix regression by using UTF-8 encoding in PropertyItem::setPropertyValue 2020-04-03 16:22:35 +02:00
wmayer
110ea2c68e [skip ci] improve whitespaces 2020-04-03 16:19:24 +02:00
wmayer
dbb095a47c Gui: [skip ci] disable workaround to avoid handling an event twice because it leads to a regression on macOS 2020-04-03 15:11:24 +02:00
wmayer
d65d01b30d Gui: [skip ci] optimize View3DInventorViewer::containsViewProvider because it's sufficient to know if the root node of a view provider is part of the viewer or not 2020-04-02 16:08:47 +02:00
wmayer
5324540d8b Gui: [skip ci] avoid that 3D view handles a single wheel scroll event twice 2020-04-02 14:02:03 +02:00
wmayer
7d18017b49 Gui: [skip ci] fix regression in Application::open() and always encode file name when passing it to Python interpreter 2020-04-02 11:55:45 +02:00