Commit Graph

55 Commits

Author SHA1 Message Date
wmayer
72328ed0a1 + avoid throwing exceptions in property editor if not needed 2016-01-26 12:48:15 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
50d7793442 + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
33c9c02aeb + limit display role of property list items to 10 elements 2015-12-13 12:01:16 +01:00
Stefan Tröger
dcad131357 Expressions: Fix property editor behavior
- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
2015-12-09 14:08:50 +01:00
Stefan Tröger
580a4e15d1 Expressions: port int spinbox for property editor 2015-12-09 14:08:49 +01:00
Stefan Tröger
4203a6f35b Expressions: Integrate into the property editor
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
wmayer
a839a13b59 + fix build failure with gcc 2015-11-16 23:21:47 +01:00
wmayer
1225a7ac06 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
wmayer
ba21766096 + property editor handles case when dynamic property is removed 2015-11-16 15:24:36 +01:00
Przemo Firszt
8c93b29737 GUI: Fix invalid selection mode in PropertyPathItem::createEeditor
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
wmayer
9f5283d001 + fixes #0001941: Refresh Property Editor 2015-09-13 15:53:59 +02:00
wmayer
043dc1616d + fixes #0002197: Buggy Placement dialog when using Euler angles 2015-09-13 15:17:44 +02:00
Yorik van Havre
e19e7336cd Added new property type: App::PropertyVectorDistance
This works exactly as a normal PropertyVector, but it
uses the Units-enabled GUI editor instead.
2015-08-31 22:57:29 -03:00
wwmayer
e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
4f5534a87a + fixes #0002116: FreeCAD crash when I click on treeview 2015-06-09 21:55:35 +02:00
wmayer
dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
c5b2609974 + select number of quantity spinbox when value is set in property editor 2015-01-07 22:05:00 +01:00
wmayer
5aac822c71 + issue #0001038: Improve and show List properties in Tree View 2014-12-16 14:31:36 +01:00
wmayer
6e5118c9c8 + fixes #0001038: Improve and show List properties in Tree View 2014-12-15 23:54:55 +01:00
wmayer
822e45c4f7 + fixes #0001806: Wrong object name shown in App::PropertyLink Properties in the property editor 2014-10-27 17:05:27 +01:00
wmayer
6b98223c07 + remove useless statement 2014-10-21 21:40:25 +02:00
wmayer
346e5c6a77 + fix more compiler warnings 2014-08-27 13:26:44 +02:00
wmayer
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
75fa3d4067 + prepare property editor for items with unknown number of children 2014-08-17 18:36:27 +02:00
wmayer
406d32aebb + Replace InputField with QuantitySpinBox 2014-07-31 15:14:27 +02:00
wmayer
30e5321e76 + fix whitespaces and a few minor things 2014-05-12 14:14:23 +02:00
wmayer
f1762edd6c + workaround to avoid to create invalid code with moc 2014-05-12 13:39:57 +02:00
Stefan Tröger
21b019fd24 ensure that the placement values are used with every relevant decimal from the property editor 2014-05-12 09:40:16 +02:00
Stefan Tröger
9f7c784437 add inputfield to placement in property editor 2014-05-12 09:40:15 +02:00
Stefan Tröger
58a781e5c4 add inputfield to property editor for PropertyQuantity and PropertyQuantityConstraint 2014-05-12 09:40:14 +02:00
wmayer
2aa2cb3fa6 + fixes #0001063: Show a PropertyLink in Property view 2014-03-13 14:28:53 +01:00
wmayer
7ebfa3632d + fixes #0001453: Use string representation for PropertyPlacement editor that presevers double precision 2014-03-01 12:41:29 +01:00
jriegel
0fbe570f9e switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
wmayer
989b6a06bd + Proper reimplmentation of PropertyUnitItem 2014-02-13 14:08:08 +01:00
jriegel
82ff64477e FixBug #1402 2014-02-11 23:03:26 +01:00
jriegel
87c4741fac new userString methode 2013-12-03 19:03:12 +01:00
jriegel
3a3afa0783 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
wmayer
5062080a26 + Fix gcc build errors/improve whitespaces 2013-09-26 15:39:25 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
e18dcef6db Fix crash in property editor of property link is empty 2013-05-03 18:30:25 +02:00
wmayer
a7e3f0539d 0001063: Show a PropertyLink in Property view 2013-04-07 18:21:48 +02:00
wmayer
f69b57459b Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type 2013-03-30 12:32:53 +01:00
jrheinlaender
bcdc353375 More suggestions for float->double move from Gui subdirectory 2013-03-24 19:59:43 +04:30
wmayer
efc29e4422 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer
76ff41ee17 Show angle of placement in degree in property editor 2012-12-21 15:07:58 +01:00
Sebastian Hoogen
750129d04c Add PropertyMatrixItem 2012-06-13 10:35:29 +02:00