Commit Graph

2862 Commits

Author SHA1 Message Date
wmayer
755c537588 Gui: [skip ci] in QuantitySpinBox first set pendingEmit to false before actually emitting the signals 2020-06-02 08:22:24 +02:00
wmayer
1688654940 Gui: [skip ci] add spin box classes to widget factory 2020-06-01 19:04:06 +02:00
wmayer
e5f6b5dd81 Gui: [skip ci] make QuantitySpinBox to handle disabled keyboard tracking 2020-06-01 18:47:54 +02:00
wmayer
0d4f196c60 Gui: let each coordinate use its own unit to avoid that the displayed values can become very huge 2020-05-30 17:16:32 +02:00
wmayer
c374a6faa9 Gui: implement a static function schemaTranslatePoint to avoid code duplication 2020-05-30 16:46:35 +02:00
0penBrain
01e21f2f11 [FC] Status bar preselection coordinates are aware of user unit setting ; fixes #4148 2020-05-30 12:29:58 +02:00
wmayer
d3b8906dd0 Gui: [skip ci] move handling of parameter ShowAxisCross from Document to View3DInventor 2020-05-30 11:32:34 +02:00
Adrian
1f63355c06 Improve Axis Cross behavior and expose parameter to 3D View preferences 2020-05-30 11:17:38 +02:00
Przemo Firszt
84ef860ad7 Fix typo in credits
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2020-05-28 22:06:05 +02:00
wmayer
9592406155 clang: [skip ci] fix -Wfinal-dtor-non-final-class 2020-05-25 23:07:17 +02:00
wmayer
be8634d05c 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
b1f41dd87e Gui: [skip ci] wheel event filter for combo boxes 2020-05-22 10:42:38 +02:00
Zheng, Lei
303bf40f09 Gui: improve property editor status update 2020-05-16 12:15:49 +02:00
Zheng, Lei
dcc04f35d0 Gui: reset model transformation scaling in SoAutoZoomTranslation 2020-05-13 13:21:58 +02:00
wmayer
0a40d3981f Gui: [skip ci] rename Std_ExportGraphviz to Std_DependencyGraph 2020-05-13 10:26:57 +02:00
wandererfan
10bc0c0875 [Gui]fix canConvert for Qt4 2020-05-10 07:14:12 -04:00
wmayer
66c3ba206b 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
685e22d23d [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
d960783a02 Gui: fix 'Recursive repaint' warning when switching 3D views 2020-05-06 12:14:00 +02:00
Adrian
b25a2f4d3a 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
76617fd582 Gui: check object existence before SelBack/Forward 2020-05-03 19:18:46 +02:00
Adrian Insaurralde Avalos
76f2799ac4 Editor preferences rearrangement to eliminate the need to scroll down 2020-05-03 16:11:07 +02:00
wmayer
e0b1852165 Gui: [skip ci] fixes: "Text document" renaming crash 2020-05-03 09:43:04 +02:00
Zheng, Lei
b7225460f5 Gui: fix restoring of geo feature group 2020-05-02 12:40:45 -04:00
wmayer
bb55427ca2 [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
3f9e53b9a5 Gui: [skip ci] implement function to rename parameter group 2020-05-01 22:47:30 +02:00
wmayer
f317f900ce Gui: [skip ci] fixes: Std_DrawStyle button image: confusing update behavior 2020-05-01 17:36:00 +02:00
wmayer
9394da9132 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
73f42c2aec Gui: [skip ci] fixes: Parameter Editor: Problem resizing columns in right panel 2020-05-01 15:24:16 +02:00
wmayer
259580eaf6 Gui: [skip ci] fixes: Std_DlgCustomize: 2 shortcuts can be assigned to macro 2020-05-01 12:37:49 +02:00
wmayer
7c73868ff2 Gui: [skip ci] do some code refactoring in DlgCustomKeyboardImp to reduce code duplication 2020-05-01 11:46:55 +02:00
wmayer
bdd6329cd6 Gui: [skip ci] fixes: Std_DlgCustomize: commands can get dropped from custom toolbars 2020-05-01 00:04:44 +02:00
wmayer
501b11a03d 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
b2e63db460 Gui: add sWhatsThis to Std_DrawStyle 2020-04-30 13:06:45 +02:00
vocx-fc
52d03926e6 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
6b2e9d0a6d Gui: [skip ci] remove superfluous word 2020-04-30 11:35:53 +02:00
wmayer
1f298b1692 Gui: [skip ci] fix locking keyboard when showing progress bar on Linux systems 2020-04-29 19:50:13 +02:00
Yorik van Havre
141764e64f Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
7003b3f747 Updated source ts files 2020-04-29 15:41:26 +02:00
wmayer
2b2391fab2 Gui: [skip ci] print warning if Assign button cannot be activated 2020-04-28 21:43:06 +02:00
wmayer
011cc3f17f 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
6d05e156fc 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
0d4a29aa0c 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
ec7ea875a1 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
df9c158837 Remove hard-coded font families 2020-04-28 14:53:28 +02:00
triplus
4fe8215d0f 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
1d6d841cf6 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
c5c595226d add getCommandInfo() rename getShortcut to getCommandShortcut 2020-04-09 11:43:50 +02:00
mwganson
82d70a114d [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
20745f3301 Gui: [skip ci] add options to set one-pass and backface-pass rendering 2020-04-06 19:50:58 +02:00