Max Wilfinger
6692dacc0a
Gui: Update UI strings for consistency
...
Closes : #22135
2025-08-04 20:14:45 +02:00
Syres916
39dc1e6210
[Gui] C++ preparation for deprecation of QCheckBox…
...
…stateChanged -> checkStateChanged
2025-06-13 10:40:48 +02:00
Benjamin Nauck
92bf6e5f2a
Merge pull request #21147 from 3x380V/units
...
Units rework II
2025-06-04 15:58:00 +02:00
Ladislav Michl
a0917bcc7c
Base: Units: introduce unit one
...
Dimensionless quantities have all exponents equal to zero.
Such quantities are simply numbers. The associated unit is
the unit one, symbol 1, although this is rarely explicitly
written.
See chapter 2.3.3 Dimensions of quantities, The International
System of Units, 9th edition.
2025-06-03 09:31:38 +02:00
Ladislav Michl
0c9584ab2d
Base: Quantity: use isDimensionless whenever feasible
...
Quantity is often queried for Unit just to see if it has a dimension.
Ask Quantity directly using isDimensionless() method and modify that
method not to care about Quantity value validity; no user was ever
asking for value validity.
2025-06-03 09:31:38 +02:00
wmayer
87fca2c943
Gui: Use QDialogButtonBox in DlgExpressionInput
...
This way the order of buttons is more consistent than using
separate QPushButtons.
This fixes issue 19902
2025-05-30 18:04:33 +02:00
Kacper Donat
ef357aa07a
Gui: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02:00
Kacper Donat
77e40b9747
Base: Use explicit pointer syntax for freecad_cast ( #20694 )
...
* Base: Use explicit pointer syntax for freecad_cast
This aligns our custom cast with other casts
* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895
Base: Rename Base::freecad_dynamic_cast into freecad_cast
...
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
Benjamin Nauck
029a0555f2
Gui: Use constant for Type::BadType instead Type::badType()
2025-02-24 08:30:18 +01:00
Benjamin Nauck
be2c9c99af
Gui: Use isBad() instead of comparing types with ==
2025-02-24 08:30:18 +01:00
tritao
4c93a14fea
Gui: Reorganize the dialog files into a top Dialogs folder.
2025-01-24 16:28:02 -06:00