Commit Graph

31 Commits

Author SHA1 Message Date
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
luz.paz
7b7797f4f3 Fix various (doxy) typos and whitespace issues
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-03 07:57:13 +02:00
wmayer
337c9c936f fix various flaws detected by PVS 2019-03-01 22:52:41 +01:00
wmayer
a12f4f364f fixes 0003823: FEM, unusable material property changing when using task panel 2019-02-18 23:26:00 +01:00
wmayer
0cc8efa105 simplify handling of locale specific with InputField from Python 2019-01-17 02:57:00 +01:00
wmayer
a6a004b6b2 fixes #0002866: Gui::InputField rounds values to 2 digits 2018-01-02 12:32:09 +01:00
wmayer
483d099671 remove now superfluous member from InputField 2018-01-02 12:31:32 +01:00
Oliver Oxtoby
21fd2743a8 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
71130d09ed Do not overwrite tooltips for InputFields. 2017-08-20 10:22:33 +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
Eivind Kvedalen
897f8b78b8 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +02:00
wmayer
f867733499 + 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
f0bd78bee9 + fix issue with default value and unit in InputField 2014-06-06 16:17:47 +02:00
wmayer
52c385003f + optimization for icon retrieval in InputField 2014-05-30 12:56:26 +02:00
wmayer
30e5321e76 + fix whitespaces and a few minor things 2014-05-12 14:14:23 +02:00
wmayer
f1762edd6c + workaround to avoid to create invalid code with moc 2014-05-12 13:39:57 +02:00
Stefan Tröger
8ff14c8fdb port the placement dialog to the inputfield 2014-05-12 09:40:16 +02:00
wmayer
61919e89ab + implement input validator for range checking 2014-04-16 12:03:18 +02:00
wmayer
f2a922bdf2 + implement key up/down for input field, fix wheel event 2014-04-02 12:22:28 +02:00
wmayer
a0c8dc7466 + use Quantity type as QVariant, add quantity property to InputField and implement a PySide converter 2014-04-01 15:43:40 +02:00
wmayer
9c2dbc1498 + fix whitespace, typos, docs 2014-02-12 13:37:04 +01:00
jriegel
d17fb3aa5d First tests of using InputField via Python 2014-02-09 20:50:07 +01:00
jriegel
a97f53a5e7 Fully implement Units in PartDesign Pad 2014-02-09 16:23:06 +01:00
Yorik van Havre
0b945388ea Added icon-based feedback for InputField 2014-01-15 11:48:16 -02:00
jriegel
9d217367e9 Mouse wheel handling in InputField 2013-12-16 00:02:31 +01:00
jriegel
d5d9ea9c30 Add unti support to Sketcher 2013-12-15 22:47:47 +01:00
jriegel
2351d115b9 History and Save managment in InputField 2013-12-03 18:48:18 +01:00
jriegel
b706bf73a5 Add limits to the InputField 2013-11-29 18:24:17 +01:00
jriegel
3d6743a13b implementing UnitsCalculator and disable changes in Sketcher 2013-11-09 07:34:56 +01:00
jriegel
2fb6e75899 implementing InputField UseCase in Sketcher EditDatumDialog 2013-11-05 19:00:42 +01:00
jriegel
4732a800e9 start PropertyQuantity and InputField 2013-09-24 11:00:54 +02:00