wmayer
5c4ad9eeac
fixes 0003605: Scrolling on length inputs with Building Euro unit system has max value
2019-02-21 13:30:13 +01:00
wmayer
99355b6fd2
fixes 0003823: FEM, unusable material property changing when using task panel
2019-02-18 23:26:00 +01:00
wmayer
46804085c9
simplify handling of locale specific with InputField from Python
2019-01-17 02:57:00 +01:00
wmayer
a6dd02bb75
fixes #0002866 : Gui::InputField rounds values to 2 digits
2018-01-02 12:32:09 +01:00
wmayer
a50b40f8df
remove now superfluous member from InputField
2018-01-02 12:31:32 +01:00
wmayer
3a39ea43c3
respect format option when changing values with wheel or up/down keys in input field
2018-01-02 12:11:45 +01:00
wmayer
dd66a9c9fc
add method toFormat to get number format from character
2017-08-20 18:50:13 +02:00
Oliver Oxtoby
966fbf422b
Base: Add properties to InputField for setting Quantity from Python
...
These additions are designed to allow easier interaction with the
InputField box from Python. Particularly, the ability to put the
format into scientific notation to prevent truncation of values.
There is also a need for a way to input a new value into the
text box such that it is formatted correctly.
- 'quantityString' property - allows to check, set, format and
display the underlying value. The only way to achieve this
currently from Python is to set the widget text, then hide and
re-show it to format the value.
- 'format' property: set to 'f' (fixed - default),
'e' (scientific) or 'g' (general - recommended)
to set the number format from Python or UI file
- 'precision' property: as above, number of decimals/significant
figures if it is desired to override the global default
2017-08-20 16:50:01 +02:00
Markus Lampert
604365a6b8
Do not overwrite tooltips for InputFields.
2017-08-20 10:22:33 +02:00
Kunda
de2392eb18
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
4db41b0b4b
register Quantity type for shiboken2, handle exception to fix abort when setting quantity property of InputField via Python
2016-12-30 22:51:17 +01:00
wmayer
47b41a7883
fixes #0002460 : Use keyword 'explicit' for Quantity constructor
2016-11-05 23:21:42 +01:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
1e6dcabefc
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +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
Eivind Kvedalen
8e5619f7a0
Added expression support to QuantitySpinBox and InputField classes.
2015-09-21 14:51:08 +02:00
wmayer
05b921df0d
+ fix bug in read-only InputField, minor Utf-8 issue in meshing dialog
2015-04-22 14:01:27 +02: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
552cb1a308
+ Make destructor virtual for classes with virtual methods (based on DevJohan's patch)
2014-07-26 19:17:12 +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
6201f1a74b
+ fix a couple of issues with InputField used in property editor
2014-06-14 16:22:56 +02:00
wmayer
f90d593aa5
+ fix possible crash in InputField::selectNumber
2014-06-10 14:10:36 +02:00
wmayer
41f8415a60
+ restore selected numbers in input field after showing it, select numbers if widget gets focus by Tab/Backtab/Shortcut
2014-06-10 11:34:23 +02:00
wmayer
f621ffa412
+ fix issue with default value and unit in InputField
2014-06-06 16:17:47 +02:00
wmayer
a6f457228b
+ optimization for icon retrieval in InputField
2014-05-30 12:56:26 +02:00
wmayer
3444b885c4
+ fix whitespaces and a few minor things
2014-05-12 14:14:23 +02:00
Stefan Tröger
79c60c4096
port the placement dialog to the inputfield
2014-05-12 09:40:16 +02:00
wmayer
edbbe07a79
+ fixes #0001512 : After trying to set a bad value, the pad editor does not show
2014-04-23 17:10:28 +02:00
jriegel
2082e5faf9
Fix unit error checking in InputField
2014-04-17 06:33:57 +02:00
wmayer
87b83fc3ac
+ implement input validator for range checking
2014-04-16 12:03:18 +02:00
wmayer
331adfa919
+ improve whitespaces
2014-04-14 17:14:26 +02:00
jriegel
d266a2c99e
Make InputField obey Minimum/Maximum property
2014-04-14 03:29:44 +02:00
wmayer
ad0ab4b816
+ implement key up/down for input field, fix wheel event
2014-04-02 12:22:28 +02:00
wmayer
cfe77ee175
+ emit valueChanged(double) signal from InputField
2014-02-12 14:03:42 +01:00
wmayer
22efe13bd9
+ Using locale delimiter
2014-02-11 17:36:04 +01:00
jriegel
9f47c54e51
First tests of using InputField via Python
2014-02-09 20:50:07 +01:00
jriegel
fad3e2cfbc
Fix doulbe value entry in history of InpuField
2014-02-09 19:28:15 +01:00
jriegel
4a4d851fb8
Fix default bug in Pad dialog
2014-02-09 19:21:01 +01:00
jriegel
7a7710873e
Fully implement Units in PartDesign Pad
2014-02-09 16:23:06 +01:00
Yorik van Havre
05be507b7c
Added icon-based feedback for InputField
2014-01-15 11:48:16 -02:00
jriegel
9de649a248
next gcc fix
2013-12-16 00:38:46 +01:00
jriegel
122c548bfd
Mouse wheel handling in InputField
2013-12-16 00:02:31 +01:00
jriegel
16c6fe2470
Add unti support to Sketcher
2013-12-15 22:47:47 +01:00
jriegel
f265f551c2
Switching Quantity parser to UTF8
2013-12-09 23:50:52 +01:00
wmayer
61f7ed2802
+ Fix gcc build error
2013-12-05 23:30:12 +01:00