Fix various typos and refinements

This commit is contained in:
luz paz
2022-01-06 12:44:15 -05:00
committed by Uwe
parent 31221291a8
commit fd3f2b0092
8 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
find_package(Qt5Core REQUIRED)
set(CMAKE_AUTOMOC TRUE)
# For FreeCAD 0.20, pegged to Ubutu 18.04 LTS:
# For FreeCAD 0.20, pegged to Ubuntu 18.04 LTS:
if(${Qt5Core_VERSION} VERSION_LESS "5.9")
message (FATAL_ERROR "FreeCAD v0.20 requires Qt5 5.9 or later")
endif()

View File

@@ -222,7 +222,7 @@ private:
};
/**
* The PropertyLinkT class is a helper class to create Python statements for proprty links.
* The PropertyLinkT class is a helper class to create Python statements for property links.
*/
class AppExport PropertyLinkT
{

View File

@@ -2326,7 +2326,7 @@ void Application::runApplication(void)
}
catch (...) {
// catching nasty stuff coming out of the event loop
Base::Console().Error("Event loop left through unknwown unhandled exception\n");
Base::Console().Error("Event loop left through unknown unhandled exception\n");
App::Application::destructObserver();
throw;
}

View File

@@ -383,7 +383,7 @@ void Model::selectionChanged(const SelectionChanges& msg)
}
};
//lamda for clearing selections.
//lambda for clearing selections.
auto clearSelection = [this, highlightConnectorOff]()
{
BGL_FORALL_VERTICES(currentVertex, *theGraph, Graph)
@@ -395,7 +395,7 @@ void Model::selectionChanged(const SelectionChanges& msg)
}
};
//lamda for getting rectangle.
//lambda for getting rectangle.
auto getRectangle = [this](const char *in)
{
assert(in);

View File

@@ -286,7 +286,7 @@ void ViewProviderDragger::updatePlacementFromDragger(ViewProviderDragger* sudoTh
return;
assert(numberOfFieldChanged == 1);
//helper lamdas.
//helper lambdas.
auto getVectorX = [&pMatrix]() {return Base::Vector3d(pMatrix[0], pMatrix[4], pMatrix[8]);};
auto getVectorY = [&pMatrix]() {return Base::Vector3d(pMatrix[1], pMatrix[5], pMatrix[9]);};
auto getVectorZ = [&pMatrix]() {return Base::Vector3d(pMatrix[2], pMatrix[6], pMatrix[10]);};

View File

@@ -112,7 +112,7 @@
((double,angle,Angle,45,"Pattern angle in degree",App::PropertyAngle))\
((double,angle_shift,AngleShift,0.0,"Pattern angle shift for each section", App::PropertyAngle))\
((double,shift,Shift,0.0,"Pattern shift distance for each section.\n"\
"The pocket patter will be shifted in orthogonal direction by this amount for each section.\n"\
"The pocket pattern will be shifted in orthogonal direction by this amount for each section.\n"\
"This gives a 3D pattern mainly for 3D printing. The shift only applies to 'Offset', 'Grid'\n"\
"and 'Triangle'", App::PropertyDistance))

View File

@@ -40,7 +40,7 @@
#include "Preferences.h"
//getters for parameters used in multiple places.
//ensure this is in sync with preference page uis
//ensure this is in sync with preference page user interfaces
using namespace TechDraw;

View File

@@ -41,7 +41,7 @@
#include "PreferencesGui.h"
//getters for parameters used in multiple places.
//ensure this is in sync with preference page uis
//ensure this is in sync with preference page user interfaces
using namespace TechDrawGui;
using namespace TechDraw;