Fix various typos and refinements
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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]);};
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user