wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
2725c3a54f
Gui: modernize C++: use range-based for loop
2023-08-14 19:42:18 +02:00
Chris Hennes
001c79f459
Gui: Translate unit system UI
2023-05-15 20:16:46 -05:00
wmayer
ef63a35e0f
Gui: fix -Wclazy-connect-by-name
2023-04-05 16:23:15 +02:00
Paddle
805745599c
Pref: Remove Unit tab and move settings back to main page.
2023-04-01 16:30:51 +02:00
Uwe
de8988049d
[App] [skip ci] some comment fixes
...
- also a sorting fix
2023-02-26 23:19:19 +01:00
Oliver Oxtoby
9d5ab79a4c
[App] [Base] Add missing Property classes for all Units ( #6717 )
...
- Add missing Property classes for all Units
- Add missing units to unit calculator, as well as some missing string representations
- also change units used for dynamic viscosity to the customary Pa*s
2023-02-26 15:28:28 +01:00
Uwe
04915b694b
[FEM] add new constraint for magnetization
2023-02-09 14:41:25 +01:00
Uwe
2880a5ca2a
[Core] add current density
...
- necessary to implement electromagnetic features to the FEM WB
2023-02-04 03:22:24 -06:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
Uwe
900ad81b49
[Gui] modernize some UI connections
2023-01-31 22:24:45 +01:00
berniev
656ef8961f
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
Preslav
4ab37fc0ca
Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m]
2021-08-16 12:27:41 +01:00
donovaly
bcc669b930
[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
879ab9ed84
Crowdin: Gui: move whitespace out of translation string [skip ci]
2021-02-25 10:38:52 +01:00
wmayer
ec8b1bc072
[skip ci] use QLocale class consistently to make it possible to change it application-wide
2020-03-26 16:37:45 +01:00
donovaly
66354b3c58
add units Gauss, Weber and Oersted
2020-01-07 07:36:22 -03:00
donovaly
05dadb4c75
add the units Ohm and Siemens
2020-01-05 15:00:46 +01:00
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
donovaly
f07e97b813
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
2eb208cab5
reduce size of units calculator
2019-12-22 11:53:36 +01:00
wmayer
b795162660
allow to choose a custom units schema in calculator
2019-12-21 13:36:25 +01:00
wmayer
702ae025c7
Gui: [skip ci] reduce confusion m vs. mm in units calculator
2019-12-20 16:54:56 +01:00
wmayer
492af81db1
extend units calculator
2019-12-20 14:45:05 +01:00
donovaly
07549653cd
UnitsCalculator fixes
...
- missing initial value
- missing check for invalid units starting with 'e'
2019-12-20 13:49:01 +01:00
donovaly
f5f0728a9f
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
1a87354282
[skip ci] fix some warnings:
...
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
donovaly
653a5e4302
DlgUnitsCalculator: tweaks requested by vocx-fc and luzpaz
2019-12-06 14:42:02 -03:00
donovaly
58967193be
DlgUnitsCalculatorImp.cpp: some cleanup
2019-12-06 14:42:02 -03:00
donovaly
fafbe533bb
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
3500451a04
Basic support for Frequency as unit
2019-10-20 18:14:56 +02:00
Mateusz Skowroński
317bcd59c9
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
wmayer
7480544967
fix typo
2018-03-11 18:34:18 +01:00
wmayer
9aab910981
add derived unit electric potential
2017-10-16 21:56:13 +02:00
vdwalts
9a3b750fb7
Base: Units for FEM, new heat and heat flux functions
2016-12-21 11:27:41 -02:00
kgoao
96a705dc7d
FEM: FemConstraintHeatflux: Add DFLUX option to heat flux constraint
2016-12-21 11:27:41 -02:00
wmayer
7f835a0c26
add quantity box to unit calculator and allow to set all pre-defined units
2016-08-11 19:03:16 +02:00
wmayer
e5d8871fea
rework units dialog
2016-08-11 17:32:58 +02:00
Mateusz Skowroński
7d0e892d36
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
3b463f2138
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
cd2db00f22
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
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
340d6da086
+ Various improvements on units calculator
2014-01-23 09:50:16 +01:00
jriegel
f58ea31b6a
Some fixes in the unit system
2013-12-03 19:57:29 +01:00
jriegel
2351d115b9
History and Save managment in InputField
2013-12-03 18:48:18 +01:00
jriegel
ae3c1704c9
Using return to write the logBook in UnitsCalculator
2013-11-30 17:58:23 +01:00
wmayer
098a846e93
+ Fix signal connections of buttons in units calculator
2013-11-10 20:09:36 +01:00
jriegel
326d42763f
Detect unit missmatch in UnitsCalculator
2013-11-10 14:02:34 +01:00
wmayer
b6a9d7973d
+ Fix memory leak in units calculator
2013-11-09 13:51:21 +01:00