Commit Graph

2833 Commits

Author SHA1 Message Date
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
wmayer
3c52ff6c7f Gui: [skip ci] improve whitespaces 2020-04-06 19:50:08 +02:00
Syres916
a0ec977152 [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
aac7392740 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
ef303c766e Gui: [skip ci] replace tabs with spaces in GUI init script 2020-04-04 09:42:30 +02:00
wmayer
e2e4ecf36c Gui: [skip ci] fix regression by using UTF-8 encoding in PropertyItem::setPropertyValue 2020-04-03 16:22:35 +02:00
wmayer
ff9029938f [skip ci] improve whitespaces 2020-04-03 16:19:24 +02:00
wmayer
5ea0ae5471 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
7b194bfe9f 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
e498b0ebbf Gui: [skip ci] avoid that 3D view handles a single wheel scroll event twice 2020-04-02 14:02:03 +02:00
wmayer
5e9731c990 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
wmayer
26dfcfea8c Gui: [skip ci] bind spin boxes to object in Placement dialog 2020-03-27 17:08:08 +01:00
wmayer
e14e5b845e [skip ci] use QLocale class consistently to make it possible to change it application-wide 2020-03-26 16:37:45 +01:00
wmayer
410c03205f Gui: [skip ci] implement Python wrapper for ExpressionBinding 2020-03-25 13:22:18 +01:00
luz.paz
65f6347953 [skip ci] Fix typos
Found via 
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-03-24 11:14:24 +01:00
triplus
ba9a7d3227 NaviCube - tweaks and new parameters
By default navigation cube text now has more weight and CS axes are slightly shifted. A few additional parameters have been added, for being able to customize navigation cube offset, colors, font and visibility of CS. Parameters are consolidated under NaviCube group. Customization front-end, making use of this new parameters, will be added to CubeMenu module in the following days:

https://forum.freecadweb.org/viewtopic.php?f=34&t=43338
2020-03-24 11:12:54 +01:00
wmayer
dd12c587b8 Gui: [skip ci] make log messages distinguishable to see if X11 or polling API if spacenav is used 2020-03-22 12:55:52 +01:00
Zheng, Lei
4566fb8538 Gui: fix property editor crash on remove dynamic property
The crash happens when the dynamic property is removed due changes of
the very same property.
2020-03-21 15:43:12 +01:00
wmayer
32d8718639 Gui: [skip ci] fix bug in Placement dialog when leaving with Esc 2020-03-20 13:34:48 +01:00
wmayer
b50529e5d1 Gui: [skip ci] fix tab ordering in document settings page 2020-03-20 11:55:03 +01:00
M G Berberich
7e9c20c949 Gui: [skip ci] added thumbnail size to UI
Added a spinbox for the thumbnail-size to the document preference.
2020-03-20 11:15:05 +01:00
wmayer
0e8c23257b Gui: [skip ci] fix regression in tab order caused by 7ecb29133 2020-03-20 10:38:07 +01:00
wmayer
a4935643e2 Gui: [skip ci] simplify Application::setStyleSheet and directly check if the passed file name exists 2020-03-19 19:37:49 +01:00
donovaly
a59495fd59 [GUI] some preferences cleanup
as requested and discussed in https://forum.freecadweb.org/viewtopic.php?f=27&t=43984#p376950
and following
2020-03-19 16:57:37 +01:00
wmayer
6f80d466ad Gui: [skip ci] make it configurable to set size of thumbnails 2020-03-19 16:16:17 +01:00
wmayer
522eefba4f Gui: move handing of style sheets to Application::setStyleSheet to avoid code duplication 2020-03-19 15:57:20 +01:00
triplus
873769d021 Use relative path to stylesheet fix #4130 2020-03-19 14:25:03 +01:00
Russell Johnson
2b094f0160 PathSurface: Add select-face(s) feature and other improvements
New feature: Limit 3D Surface op to selected faces.

Disabled the IgnoreWaste feature, until it can be made compatible with new features.

New feature:  Face avoidance using new `AvoidLastXFaces` property.

New cut patterns: `Circular` and `CircularZigZag`.  New patterns include customizable center point and optional optimizations. Implemented G2/G3 gcode commands.

New feature: Safe travel for transitional paths. New methods to allow safe travel over stock, cut area, and avoided features.

New feature: Start point for operation. Choose a custom XY start point for the operation.

Restructure code to improve management and prepare for separation of the `Waterline` algorithm into an independent operation in the PathWB.

New feature: `ProfileEdges`.  Allows the user to profile the edges(boundary) of the selected face(s) with or without cutting the entire face area.

Add my name to the `Credits` tab in the `About FreeCAD` documentation.

Added new feature and property: `CutPatternReversed`. This will make Circular, Line, and ZigZag patterns work in reverse order - outside to inside. 
PathSurface: Add select-face(s) feature and other improvements

New feature: Limit 3D Surface op to selected faces.

Disabled the IgnoreWaste feature, until it can be made compatible with new features.

New feature:  Face avoidance using new `AvoidLastXFaces` property.

New cut patterns: `Circular` and `CircularZigZag`.  New patterns include customizable center point and optional optimizations. Implemented G2/G3 gcode commands.

New feature: Safe travel for transitional paths. New methods to allow safe travel over stock, cut area, and avoided features.

New feature: Start point for operation. Choose a custom XY start point for the operation.

Restructure code to improve management and prepare for separation of the `Waterline` algorithm into an independent operation in the PathWB.

New feature: `ProfileEdges`.  Allows the user to profile the edges(boundary) of the selected face(s) with or without cutting the entire face area.

Add my name to the `Credits` tab in the `About FreeCAD` documentation.
2020-03-18 12:21:37 -05:00
wmayer
17e0697c5e Gui: improve usability of text document object 2020-03-17 11:36:03 +01:00
wmayer
fa27ae2def Gui: [skip ci] update editor action on request 2020-03-17 10:35:54 +01:00