0penBrain
f2942093e0
[Core] Fix unit management in QuantitySpinBox
2022-01-23 22:04:06 +01:00
wmayer
396f1bf8b8
Gui: override QuantitySpinBox::setExpression and validate expression to update internal representation
2022-01-05 20:15:03 +01:00
wmayer
6cac113ec7
Gui: QuantitySpinBox inherits from ExpressionSpinBox to reduce code duplication
2021-04-02 22:22:16 +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
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
f3c697abe7
Gui: [skip ci] workaround for QWindowsStyle to disable spin buttons when it is set read-only
2020-09-11 14:10:45 +02:00
wmayer
22bfd76efd
plugin: [skip ci] add new signal textChanged() to QuantitySpinBox
2020-08-09 11:22:47 +02:00
wmayer
74bdc701a9
Gui: [skip ci] fix bug when keyboard tracking for QuantitySpinBox is disabled and value is changed by mouse wheel or the spin buttons
2020-06-07 23:38:03 +02:00
wmayer
e5f6b5dd81
Gui: [skip ci] make QuantitySpinBox to handle disabled keyboard tracking
2020-06-01 18:47:54 +02:00
wmayer
d8d44f37cb
[skip ci] fix superfluous workarounds
2020-01-09 23:36:28 +01:00
wmayer
c5061f73c5
Gui: [skip ci] avoid weird acronyms in function names
2020-01-09 17:23:12 +01:00
donovaly
910022bafd
QuantitySpinBox: add function to set/change tooltip at runtime
2020-01-07 07:39:28 -03:00
wmayer
ebf585c0c7
Gui: implement size hint for quantity spin box
2019-12-22 11:52:59 +01:00
wmayer
e1b7ef10c7
add posibility to use a unit schema other then the system schema to represent a quantity
2019-12-21 13:35:14 +01:00
wmayer
79ab25a25c
Gui: set/get number of decimals of a quantity spin box
2019-12-20 14:44:40 +01:00
wmayer
448408c28a
Improve usability of expression dialog:
...
+ add signal showFormulaDialog to QuantitySpinBox in order to indicate whether the formula dialog opens or closes
+ when formula dialog opens then hide the button box in the parent dialog, show it again when the formula dialog closes
2018-08-23 12:22:57 +02:00
Markus Lampert
02bd04592c
Added read-only 'expression' property to QunatitySpinBox and renamed 'boundTo' to 'binding'.
2017-10-07 15:52:31 +02:00
Markus Lampert
bec9268ba3
Added boundTo as a property to QuantitySpinBox to enable binding from Python.
2017-10-07 15:52:31 +02:00
wmayer
356aa00193
add new property rawValue to QuantitySpinBox to make it accessible from Python
2017-10-05 22:46:02 +02:00
wmayer
aaef82e41e
Qt4/Qt5 neutral changes:
...
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +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
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
9b273a723b
+ fix transparent background for Windows systems
...
+ set application-wide event filter and handle mouse press events
+ fix expressPosition() to return exact position of line edit
+ fix warnings in ui file
+ use DlgExpressionInput as non-modal dialog in QuantitySpinBox
2015-09-26 19:36:11 +02:00
Eivind Kvedalen
8e5619f7a0
Added expression support to QuantitySpinBox and InputField classes.
2015-09-21 14:51:08 +02:00
wmayer
94c8c9ed18
+ improve QuantitySpinBox
2015-01-19 00:36:07 +01:00
wmayer
e9370e8096
+ fixes #0001849 : Enable Spin Boxes support for Pad, Fillet and Chamfer
2014-12-11 18:25:30 +01:00
wmayer
7036149592
+ add QuantitySpinBox
2014-07-20 17:47:09 +02:00