Uwe
a8c679c370
[Gui] Expression: remove unused includes
2022-03-02 05:00:21 +01:00
wmayer
f5063af183
Gui: Change label type to ExpressionLabel in ExpressionBinding
...
* Add function ExpressionBinding::makeLabel() and use it in subclasses to reduce code duplication
2021-04-02 17:46:42 +02:00
Benjamin Nauck
d69bbaa51b
[Gui] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
wmayer
88a2dc1c70
Gui: [skip ci] allow to unbind() an ExpressionBinding and automatically unbind it if the observed object has been deleted
...
For more details see: https://forum.freecadweb.org/viewtopic.php?f=8&t=56097
2021-02-28 12:37:50 +01:00
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
9ed9d30338
Qt5: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
Zheng, Lei
db89713160
Gui: fix ExpressionBinding::apply()
...
Remove extra '.' because of newly introduced local property referencing
syntax.
2019-10-07 17:24:31 +02:00
Zheng, Lei
8b3ef8faf5
Gui: property view related changes
...
* Display property from linked object, colored green,
* Change DlgPropertyLink to support external linking and sub-object
selection
* Improve large selection performance by using a timer
* Improve TAB key behavior in property editor
* Add context menu to show hidden properties, change property status,
set expression on any and property, and add/remove dynamic properties
* Optimize expression completer model construction, as the original
implementation gets prohibitively slow for moderate number of objects.
2019-08-17 15:08:33 +02:00
Eivind Kvedalen
0684109663
ExpressionBinding/QuantitySpinBox: skip updating if bound to a read-only property.
2017-07-26 23:39:00 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
1e6dcabefc
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02: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
wmayer
b18d4c2f42
+ fix: -Wunused-variable
2015-12-09 16:52:47 +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
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
Eivind Kvedalen
68fc3b5917
QuantitySpinBox: Make sure Python code is emitted also when expressions are not used.
...
In that case, the property should be set directly.
2015-11-13 20:26:13 +01:00
wmayer
918d42c856
+ fix build failure on Windows
2015-09-30 16:37:48 +02:00
Eivind Kvedalen
f33ce91c8f
QuantitySpinBox: Moved getIcon() and some data members to ExpressionBinding class.
...
Conflicts:
src/Gui/QuantitySpinBox.cpp
2015-09-30 15:54:17 +02:00
wmayer
469d085b6d
+ fixes unicode support in expression engine
2015-09-24 13:10:54 +02:00
Eivind Kvedalen
8e5619f7a0
Added expression support to QuantitySpinBox and InputField classes.
2015-09-21 14:51:08 +02:00