Commit Graph

69 Commits

Author SHA1 Message Date
wmayer
f1127dd2f4 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
28c21914d0 Extensions: Handle static/dynamic cast
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
3e1ba47d61 Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
2a61aec97b Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
1e6dcabefc fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
947f9575de remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
af6f4704c9 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
wmayer
61aa0fcafe + implement PropertyMaterialListItem 2016-05-08 19:28:02 +02:00
wmayer
b80df1db40 + property editor for material 2016-05-08 17:51:21 +02:00
wmayer
6a8805829c + fix possible crash in some property editors 2016-05-07 22:59:19 +02:00
wmayer
926e5e127d + editor for PropertyMaterial 2016-05-07 22:11:37 +02:00
Yorik van Havre
a280c3ba39 Allow to enter empty values in PropertyFloatList and PropertyIntegerList - issue #2535 2016-04-29 23:00:11 -03:00
wmayer
c82811fd79 + add properties with 'hidden' mode to property editor but hide the item 2016-03-05 18:24:58 +01:00
wmayer
b30f03c66d + avoid throwing exceptions in property editor if not needed 2016-01-26 12:48:15 +01:00
Mateusz Skowroński
c275b35d48 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
0695552cff 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
750897c20e + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
01889f9c9f + limit display role of property list items to 10 elements 2015-12-13 12:01:16 +01:00
Stefan Tröger
2c249e69f2 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
08b1c4619e Expressions: port int spinbox for property editor 2015-12-09 14:08:49 +01:00
Stefan Tröger
96a586d04a 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
6ea05d01b9 + fix build failure with gcc 2015-11-16 23:21:47 +01:00
wmayer
ba053abec9 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
wmayer
0ec8dd48b1 + property editor handles case when dynamic property is removed 2015-11-16 15:24:36 +01:00
Przemo Firszt
e56fd5b660 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
854ffb0013 + fixes #0001941: Refresh Property Editor 2015-09-13 15:53:59 +02:00
wmayer
f83707d73e + fixes #0002197: Buggy Placement dialog when using Euler angles 2015-09-13 15:17:44 +02:00
Yorik van Havre
4fd3a15b98 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
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
95890fb41f + fixes #0002116: FreeCAD crash when I click on treeview 2015-06-09 21:55:35 +02:00
wmayer
859d76faf8 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
1e37eadf87 + select number of quantity spinbox when value is set in property editor 2015-01-07 22:05:00 +01:00
wmayer
9dd3eeeb2b + issue #0001038: Improve and show List properties in Tree View 2014-12-16 14:31:36 +01:00
wmayer
d11ed1a236 + fixes #0001038: Improve and show List properties in Tree View 2014-12-15 23:54:55 +01:00
wmayer
8715bb8670 + fixes #0001806: Wrong object name shown in App::PropertyLink Properties in the property editor 2014-10-27 17:05:27 +01:00
wmayer
6ede5695d6 + remove useless statement 2014-10-21 21:40:25 +02:00
wmayer
839eced7a9 + fix more compiler warnings 2014-08-27 13:26:44 +02:00
wmayer
a50743041b + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
150b6343c2 + prepare property editor for items with unknown number of children 2014-08-17 18:36:27 +02:00
wmayer
732c521f39 + Replace InputField with QuantitySpinBox 2014-07-31 15:14:27 +02:00
wmayer
3444b885c4 + fix whitespaces and a few minor things 2014-05-12 14:14:23 +02:00
wmayer
a0e263d394 + workaround to avoid to create invalid code with moc 2014-05-12 13:39:57 +02:00
Stefan Tröger
7b9894909c 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
86f4b2de6b add inputfield to placement in property editor 2014-05-12 09:40:15 +02:00
Stefan Tröger
e0bf5c25e3 add inputfield to property editor for PropertyQuantity and PropertyQuantityConstraint 2014-05-12 09:40:14 +02:00
wmayer
2b875184e1 + fixes #0001063: Show a PropertyLink in Property view 2014-03-13 14:28:53 +01:00
wmayer
29f688a4b5 + fixes #0001453: Use string representation for PropertyPlacement editor that presevers double precision 2014-03-01 12:41:29 +01:00
jriegel
aca751daf4 switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
wmayer
a2209cda1f + Proper reimplmentation of PropertyUnitItem 2014-02-13 14:08:08 +01:00