Commit Graph

2823 Commits

Author SHA1 Message Date
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
wmayer
3a1c12207f Gui: [skip ci] add slot to update editor related commands 2020-03-17 10:03:32 +01:00
wmayer
6007d510f7 Gui: [skip ci] print warning if 3Dconnexion file cannot be loaded 2020-03-17 00:31:56 +01:00
wmayer
358ad27ca7 Gui: copy config file to resource directory 2020-03-16 23:44:52 +01:00
wmayer
530e59fced Gui: fix target path of style sheet files 2020-03-16 23:44:52 +01:00
SolidDude
8573ff4c9e Adds 3DConnexion Device Button Map loading from XML file 2020-03-16 23:44:52 +01:00
mwganson
26a3217b42 [Report View] add options to show report view on warning, error, normal, and log message types individually 2020-03-16 19:21:49 +01:00
wmayer
8ab26fdf2b Gui: [skip ci] for quick search don't change font family and size but set to bold only because on some systems an almost unreadable font might be taken 2020-03-16 17:29:29 +01:00
wmayer
a7b4b11d9d Gui: [skip ci] improve search function in parameter editor to jump from one top-level item to the sibling item 2020-03-16 17:19:53 +01:00
wmayer
06b6f9df33 Gui: [skip ci] fix ColorButton to pre-select current color in dialog 2020-03-16 09:46:09 +01:00
donovaly
799d113508 [GUI] general document preferences
- add missing tooltip and improve wording of another tooltip
2020-03-16 08:33:43 +01:00