Commit Graph

42 Commits

Author SHA1 Message Date
Preslav
5030d8bb6d Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
donovaly
6c67300d62 [Base] add electrical conductivity
- this is necessary to perform electrodynamics simulations. Since the typical values are in the range of 1e6 S/m, we need the new units kS and MS

- since this is for simulations, also add electrical conductivity to the FEM material cards
2021-03-25 17:13:52 +01:00
wmayer
f36ba4c56e Crowdin: Gui: move whitespace out of translation string [skip ci] 2021-02-25 10:38:52 +01:00
wmayer
e14e5b845e [skip ci] use QLocale class consistently to make it possible to change it application-wide 2020-03-26 16:37:45 +01:00
donovaly
d1b354fc6b add units Gauss, Weber and Oersted 2020-01-07 07:36:22 -03:00
donovaly
68ea38cc8d add the units Ohm and Siemens 2020-01-05 15:00:46 +01: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
donovaly
2e00f928e3 DlgUnitsCalculator: some tweaks
- we call it "unit system" in the preferences, thus call it here so too
- add tooltips
- we have unit categories
2019-12-23 16:50:07 +01:00
wmayer
4cb8dc9ce2 reduce size of units calculator 2019-12-22 11:53:36 +01:00
wmayer
0b05a01c81 allow to choose a custom units schema in calculator 2019-12-21 13:36:25 +01:00
wmayer
a11e9277de Gui: [skip ci] reduce confusion m vs. mm in units calculator 2019-12-20 16:54:56 +01:00
wmayer
b03aab9a9b extend units calculator 2019-12-20 14:45:05 +01:00
donovaly
0f22ffdd6e UnitsCalculator fixes
- missing initial value
- missing check for invalid units starting with 'e'
2019-12-20 13:49:01 +01:00
donovaly
53b34a3dc0 take care of the UnitsCalculator
- also fix uF and uH
- add conversion routine for C and T
2019-12-19 13:31:12 +01:00
wmayer
5939082b9f [skip ci] fix some warnings:
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
donovaly
a0f5206a2e DlgUnitsCalculator: tweaks requested by vocx-fc and luzpaz 2019-12-06 14:42:02 -03:00
donovaly
a82ba07886 DlgUnitsCalculatorImp.cpp: some cleanup 2019-12-06 14:42:02 -03:00
donovaly
d255744684 Fix the broken UnitsCalculator dialog
see https://forum.freecadweb.org/viewtopic.php?f=3&t=41331&p=351289#p351289 for details why and how
2019-12-06 14:42:02 -03:00
wmayer
4d831ea442 Basic support for Frequency as unit 2019-10-20 18:14:56 +02:00
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
c9f25d75d3 fix typo 2018-03-11 18:34:18 +01:00
wmayer
b1bfb62583 add derived unit electric potential 2017-10-16 21:56:13 +02:00
vdwalts
59ac40a584 Base: Units for FEM, new heat and heat flux functions 2016-12-21 11:27:41 -02:00
kgoao
93b7aceb0e FEM: FemConstraintHeatflux: Add DFLUX option to heat flux constraint 2016-12-21 11:27:41 -02:00
wmayer
eeb73f7928 add quantity box to unit calculator and allow to set all pre-defined units 2016-08-11 19:03:16 +02:00
wmayer
3e7cfc2584 rework units dialog 2016-08-11 17:32:58 +02:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +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
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
6846c8156f + Various improvements on units calculator 2014-01-23 09:50:16 +01:00
jriegel
27becf2e7b Some fixes in the unit system 2013-12-03 19:57:29 +01:00
jriegel
d4d4ccc3b1 History and Save managment in InputField 2013-12-03 18:48:18 +01:00
jriegel
98d28b324e Using return to write the logBook in UnitsCalculator 2013-11-30 17:58:23 +01:00
wmayer
509daf7731 + Fix signal connections of buttons in units calculator 2013-11-10 20:09:36 +01:00
jriegel
7b66f34b7f Detect unit missmatch in UnitsCalculator 2013-11-10 14:02:34 +01:00
wmayer
6e04e8801d + Fix memory leak in units calculator 2013-11-09 13:51:21 +01:00
wmayer
4f50b2033e + Fix crash in units calculator, implement copy function 2013-11-09 13:47:15 +01:00
jriegel
041545dfba further implementing InputField and UnitsCalculator 2013-11-09 11:02:23 +01:00
jriegel
ae8898561a implementing UnitsCalculator and disable changes in Sketcher 2013-11-09 07:34:56 +01:00
jriegel
33242fd8d7 Add UnitsCalculator 2013-11-07 16:16:17 +01:00