Commit Graph

17 Commits

Author SHA1 Message Date
donovaly
65acf2371e QuantitySpinBox: add function to set/change tooltip at runtime 2020-01-07 07:39:28 -03:00
wmayer
a056d85f7d Gui: implement size hint for quantity spin box 2019-12-22 11:52:59 +01:00
wmayer
98dfe7c387 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
b6ae122351 Gui: set/get number of decimals of a quantity spin box 2019-12-20 14:44:40 +01:00
wmayer
93163b28d0 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
b28e48c10b Added read-only 'expression' property to QunatitySpinBox and renamed 'boundTo' to 'binding'. 2017-10-07 15:52:31 +02:00
Markus Lampert
7a352fea52 Added boundTo as a property to QuantitySpinBox to enable binding from Python. 2017-10-07 15:52:31 +02:00
wmayer
81e2480ca6 add new property rawValue to QuantitySpinBox to make it accessible from Python 2017-10-05 22:46:02 +02:00
wmayer
07943d2a9a 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
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
Eivind Kvedalen
081bc6b107 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
014bb5b519 QuantitySpinBox: Moved getIcon() and some data members to ExpressionBinding class.
Conflicts:
	src/Gui/QuantitySpinBox.cpp
2015-09-30 15:54:17 +02:00
wmayer
309373c404 + 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
897f8b78b8 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
wmayer
3c754da0cb + improve QuantitySpinBox 2015-01-19 00:36:07 +01:00
wmayer
7801fbef3a + fixes #0001849: Enable Spin Boxes support for Pad, Fillet and Chamfer 2014-12-11 18:25:30 +01:00
wmayer
d403851313 + add QuantitySpinBox 2014-07-20 17:47:09 +02:00