wwmayer
ae2748f2e4
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
d1a84ab538
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
8e247bb469
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
4ca7d1a297
Mod: Convert from dynamic to static casts ( #20452 )
2025-03-31 15:17:51 +02:00
Benjamin Nauck
6f535f19fb
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
08fe94ef25
Add template based Document::countObjectsOfType
...
Also convert code to use this new method
2025-01-14 14:23:46 +01:00
hlorus
8fb03c0583
MeasureGui: Auto close task on document deletion
2024-09-18 13:03:56 -05:00
pre-commit-ci[bot]
7c6b8cc9ab
[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
76b8be7082
[Measure] Fix Lint Feedback
2024-07-17 18:18:13 +01:00
Syres916
63f246ea70
[Measure] Correctly restrict availability
2024-07-17 14:43:09 +01:00
hlorus
ab1d86235d
[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
c4b5115f9e
Measure: write init message to log instead
2024-05-02 08:09:39 +02:00
wmayer
2ea6bc17b6
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
bed703a6f9
[Measure] Add features, viewproviders and preferences for unified measurement facility
2024-04-29 09:27:22 -04:00