Commit Graph

22 Commits

Author SHA1 Message Date
Kavin Teenakul
4aa80c1890 [Std_Measure] Add diameter measurement (#24853)
* Add diameter measurement support

* change author name and change icon

* correct svg size to 64x64

* Update src/Mod/Measure/App/MeasureDiameter.cpp

Co-authored-by: Kacper Donat <kadet1090@gmail.com>

* somehow to icon color is undefine in inkscape, change to black

* Revert "somehow to icon color is undefine in inkscape, change to black"

This reverts commit 2277c1b9f4a7ab7519856986e2d6aec6e37ebf3e.

	modified:   src/Mod/Measure/Gui/Resources/icons/Measurement-Diameter.svg

* fix black color icon

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2026-01-07 09:16:24 +01:00
Chris Hennes
7304a7350f Measure: Translate measurement types 2025-11-24 16:51:35 +00:00
pre-commit-ci[bot]
9fe130cd73 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
PhoneDroid
7d5d6d5514 [ Measure ]: Update SPDX License Identifiers 2025-11-02 15:22:11 -06:00
Markus Reitböck
ab8fafdf96 Measure: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:35 +02:00
Ryan Kembrey
20844bec71 Measure: Update UI strings for consistency
Closes: #22370
2025-08-04 20:13:26 +02:00
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02: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
hlorus
4a573ee4cb Measure: Migrate old App::MeasureDistance to new type 2024-06-11 17:57:01 +02:00
hlorus
2cfa09041b [Measure] Add MeasureDistanceDetached 2024-06-11 17:57:01 +02:00
hlorus
bed703a6f9 [Measure] Add features, viewproviders and preferences for unified measurement facility 2024-04-29 09:27:22 -04:00
wmayer
da00501288 Mod: modernize C++: use equals default 2023-08-22 11:16:49 +02:00
luz paz
452008f65d Fix header uniformity for various workbenches/directories
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
635534cb15 Measure: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
887fa15b01 [Measure] remove unused includes 2022-03-20 17:56:00 +01:00
Uwe
a012dc23a4 [Measure] remove Python.h from headers
is not necessary anymore
2022-03-20 17:41:04 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
d6dec867f3 fix insecure implementation of debugprint 2017-02-21 14:01:26 +01:00
Yorik van Havre
5590acdfa5 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
wmayer
c3087e75fd fix -Wextra in Measure 2016-09-22 16:46:18 +02:00
WandererFan
74f536c820 Add /Mod/Measure for TechDraw 2016-07-11 15:32:16 +02:00