Max Wilfinger
2a264241dc
change default shape color
2024-02-18 14:12:22 -06:00
bdieterm
5fd298f064
Gui: fix ignored default shape color
2024-01-05 09:27:28 -06:00
bdieterm
ce41c0c391
Gui: fix partially initialized default transparency
2023-12-01 12:36:31 +01:00
wmayer
5a153e50ff
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
Uwe
6a68da4871
[Gui][Mod]: uniform spin button step size to 5%
...
- as discussed here: https://github.com/FreeCAD/FreeCAD/pull/7103 we have different transparency spin button step sizes. This PR uniforms them all to 5%.
2022-11-06 14:27:55 +01:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Uwe
c76913454a
[Gui] ViewProviderGeometryObject: fix color and transparency
...
- fixes the issue reported in
https://forum.freecadweb.org/viewtopic.php?p=609353#p609353
the color and transparency are childs of the material and have to be set as such.
- also some code style fixes done automatically by MSVC
2022-07-13 05:42:21 +02:00
Uwe
19530b337f
[Part] [PD] add preferences setting for transparency
...
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
wmayer
779128b5f4
Gui: get rid of some const_cast
2022-06-28 15:26:02 +02:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
9df800289b
[Gui] ViewProviderFeature etc.: remove unused includes
2022-03-06 00:34:35 +01:00
Zheng, Lei
75e639c94c
App/Gui: add new ObjectStatus TouchOnColorChange
...
For triggering recompute on color changes
2021-12-21 21:41:02 -07:00
wmayer
89b094683f
Gui: support to customize the font size of bounding boxes
2021-03-02 16:29:57 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
carlopav
a262b11cd7
Gui: divide ViewProviderGeometryObject properties into groups
...
.
.
.
.
2020-08-21 12:36:46 +02:00
Zheng, Lei
45fd865fc0
Gui: refactor bounding box selection style
...
Previously, box style selection is rendered using customized
SoBoxSelectionRenderAction, which does not support selection context,
i.e. it does not work with Link.
This patch implements context aware bound box rendering inside
SoFCSelectionRoot, SoFCSelection and SoFCPathAnnotation (for always on
top rendering). The box rendering in SoBoxSelectionRenderAction is
disabled on construction. Box style selection can be enabled for
individual object through property SelectionStyle (moved from
ViewProviderGeometryObject to ViewProviderDocumentObject), or globally
through Parameter BaseApp/Preferences/View/ShowSelectionBoundingBox.
In addition, the parameter BaseApp/Preferences/View/UseNewSelection is
used to override selection model reported from
ViewProvider::useNewSelectionModel(). The reason being that, the same
parameter is already used to toggle selection model inside
SoFCSelection. This avoids inconsistency of selection model choice
between view provider and the SoFCSelection node inside. Note that if
the parameter 'UseNewSelection' is set to false, those view providers
that choose old selection model will not work with Link.
2019-10-08 09:56:09 +02:00
wmayer
db28dfbfb1
update bounding box if the placement of a geometry changes
2019-07-02 13:30:52 +02:00
wmayer
4b468ebed1
call updateData of base class for ViewProviderDragger and ViewProviderGeometryObject
2019-07-02 12:08:23 +02:00
wmayer
28b195d6e2
PVS issues:
...
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer
41ca90d223
Do not use a view provider's bounding box node when handling BoundBox selection style because it leads to some inconsistent behaviour.
...
Instead let SoBoxSelectionRenderAction render the bounding box.
2018-10-26 00:39:15 +02:00
Arne
519d02dd00
ViewProviderGeometryObject: set default random shape color to false
2018-04-21 13:51:51 +02:00
dulouie
d8b5b6938d
fix small layout issues
2018-04-21 13:33:40 +02:00
Arne Schmidt
492f5057e2
random shapecolor with toggle in settings dialog
2018-04-21 13:33:40 +02:00
wmayer
0973dd5e7b
add class ViewProviderDragger
...
derive ViewProviderGeometryObject from ViewProviderDragger
derive ViewProviderPart from ViewProviderDragger
2017-11-26 15:42:57 +01:00
wmayer
3b957a12b5
various minor changes:
...
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
Zheng, Lei
151d8a7b08
Gui: allow bounding box style to be customized
2017-04-01 11:09:03 -03:00
Zheng, Lei
a210cc5bc9
Gui: added bbox selection style to GeometryObject
2017-03-21 09:29:15 +01:00
wmayer
b97f93c5a8
issue #0002802 : Set a name to coin rootnodes of objects
2016-12-15 22:16:19 +01:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
DeepSOIC
93d5cf3f98
Gui: Selection: pick radius support
2016-08-10 18:46:45 +02:00
wmayer
6026608c20
close transform dialog when finishing edit mode
2016-08-05 22:02:03 +02:00
wmayer
a034fc58b3
+ fix build failures & warnings
2016-05-07 23:18:59 +02:00
blobfish
d9b58620c6
Core: Gui: SoFCSysDragger: using SoFCSysDragger in ViewProviderGeometryObject
2016-05-07 23:07:08 +02:00
Mateusz Skowroński
7d0e892d36
Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
...
158f39ec78
This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
b28680f3d8
+ fixes #0002150 : [Ctrl]+[Z] is buffered in a non-intuitive way, does not function in 'edit mode'
2015-09-15 14:30:15 +02:00
wmayer
ef610c8c96
+ remove SoFCSelection from ViewProviderGeometryObject
2015-05-20 21:44:27 +02:00
Stefan Tröger
72cab0c002
Adaption of FreeCAD to QuarterWidget
...
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer interface
2014-09-23 10:11:11 +02:00
wmayer
29f3f0cfc2
+ do not apply corrupted transformation (NaN) from SoCenterballManip
2014-08-11 14:56:30 +02:00
wmayer
c700d9d368
+ fix displacement of bounding box
2014-03-17 10:56:38 +01:00
wmayer
19619c03a0
0001441: entering Transform mode degrades the Placemens rotation to single precision
2014-02-28 11:22:09 +01:00
wmayer
a48ec3ce45
+ fixes #0001441 : entering Transform mode degrades the Placemens rotation to single precision
2014-02-27 14:43:07 +01:00
Yorik van Havre
b2c635e40c
0001032: Preference setting for bounding box colour
2013-06-27 20:42:30 -03:00
wmayer
49f66c5fba
0000942: Crash when 2xdouble-click on part
2013-01-05 11:26:16 +01:00
wmayer
9eb4174315
0000939: Pressing Escape while pivoting a box crashes
2013-01-03 16:38:52 +01:00
Yorik van Havre
81c839059a
0000630: User-defined defaults for shape colors
...
The default colors for new geometry (light grey + 2px black line)
are now a user preference (In Display->Colors properties)
2012-08-13 09:42:05 -03:00
wmayer
e919076823
Apply transformation only from Placement property
2012-04-09 16:02:46 +02:00
wmayer
c7985e5c06
+ rework edit modes
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00