Commit Graph

24 Commits

Author SHA1 Message Date
marioalexis
ff1b4eff05 Gui: Replace C cast 2022-09-18 11:06:51 -05:00
FreeCAD-Tools
bdc4704ec6 fix translation issue
fix issue https://github.com/FreeCAD/FreeCAD-translations/issues/190
2022-08-26 15:01:45 +02:00
wmayer
07ccb73fe7 Partially revert "Remove unused code into GUI" 2022-07-17 12:32:03 +02:00
andrea
7886d3cbf4 Remove unused code into GUI 2022-07-17 03:53:11 +02:00
Uwe
c3e084c856 [Gui] DlgSettingsUnitsImp: add an include, compile fix 2022-03-17 00:34:07 +01:00
Uwe
5353cff196 [Gui] DlgSettings etc.: remove unused includes 2022-03-17 00:17:32 +01:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
Bernd Hahnebach
0c9e6c6158 Base: add new unit schema for mm and N for use in FEM 2020-08-07 19:19:44 +02:00
wmayer
19130adfe1 Units: [skip ci] restore translations of unit schema names 2019-12-25 13:02:14 +01:00
donovaly
bab14b5895 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
c16c7eda27 Base: [skip ci] make UnitSystem an enum class 2019-12-21 10:10:19 +01:00
wmayer
ce975cef2a avoid using hard-code precision when writing double to streams 2019-02-23 14:58:41 +01:00
Silas
aa02240325 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
9e8be1aa23 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
hokieengr
67454f61a5 Fractional inch setting now disabled when not in Imperial building 2018-09-17 10:32:04 +02:00
hokieengr
f8dcd64fa2 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
hokieengr
00205570d4 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
89c1049746 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
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
jriegel
105732fe40 New Unit-Schema ImperialDecimal 2014-04-15 18:25:00 +02:00
wmayer
8d37a2610e + Set number of deciamls with GUI 2014-02-16 12:39:03 +01:00
jriegel
87c8d5b022 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
c8cc4a179a 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