wwmayer
8512585a41
Measure: Fix quick measure command
...
* Clear status bar when switching off quick measure
* Activate quick measure by default
* Remove command from toolbar as there is currently no icon
2025-08-27 16:01:54 +02:00
wmayer
8165d12607
Measure: Fix TaskMeasure
...
Made several fixes to TaskMeasure:
* Move to correct namespace
* Handle possible exception in update() method
* Add null pointer checks for buttonBox
* Cannot use 'Measure::MeasurePython' as template argument in addObject<>
because the macro PROPERTY_HEADER_WITH_OVERRIDE determines the invalid
string 'App::FeaturePythonT<FeatureT>' so that an exception is raised
Note: The changes might fix issue 20304
2025-08-25 09:21:33 +02:00
wmayer
5d3f9cac3f
Measure: Implement quick measure as command and make it toggable
...
The quick measure can considerably slow down the system when selecting
part elements. With this change the user is able to turn off this
bottleneck.
2025-08-25 09:21:33 +02:00
Jonathan Zirkle
ee6f757c57
Mod: Convert from dynamic to static casts ( #20452 )
2025-03-31 15:17:51 +02:00
Benjamin Nauck
dd6aa9f3c7
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Benjamin Nauck
7b22027b90
Add template based Document::countObjectsOfType
...
Also convert code to use this new method
2025-01-14 14:23:46 +01:00
hlorus
a54a9e2e1e
MeasureGui: Auto close task on document deletion
2024-09-18 13:03:56 -05:00
pre-commit-ci[bot]
0797cd2f00
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-08-25 11:42:43 +00:00
Syres916
a9d690d6d0
[Measure] Fix Lint Feedback
2024-07-17 18:18:13 +01:00
Syres916
23de5b7083
[Measure] Correctly restrict availability
2024-07-17 14:43:09 +01:00
hlorus
8ab537863a
[MeasureGui] Move measure cmd and task into measure module
...
...to avoid core depending on modules
2024-07-04 14:56:49 +02:00
Adrián Insaurralde Avalos
368b91e035
Measure: write init message to log instead
2024-05-02 08:09:39 +02:00
wmayer
56f84c8042
Fix various compiler warnings:
...
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
hlorus
36d16b2243
[Measure] Add features, viewproviders and preferences for unified measurement facility
2024-04-29 09:27:22 -04:00