Commit Graph

30 Commits

Author SHA1 Message Date
AjinkyaDahale
23d78e55c3 Shortened decimal check code in QuantitySpinBox 2016-10-16 09:30:49 +02:00
wmayer
67e3dc814a issue #0002712: Can't use more than one decimal in dimension 2016-10-15 16:27:38 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
maurerpe
5a85155565 Add missing header files
Needed for Qt5, recommended for Qt4
2016-02-24 23:55:40 +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
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
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
Eivind Kvedalen
273698307e QunatitySpinBox: Removed unused code. 2015-09-30 15:54:16 +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
Stefan Tröger
4b906690b6 Enhance expression icon
- fix size and position on kubuntu
- different icon for set or unset expression for better visual feedback
2015-09-26 19:09:07 +02:00
Stefan Tröger
181e90471f first take on alternative expression ui input dialog 2015-09-26 19:09:07 +02:00
Eivind Kvedalen
c5fdb0883d Expression editor: Qt-workaround for '='-key; compare with text() instead. 2015-09-24 09:53:14 +02:00
Eivind Kvedalen
12e79ba65c QuantitySpinBox: Fixed placement of expression editor pop-up. 2015-09-23 18:48:22 +02:00
Eivind Kvedalen
8e5619f7a0 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
Mateusz Skowroński
763ccd0505 Fix for bugs #2236 & #2237 2015-09-07 15:28:18 -03:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
798a74f9ff + fix problem with values > 1000 in quantity spinbox 2015-01-19 21:59:51 +01:00
wmayer
ab9e71fbb3 + fix gcc build failure 2015-01-19 11:42:45 +01:00
wmayer
94c8c9ed18 + improve QuantitySpinBox 2015-01-19 00:36:07 +01:00
wmayer
f8604e9a73 + fixes #0001657: Sketcher: First digit can not be deleted when editing grid size 2014-12-30 14:18:02 +01:00
wmayer
4f3f96cba1 + change selectNumber() to check against the locale signs 2014-08-11 11:07:24 +02:00
wmayer
dd3083f04e + fix regression in selectNumber(), + little performance boost, fix whitespaces 2014-08-11 10:46:43 +02:00
Johan K
671a37ed57 Adding selectNumber handling of locale, this wont work with groupseparators 2014-08-03 22:31:57 +02:00
Johan K
d9a5576708 Adding changes 2014-08-03 20:13:05 +02:00
wmayer
c504fc56b3 + fix focus issue with QuantitySpinBox and InputField 2014-07-21 18:28:46 +02:00
wmayer
dbddf8bbda + proper handling of group separator in InputField and QuantitySpinBox 2014-07-21 15:03:45 +02:00
wmayer
9f1b379e73 + add missing headers 2014-07-20 19:15:10 +02:00
wmayer
7036149592 + add QuantitySpinBox 2014-07-20 17:47:09 +02:00