Commit Graph

31 Commits

Author SHA1 Message Date
luz.paz
04ba2872f0 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
fb32601746 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
5ae635ac64 fix various flaws detected by PVS 2019-03-01 22:52:41 +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
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
wmayer
aaef82e41e Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
Eivind Kvedalen
8e5619f7a0 Added expression support to QuantitySpinBox and InputField classes. 2015-09-21 14:51:08 +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
wmayer
a0e263d394 + workaround to avoid to create invalid code with moc 2014-05-12 13:39:57 +02:00
Stefan Tröger
79c60c4096 port the placement dialog to the inputfield 2014-05-12 09:40:16 +02:00
wmayer
87b83fc3ac + implement input validator for range checking 2014-04-16 12:03:18 +02:00
wmayer
ad0ab4b816 + implement key up/down for input field, fix wheel event 2014-04-02 12:22:28 +02:00
wmayer
a8fe58d93b + use Quantity type as QVariant, add quantity property to InputField and implement a PySide converter 2014-04-01 15:43:40 +02:00
wmayer
035ff37353 + fix whitespace, typos, docs 2014-02-12 13:37:04 +01:00
jriegel
9f47c54e51 First tests of using InputField via Python 2014-02-09 20:50:07 +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
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
d4d4ccc3b1 History and Save managment in InputField 2013-12-03 18:48:18 +01:00
jriegel
128075f196 Add limits to the InputField 2013-11-29 18:24:17 +01:00
jriegel
ae8898561a implementing UnitsCalculator and disable changes in Sketcher 2013-11-09 07:34:56 +01:00
jriegel
b0ad791daa implementing InputField UseCase in Sketcher EditDatumDialog 2013-11-05 19:00:42 +01:00
jriegel
78ba09a490 start PropertyQuantity and InputField 2013-09-24 11:00:54 +02:00