Commit Graph

16 Commits

Author SHA1 Message Date
wmayer
bfdd6d8a2f Units: [skip ci] restore translations of unit schema names 2019-12-25 13:02:14 +01:00
donovaly
ce56205ed0 more fixes for the UnitsCalculator
- we must read out the unit system description UTF8 to get the characters ² and ³
- update unit system description according to today's unit "cft" addition
- don't hardcode the unit system descriptions in the .ui file
- add acceleration to imperial schema
2019-12-24 13:31:13 +01:00
wmayer
4bcb43ebd2 Base: [skip ci] make UnitSystem an enum class 2019-12-21 10:10:19 +01:00
wmayer
bd89326d06 avoid using hard-code precision when writing double to streams 2019-02-23 14:58:41 +01:00
Silas
309640eb7f Only changes the ViewSystem if the user confirms
UnitsApi::setSchema() was being called when the user changed the
comboBox item, so the view system was saved if the user later clicked
Cancel.  This call was moved to the saveSettings() method that is called
only if the user clicks Apply or OK.
2019-01-03 11:43:43 +01:00
wmayer
189a729027 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
hokieengr
92145e7e37 Fractional inch setting now disabled when not in Imperial building 2018-09-17 10:32:04 +02:00
hokieengr
77060a75a6 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
hokieengr
b102e15569 Now only storing the actual fractional denominator
GUI settings now computed directly from this value. This eliminates the
possibility of the combobox index and the value it represents getting
out of sync.
2018-09-17 10:32:03 +02:00
hokieengr
00a11a6366 Added option to select minimum fractional inch displayed
Load/save operation complete. Not yet integrated with the display code.
Also would like to disable option when non supported (those not using
fractional inches) are selected.
2018-09-17 10:32:03 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
jriegel
aa5a2e1b3f New Unit-Schema ImperialDecimal 2014-04-15 18:25:00 +02:00
wmayer
2d511524ac + Set number of deciamls with GUI 2014-02-16 12:39:03 +01:00
jriegel
3a3afa0783 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00