From 684245421e8539dd8fb72eb1142089e11464e49b Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 7 Feb 2020 21:11:56 +0100 Subject: [PATCH] Automated Release Preparation --- cppcheck_config.txt | 435 ++++++++++++++++++ cppcheck_errors.txt | 329 +++++++++++++ .../_intelli_datamanager_8cpp_source.html | 6 +- docs/html/_intelli_photo_gui_8cpp_source.html | 14 +- docs/html/_intelli_tool_8cpp_source.html | 6 +- .../_intelli_tool_polygon_8cpp_source.html | 2 +- .../_intelli_triangulation_8cpp_source.html | 2 +- docs/html/_painting_area_8cpp_source.html | 186 ++++---- docs/html/_painting_area_8h_source.html | 22 +- docs/html/class_painting_area-members.html | 4 +- docs/html/class_painting_area.html | 57 ++- docs/html/class_painting_area.js | 4 +- docs/html/functions_func.html | 4 +- docs/html/functions_p.html | 2 +- docs/html/functions_s.html | 2 +- docs/html/navtreeindex1.js | 4 +- docs/html/search/all_c.js | 2 +- docs/html/search/all_e.js | 2 +- docs/html/search/functions_9.js | 2 +- docs/html/search/functions_b.js | 2 +- src/IntelliHelper/IntelliTriangulation.cpp | 2 +- src/Layer/PaintingArea.cpp | 22 +- src/Tool/IntelliTool.cpp | 4 +- 23 files changed, 939 insertions(+), 176 deletions(-) create mode 100644 cppcheck_config.txt create mode 100644 cppcheck_errors.txt diff --git a/cppcheck_config.txt b/cppcheck_config.txt new file mode 100644 index 0000000..5722ced --- /dev/null +++ b/cppcheck_config.txt @@ -0,0 +1,435 @@ +src/GUI/IntelliInputDialog.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliInputDialog.h:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:11:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:12:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:13:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:14:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:15:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:16:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:17:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.h:19:0: information: Include file: "IntelliHelper/IntelliDatamanager.h" not found. [missingInclude] + +^ +src/GUI/IntelliPhotoGui.cpp:4:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/GUI/IntelliPhotoGui.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.cpp:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.cpp:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.cpp:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.cpp:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/GUI/IntelliPhotoGui.cpp:11:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.cpp:1:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude] + +^ +src/Image/IntelliImage.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliRasterImage.cpp:1:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] + +^ +src/Image/IntelliRasterImage.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliRasterImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliRasterImage.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliShapedImage.cpp:1:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] + +^ +src/Image/IntelliShapedImage.cpp:2:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] + +^ +src/Image/IntelliShapedImage.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliShapedImage.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliShapedImage.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliColorPicker.h:4:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/IntelliHelper/IntelliColorPicker.h:5:0: information: Include file: "QPoint" not found. [missingInclude] + +^ +src/IntelliHelper/IntelliColorPicker.h:6:0: information: Include file: "QColorDialog" not found. [missingInclude] + +^ +src/IntelliHelper/IntelliDatamanager.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliDatamanager.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliDatamanager.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/IntelliHelper/IntelliToolsettings.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliTriangulation.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliTriangulation.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliTriangulation.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliTriangulation.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/IntelliHelper/IntelliTriangulation.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.cpp:2:0: information: Include file: "string.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.cpp:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.cpp:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:10:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Layer/PaintingArea.h:11:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.h:12:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.h:13:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.h:14:0: information: Include file: "Tool/IntelliTool.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.h:15:0: information: Include file: "IntelliHelper/IntelliColorPicker.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:11:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:12:0: information: Include file: "Image/IntelliShapedImage.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:13:0: information: Include file: "Tool/IntelliToolPen.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:14:0: information: Include file: "Tool/IntelliToolPlain.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:15:0: information: Include file: "Tool/IntelliToolLine.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:16:0: information: Include file: "Tool/IntelliToolCircle.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:17:0: information: Include file: "Tool/IntelliToolRectangle.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:18:0: information: Include file: "Tool/IntelliToolFloodFill.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:19:0: information: Include file: "Tool/IntelliToolPolygon.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:20:0: information: Include file: "Tool/IntelliToolGradient.h" not found. [missingInclude] + +^ +src/Layer/PaintingArea.cpp:21:0: information: Include file: "GUI/IntelliPhotoGui.h" not found. [missingInclude] + +^ +src/Tool/IntelliTool.h:4:0: information: Include file: "IntelliHelper/IntelliColorPicker.h" not found. [missingInclude] + +^ +src/Tool/IntelliTool.h:5:0: information: Include file: "IntelliHelper/IntelliToolsettings.h" not found. [missingInclude] + +^ +src/Tool/IntelliTool.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliTool.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliTool.cpp:3:0: information: Include file: "GUI/IntelliPhotoGui.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolCircle.h:5:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/Tool/IntelliToolCircle.h:6:0: information: Include file: "QPoint" not found. [missingInclude] + +^ +src/Tool/IntelliToolCircle.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolCircle.cpp:3:0: information: Include file: "QInputDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolCircle.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolFloodFill.h:5:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/Tool/IntelliToolFloodFill.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolFloodFill.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolFloodFill.cpp:4:0: information: Include file: "QInputDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolFloodFill.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolFloodFill.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolGradient.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolGradient.cpp:3:0: information: Include file: "math.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolGradient.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolLine.h:5:0: information: Include file: "QPoint" not found. [missingInclude] + +^ +src/Tool/IntelliToolLine.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolLine.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolLine.cpp:4:0: information: Include file: "QInputDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.h:5:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.h:6:0: information: Include file: "QPoint" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.cpp:3:0: information: Include file: "QDebug" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.cpp:4:0: information: Include file: "QColorDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolPen.cpp:5:0: information: Include file: "QInputDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolPlain.h:5:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/Tool/IntelliToolPlain.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolPlain.cpp:3:0: information: Include file: "QColorDialog" not found. [missingInclude] + +^ +src/Tool/IntelliToolPolygon.h:5:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolPolygon.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolPolygon.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolPolygon.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolPolygon.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolPolygon.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolPolygon.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolPolygon.cpp:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Tool/IntelliToolRectangle.h:6:0: information: Include file: "QColor" not found. [missingInclude] + +^ +src/Tool/IntelliToolRectangle.h:7:0: information: Include file: "QPoint" not found. [missingInclude] + +^ +src/Tool/IntelliToolRectangle.cpp:2:0: information: Include file: "Layer/PaintingArea.h" not found. [missingInclude] + +^ +src/Tool/IntelliToolRectangle.cpp:3:0: information: Include file: "QInputDialog" not found. [missingInclude] + +^ +src/main.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/main.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/main.cpp:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/main.cpp:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/mainUnitTest.cpp:1:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/mainUnitTest.cpp:3:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/mainUnitTest.cpp:252:0: information: Include file: "tst_unittest.moc" not found. [missingInclude] + +^ +src/tst_unittest.cpp:1:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/tst_unittest.cpp:2:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:4:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:6:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:7:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:8:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:9:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/Image/IntelliImage.h:11:0: information: Include file: "IntelliHelper/IntelliTriangulation.h" not found. [missingInclude] + +^ +src/Image/IntelliImage.h:12:0: information: Include file: "IntelliHelper/IntelliRenderSettings.h" not found. [missingInclude] + +^ +src/Image/IntelliRasterImage.h:4:0: information: Include file: "Image/IntelliImage.h" not found. [missingInclude] + +^ +src/Image/IntelliShapedImage.h:4:0: information: Include file: "Image/IntelliRasterImage.h" not found. [missingInclude] + +^ +src/Image/IntelliShapedImage.h:5:0: information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem] + +^ +src/tst_unittest.cpp:1697:0: information: Include file: "tst_unittest.moc" not found. [missingInclude] + +^ diff --git a/cppcheck_errors.txt b/cppcheck_errors.txt new file mode 100644 index 0000000..7fa68e8 --- /dev/null +++ b/cppcheck_errors.txt @@ -0,0 +1,329 @@ +src/IntelliHelper/IntelliDatamanager.cpp:89:33: style: Local variable 'alpha' shadows outer variable [shadowVariable] + int red, green, blue, alpha; + ^ +src/IntelliHelper/IntelliDatamanager.cpp:66:53: note: Shadowed declaration + int width, height, widthOffset, heightOffset, alpha; + ^ +src/IntelliHelper/IntelliDatamanager.cpp:89:33: note: Shadow variable + int red, green, blue, alpha; + ^ +src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::image' is not initialized in the constructor. [uninitMemberVar] +LayerObject::LayerObject(){ + ^ +src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::width' is not initialized in the constructor. [uninitMemberVar] +LayerObject::LayerObject(){ + ^ +src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::height' is not initialized in the constructor. [uninitMemberVar] +LayerObject::LayerObject(){ + ^ +src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::widthOffset' is not initialized in the constructor. [uninitMemberVar] +LayerObject::LayerObject(){ + ^ +src/Layer/PaintingArea.cpp:23:14: warning: Member variable 'LayerObject::heightOffset' is not initialized in the constructor. [uninitMemberVar] +LayerObject::LayerObject(){ + ^ +src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::doubleStartPoint' is not initialized in the constructor. [uninitMemberVar] +IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings) + ^ +src/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::VectorStartEnd' is not initialized in the constructor. [uninitMemberVar] +IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings) + ^ +src/tst_unittest.cpp:1370:0: style: The function 'bench_Circle_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1388:0: style: The function 'bench_Circle_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1409:0: style: The function 'bench_FloodFill_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1427:0: style: The function 'bench_FloodFill_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1448:0: style: The function 'bench_Line_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1466:0: style: The function 'bench_Line_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1487:0: style: The function 'bench_Pen_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1505:0: style: The function 'bench_Pen_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1525:0: style: The function 'bench_Plain_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1543:0: style: The function 'bench_Plain_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1563:0: style: The function 'bench_Polygon_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1602:0: style: The function 'bench_Polygon_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1222:0: style: The function 'bench_RasterImage_drawLine' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1210:0: style: The function 'bench_RasterImage_drawPixel' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1235:0: style: The function 'bench_RasterImage_drawPoint' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1247:0: style: The function 'bench_RasterImage_getDisplayable' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1269:0: style: The function 'bench_RasterImage_getImageData' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1257:0: style: The function 'bench_RasterImage_getPixelColor' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1279:0: style: The function 'bench_RasterImage_setImageData' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1626:0: style: The function 'bench_Rectangle_fullDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1645:0: style: The function 'bench_Rectangle_interruptedDraw' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1302:0: style: The function 'bench_ShapedImage_drawLine' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1290:0: style: The function 'bench_ShapedImage_drawPixel' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1315:0: style: The function 'bench_ShapedImage_drawPoint' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1327:0: style: The function 'bench_ShapedImage_getDisplayable' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1349:0: style: The function 'bench_ShapedImage_getImageData' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1337:0: style: The function 'bench_ShapedImage_getPixelColor' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1359:0: style: The function 'bench_ShapedImage_setImageData' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1666:0: style: The function 'bench_Triangulation_Coverage' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1079:0: style: The function 'bench_addLayer' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1180:0: style: The function 'bench_createTools' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1086:0: style: The function 'bench_deleteLayer' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1115:0: style: The function 'bench_floodFill' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1125:0: style: The function 'bench_moveActive' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1093:0: style: The function 'bench_setActive' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1105:0: style: The function 'bench_setAlpha' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1168:0: style: The function 'bench_setLayerDown' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1155:0: style: The function 'bench_setLayerUp' is never used. [unusedFunction] + +^ +src/tst_unittest.cpp:1138:0: style: The function 'bench_setPolygon' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:118:0: style: The function 'cleanupTestCase' is never used. [unusedFunction] + +^ +src/GUI/IntelliPhotoGui.cpp:30:0: style: The function 'closeEvent' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:113:0: style: The function 'initTestCase' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:328:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:309:0: style: The function 'mousePressEvent' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:341:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:371:0: style: The function 'paintEvent' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:222:0: style: The function 'slotActivateLayer' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:128:0: style: The function 'slotDeleteActiveLayer' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:211:0: style: The function 'test_Circle_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:213:0: style: The function 'test_Circle_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:216:0: style: The function 'test_FloodFill_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:218:0: style: The function 'test_FloodFill_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:221:0: style: The function 'test_Line_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:223:0: style: The function 'test_Line_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:226:0: style: The function 'test_Pen_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:228:0: style: The function 'test_Pen_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:231:0: style: The function 'test_Plain_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:233:0: style: The function 'test_Plain_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:236:0: style: The function 'test_Polygon_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:238:0: style: The function 'test_Polygon_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:157:0: style: The function 'test_RasterImage_drawLine' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:155:0: style: The function 'test_RasterImage_drawPixel' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:159:0: style: The function 'test_RasterImage_drawPoint' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:161:0: style: The function 'test_RasterImage_getDisplayable' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:169:0: style: The function 'test_RasterImage_getImageData' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:167:0: style: The function 'test_RasterImage_getPixelColor' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:165:0: style: The function 'test_RasterImage_loadImage' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:171:0: style: The function 'test_RasterImage_setImageData' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:163:0: style: The function 'test_RasterImage_setPolygon' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:241:0: style: The function 'test_Rectangle_fullDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:243:0: style: The function 'test_Rectangle_interruptedDraw' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:177:0: style: The function 'test_ShapedImage_drawLine' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:175:0: style: The function 'test_ShapedImage_drawPixel' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:179:0: style: The function 'test_ShapedImage_drawPoint' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:181:0: style: The function 'test_ShapedImage_getDisplayable' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:189:0: style: The function 'test_ShapedImage_getImageData' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:187:0: style: The function 'test_ShapedImage_getPixelColor' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:185:0: style: The function 'test_ShapedImage_loadImage' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:191:0: style: The function 'test_ShapedImage_setImageData' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:183:0: style: The function 'test_ShapedImage_setPolygon' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:247:0: style: The function 'test_Triangulation_Coverage' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:132:0: style: The function 'test_addLayer' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:195:0: style: The function 'test_createTool_Circle' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:197:0: style: The function 'test_createTool_FloodFill' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:199:0: style: The function 'test_createTool_Line' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:201:0: style: The function 'test_createTool_Pen' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:203:0: style: The function 'test_createTool_Plain' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:205:0: style: The function 'test_createTool_Polygon' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:207:0: style: The function 'test_createTool_Rectangle' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:151:0: style: The function 'test_createTools' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:134:0: style: The function 'test_deleteLayer' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:140:0: style: The function 'test_floodFill' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:142:0: style: The function 'test_moveActive' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:136:0: style: The function 'test_setActive' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:138:0: style: The function 'test_setAlpha' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:148:0: style: The function 'test_setLayerDown' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:146:0: style: The function 'test_setLayerUp' is never used. [unusedFunction] + +^ +src/mainUnitTest.cpp:144:0: style: The function 'test_setPolygon' is never used. [unusedFunction] + +^ +src/Layer/PaintingArea.cpp:356:0: style: The function 'wheelEvent' is never used. [unusedFunction] + +^ +nofile:0:0: information: Cppcheck cannot find all the include files (use --check-config for details) [missingInclude] + diff --git a/docs/html/_intelli_datamanager_8cpp_source.html b/docs/html/_intelli_datamanager_8cpp_source.html index 935572b..91f4c70 100644 --- a/docs/html/_intelli_datamanager_8cpp_source.html +++ b/docs/html/_intelli_datamanager_8cpp_source.html @@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
61  in >> widthCanvas >> heightCanvas;
62  in >> numberOffLayers;
63 
-
64  Canvas->setCanvasDimensions(widthCanvas, heightCanvas);
+
64  Canvas->setCanvasDimensions(widthCanvas, heightCanvas);
65  for(int i = 0; i<numberOffLayers; i++) {
66  int width, height, widthOffset, heightOffset, alpha;
67  in >> width >> height >> widthOffset >> heightOffset >> alpha;
@@ -196,11 +196,11 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
-
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
void deleteAllLayers()
deleteAllLayers deletes all layers
-
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
+
void setCanvasDimensions(int newMaxWidth, int newMaxHeight)
setCanvasDimensions sets the dimension of the Canvas
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
diff --git a/docs/html/_intelli_photo_gui_8cpp_source.html b/docs/html/_intelli_photo_gui_8cpp_source.html index 79a41e6..f3cf394 100644 --- a/docs/html/_intelli_photo_gui_8cpp_source.html +++ b/docs/html/_intelli_photo_gui_8cpp_source.html @@ -233,7 +233,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
145 
146  // Change dimension
147  if (ok1&&ok2) {
-
148  paintingArea->setCanvasDimensions(width,height);
+
148  paintingArea->setCanvasDimensions(width,height);
149  UpdateGui();
150  }
151 }
@@ -1057,7 +1057,7 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
QColor getFirstColor() const
A function to read the primary selected color.
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
@@ -1071,8 +1071,8 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
void createPenTool()
createPenTool creates a Pen Tool.
QColor getSecondColor() const
A function to read the secondary selected color.
-
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
-
void historyGoBack()
historyGoBack go back in hisotry
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
void historyGoBack()
historyGoBack go back in hisotry
void createLineTool()
createLineTool creates a Line Tool.
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
@@ -1087,9 +1087,9 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
-
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
+
void setCanvasDimensions(int newMaxWidth, int newMaxHeight)
setCanvasDimensions sets the dimension of the Canvas
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
void UpdateGui()
UpdateGui a function to update all gui elements.
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
@@ -1099,8 +1099,8 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
-
void historyadd()
historyadd adds an hisotry step
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
void historyadd()
historyadd adds an hisotry step
void createGradientTool()
createGradientTool creates a Gradient Tool.
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
@@ -630,7 +632,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
virtual void onMouseLeftReleased(int x, int y)
A function managing the left click Released of a Mouse. Call this in child classes!
Definition: IntelliTool.cpp:37
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:22
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
void mouseReleaseEvent(QMouseEvent *event) override
mouseReleaseEvent handles a mouse released event
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
@@ -638,6 +640,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+
PaintingArea(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
bool isFastRenderering() const
The getfastRenderer gets the value of the flag for the fastRenderer setting.
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Tooltype getTooltype() const
getTooltype returns the tools type
@@ -647,6 +650,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
int getMaxHeight()
getMaxHeight gets the max height of the Canvas.
+
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
void setSecondColor(QColor Color)
A function to set the secondary color.
@@ -665,9 +669,9 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
QColor getSecondColor() const
A function to read the secondary selected color.
-
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
-
void historyGoBack()
historyGoBack go back in hisotry
+
void historyGoBack()
historyGoBack go back in hisotry
The IntelliToolRectangle class represents a tool to draw a rectangle.
void createLineTool()
createLineTool creates a Line Tool.
@@ -677,7 +681,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
-
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
@@ -693,14 +697,13 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
void createPolygonTool()
createPolygonTool creates a Polygon Tool.
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
-
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
void deleteAllLayers()
deleteAllLayers deletes all layers
-
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
void setCanvasDimensions(int newMaxWidth, int newMaxHeight)
setCanvasDimensions sets the dimension of the Canvas
void paintEvent(QPaintEvent *event) override
paintEvent handles a painting event
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
void UpdateGui()
UpdateGui a function to update all gui elements.
@@ -717,13 +720,14 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
The IntelliToolCircle class represents a tool to draw a circle.
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:48
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
The IntelliToolPolygon managed the Drawing of Polygonforms.
-
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
-
void historyadd()
historyadd adds an hisotry step
+
void historyadd()
historyadd adds an hisotry step
virtual void onWheelScrolled(int value)
A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...
Definition: IntelliTool.cpp:53
The IntelliRasterImage manages a RASTERIMAGE.
diff --git a/docs/html/_painting_area_8h_source.html b/docs/html/_painting_area_8h_source.html index 7a5e167..cdd24b2 100644 --- a/docs/html/_painting_area_8h_source.html +++ b/docs/html/_painting_area_8h_source.html @@ -128,7 +128,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
64 friend IntelliTool;
65 friend IntelliPhotoGui;
66 public:
-
73 PaintingArea(int maxWidth = 600, int maxHeight = 600, QWidget*parent = nullptr);
+
73 PaintingArea(int newMaxWidth = 600, int newMaxHeight = 600, QWidget*parent = nullptr);
74 
78 ~PaintingArea() override;
79 
@@ -198,7 +198,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
297 
301 void historyGoForward();
302 
-
308 void setCanvasDimensions(int maxWidth, int maxHeight);
+
308 void setCanvasDimensions(int newMaxWidth, int newMaxHeight);
309 
315 void drawPixelOntoActive(QColor color, QPoint point);
316 
@@ -270,13 +270,14 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:22
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::RASTERIMAGE)
The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
-
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
+
IntelliImage * getImageOfActiveLayer()
getImageOfActiveLayer returns the image of the active Layer.
void mouseReleaseEvent(QMouseEvent *event) override
mouseReleaseEvent handles a mouse released event
void createRectangleTool()
createRectangleTool creates a Rectangle Tool.
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+
PaintingArea(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
std::vector< QPoint > getPolygonDataOfActiveLayer()
getPolygonDataOfActiveLayer get the polygon data of the active Layer.
@@ -297,13 +298,13 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
void drawPixelOntoActive(QColor color, QPoint point)
drawPixelOntoActive draws a pixel onto the image data of the active Layer.
-
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
-
void historyGoBack()
historyGoBack go back in hisotry
+
int getIndexOfActiveLayer()
getIndexOfActiveLayer returns the index of athe active Layer.
+
void historyGoBack()
historyGoBack go back in hisotry
void createLineTool()
createLineTool creates a Line Tool.
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
-
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
void mouseMoveEvent(QMouseEvent *event) override
mouseMoveEvent handles a mouse moved event
@@ -314,14 +315,13 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
void createPolygonTool()
createPolygonTool creates a Polygon Tool.
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
IntelliColorPicker colorPicker
colorPicker a class to manage Tool color.
Definition: PaintingArea.h:286
-
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
void deleteAllLayers()
deleteAllLayers deletes all layers
-
void setCanvasDimensions(int maxWidth, int maxHeight)
setCanvasDimensions sets the dimension of the Canvas
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
The IntelliColorPicker manages the selected colors for one whole project.
+
void setCanvasDimensions(int newMaxWidth, int newMaxHeight)
setCanvasDimensions sets the dimension of the Canvas
void paintEvent(QPaintEvent *event) override
paintEvent handles a painting event
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
@@ -332,8 +332,8 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, int alpha=255, ImageType type=ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
-
void historyadd()
historyadd adds an hisotry step
+
void historyGoForward()
historyGoForward a function to undo the return of the previous state of the project.
+
void historyadd()
historyadd adds an hisotry step
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
void createGradientTool()
createGradientTool creates a Gradient Tool.
diff --git a/docs/html/class_painting_area-members.html b/docs/html/class_painting_area-members.html index 1f744e9..8bede9d 100644 --- a/docs/html/class_painting_area-members.html +++ b/docs/html/class_painting_area-members.html @@ -127,9 +127,9 @@ $(document).ready(function(){initNavTree('class_painting_area.html',''); initRes movePositionActive(int x, int y)PaintingArea open(const QString &filePath)PaintingArea paintEvent(QPaintEvent *event) overridePaintingAreaprotected - PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)PaintingArea + PaintingArea(int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)PaintingArea save(const QString &filePath, const char *fileFormat)PaintingArea - setCanvasDimensions(int maxWidth, int maxHeight)PaintingArea + setCanvasDimensions(int newMaxWidth, int newMaxHeight)PaintingArea setLayerActive(int idx)PaintingArea setLayerAlpha(int idx, int alpha)PaintingArea setPolygon(int idx)PaintingArea diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index 9841cb7..022c5ca 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -115,9 +115,9 @@ Public Slots - - - + + + @@ -232,9 +232,9 @@ Public Member Functions - - - + + + @@ -274,8 +274,8 @@ Protected Member Functions

Definition at line 57 of file PaintingArea.h.

Constructor & Destructor Documentation

- -

◆ PaintingArea()

+ +

◆ PaintingArea()

@@ -284,13 +284,13 @@ Protected Member Functions
- + - + @@ -309,8 +309,8 @@ Protected Member Functions

PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.

Parameters

Public Member Functions

 PaintingArea (int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
 PaintingArea is the constructor of the PaintingArea class, which initiates the working environment. More...
 
 PaintingArea (int newMaxWidth=600, int newMaxHeight=600, QWidget *parent=nullptr)
 PaintingArea is the constructor of the PaintingArea class, which initiates the working environment. More...
 
 ~PaintingArea () override
 This deconstructor is used to clear up the memory and remove the currently active window. More...
 
void historyGoForward ()
 historyGoForward a function to undo the return of the previous state of the project. More...
 
void setCanvasDimensions (int maxWidth, int maxHeight)
 setCanvasDimensions sets the dimension of the Canvas More...
 
void setCanvasDimensions (int newMaxWidth, int newMaxHeight)
 setCanvasDimensions sets the dimension of the Canvas More...
 
void drawPixelOntoActive (QColor color, QPoint point)
 drawPixelOntoActive draws a pixel onto the image data of the active Layer. More...
 
PaintingArea::PaintingArea ( int maxWidth = 600, newMaxWidth = 600,
int maxHeight = 600, newMaxHeight = 600,
- - + +
maxWidth- The maximum amount of pixles that are inside painting area from left to right (default=600px)
maxHeight- The maximum amount of pixles that are inside painting area from top to bottom (default=600px)
newMaxWidth- The maximum amount of pixles that are inside painting area from left to right (default=600px)
newMaxHeight- The maximum amount of pixles that are inside painting area from top to bottom (default=600px)
parent- The parent window of the main window (default=nullptr)
@@ -854,7 +854,7 @@ Protected Member Functions

getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture)

Returns
return the image as an rgba32bit qImage
-

Definition at line 476 of file PaintingArea.cpp.

+

Definition at line 478 of file PaintingArea.cpp.

@@ -876,7 +876,7 @@ Protected Member Functions

getImageOfActiveLayer returns the image of the active Layer.

Returns
return the image of the active Layer.
-

Definition at line 469 of file PaintingArea.cpp.

+

Definition at line 471 of file PaintingArea.cpp.

@@ -898,7 +898,7 @@ Protected Member Functions

getIndexOfActiveLayer returns the index of athe active Layer.

Returns
return the index of the active Layer.
-

Definition at line 465 of file PaintingArea.cpp.

+

Definition at line 467 of file PaintingArea.cpp.

@@ -920,7 +920,7 @@ Protected Member Functions

getLayerBundle returns the real active layerbundle (care!)

Returns
the reference of the currentLayerBundle
-

Definition at line 491 of file PaintingArea.cpp.

+

Definition at line 493 of file PaintingArea.cpp.

@@ -1006,12 +1006,7 @@ Protected Member Functions

getRenderSettings updates all Images to the new Rendersetting.

-
Parameters
- - -
isFastRenderingOnis the new given flag for the FastRenderer.
-
-
+
Returns
Returns if the flag for the FastRendererin is enabled.

Definition at line 68 of file PaintingArea.cpp.

@@ -1078,7 +1073,7 @@ Protected Member Functions

historyadd adds an hisotry step

-

Definition at line 510 of file PaintingArea.cpp.

+

Definition at line 512 of file PaintingArea.cpp.

@@ -1099,7 +1094,7 @@ Protected Member Functions

historyGoBack go back in hisotry

-

Definition at line 517 of file PaintingArea.cpp.

+

Definition at line 519 of file PaintingArea.cpp.

@@ -1120,7 +1115,7 @@ Protected Member Functions

historyGoForward a function to undo the return of the previous state of the project.

-

Definition at line 526 of file PaintingArea.cpp.

+

Definition at line 528 of file PaintingArea.cpp.

@@ -1404,8 +1399,8 @@ Protected Member Functions - -

◆ setCanvasDimensions()

+ +

◆ setCanvasDimensions()

@@ -1414,13 +1409,13 @@ Protected Member Functions void PaintingArea::setCanvasDimensions ( int  - maxWidth, + newMaxWidth, int  - maxHeight  + newMaxHeight  @@ -1433,8 +1428,8 @@ Protected Member Functions

setCanvasDimensions sets the dimension of the Canvas

Parameters
- - + +
maxWidth- the width of the Canvas.
maxHeight- the height of the Canvas.
newMaxWidth- the width of the Canvas.
newMaxHeight- the height of the Canvas.
diff --git a/docs/html/class_painting_area.js b/docs/html/class_painting_area.js index f53644f..f428788 100644 --- a/docs/html/class_painting_area.js +++ b/docs/html/class_painting_area.js @@ -1,6 +1,6 @@ var class_painting_area = [ - [ "PaintingArea", "class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460", null ], + [ "PaintingArea", "class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8", null ], [ "~PaintingArea", "class_painting_area.html#aa32adc113f77031945f73e33051931e8", null ], [ "addLayer", "class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd", null ], [ "addLayerAt", "class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029", null ], @@ -40,7 +40,7 @@ var class_painting_area = [ "open", "class_painting_area.html#a88c7e759aa8375a56129791645f46ea5", null ], [ "paintEvent", "class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7", null ], [ "save", "class_painting_area.html#aa2463d4f403224086acab02903ae407e", null ], - [ "setCanvasDimensions", "class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c", null ], + [ "setCanvasDimensions", "class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e", null ], [ "setLayerActive", "class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9", null ], [ "setLayerAlpha", "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055", null ], [ "setPolygon", "class_painting_area.html#aa409492ac26483d618bb33616f2e3f81", null ], diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 2352bd9..827851e 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -435,7 +435,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : PaintingArea
  • PaintingArea() -: PaintingArea +: PaintingArea
  • @@ -452,7 +452,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : PaintingArea
  • setCanvasDimensions() -: PaintingArea +: PaintingArea
  • setFastRendering() : IntelliRenderSettings diff --git a/docs/html/functions_p.html b/docs/html/functions_p.html index cf51c30..8f331f9 100644 --- a/docs/html/functions_p.html +++ b/docs/html/functions_p.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_p.html',''); initResizable() : PaintingArea
  • PaintingArea() -: PaintingArea +: PaintingArea
  • polygonData : IntelliShapedImage diff --git a/docs/html/functions_s.html b/docs/html/functions_s.html index 64bf321..9b91147 100644 --- a/docs/html/functions_s.html +++ b/docs/html/functions_s.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : PaintingArea
  • setCanvasDimensions() -: PaintingArea +: PaintingArea
  • setFastRendering() : IntelliRenderSettings diff --git a/docs/html/navtreeindex1.js b/docs/html/navtreeindex1.js index ed021b7..a290806 100644 --- a/docs/html/navtreeindex1.js +++ b/docs/html/navtreeindex1.js @@ -25,16 +25,16 @@ var NAVTREEINDEX1 = "class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466":[1,0,18,7], "class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7":[1,0,18,21], "class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,18,34], -"class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c":[1,0,18,40], "class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,18,12], +"class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8":[1,0,18,0], "class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,18,4], "class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,18,38], "class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423":[1,0,18,19], -"class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460":[1,0,18,0], "class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd":[1,0,18,14], "class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4":[1,0,18,48], "class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd":[1,0,18,45], "class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395":[1,0,18,27], +"class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e":[1,0,18,40], "class_painting_area.html#a675ee91b26b1c58be6d833f279d81597":[1,0,18,28], "class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4":[1,0,18,30], "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055":[1,0,18,42], diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 066aa34..6506dd5 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,7 +1,7 @@ var searchData= [ ['paintevent_153',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_154',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_154',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8',1,'PaintingArea::PaintingArea()']]], ['paintingarea_2ecpp_155',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], ['paintingarea_2eh_156',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], ['pen_157',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index ac992ee..ffad342 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -2,7 +2,7 @@ var searchData= [ ['save_165',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], ['saveproject_166',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setcanvasdimensions_167',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setcanvasdimensions_167',['setCanvasDimensions',['../class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e',1,'PaintingArea']]], ['setfastrendering_168',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], ['setfirstcolor_169',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], ['setimagedata_170',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index d4dc6fa..ce8c460 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,5 @@ var searchData= [ ['paintevent_370',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_371',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] + ['paintingarea_371',['PaintingArea',['../class_painting_area.html#a3f6d5f8e544ecc73e84828ac15ab28d8',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index ce879f7..498518b 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -2,7 +2,7 @@ var searchData= [ ['save_373',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], ['saveproject_374',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setcanvasdimensions_375',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setcanvasdimensions_375',['setCanvasDimensions',['../class_painting_area.html#a641a654451d5883fc43e7f7563e64f7e',1,'PaintingArea']]], ['setfastrendering_376',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], ['setfirstcolor_377',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], ['setimagedata_378',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], diff --git a/src/IntelliHelper/IntelliTriangulation.cpp b/src/IntelliHelper/IntelliTriangulation.cpp index b22b805..db67161 100644 --- a/src/IntelliHelper/IntelliTriangulation.cpp +++ b/src/IntelliHelper/IntelliTriangulation.cpp @@ -88,7 +88,7 @@ std::vector IntelliTriangulation::calculateTriangles(std::vector(getPrev(post, Vertices.size())); + post = static_cast(getPrev(post, Vertices.size())); prev = prevTool = nullptr; - this->setCanvasDimensions(newMaxWidth, newMaxHeight); + this->setCanvasDimensions(newMaxWidth, newMaxHeight); activeLayer = -1; } @@ -71,8 +71,8 @@ bool PaintingArea::getRenderSettings(){ void PaintingArea::setCanvasDimensions(int newMaxWidth, int newMaxHeight){ //set standart parameter - this->maxWidth = newMaxWidth; - this->maxHeight = newMaxHeight; + this->maxWidth = newMaxWidth; + this->maxHeight = newMaxHeight; Canvas = new QImage(maxWidth,maxHeight, QImage::Format_ARGB32); this->offsetXDimension = maxWidth / 2; @@ -453,14 +453,14 @@ IntelliTool* PaintingArea::copyActiveTool(){ switch(Tool->getTooltype()) { case IntelliTool::Tooltype::CIRCLE: return new IntelliToolCircle(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::FLOODFILL: return new IntelliToolFloodFill(this,&colorPicker, &Toolsettings); - case IntelliTool::Tooltype::GRADIENT: return new IntelliToolGradient(this,&colorPicker, &Toolsettings); + case IntelliTool::Tooltype::GRADIENT: return new IntelliToolGradient(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::LINE: return new IntelliToolLine(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::PEN: return new IntelliToolPen(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::PLAIN: return new IntelliToolPlainTool(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::POLYGON: return new IntelliToolPolygon(this,&colorPicker, &Toolsettings); case IntelliTool::Tooltype::RECTANGLE: return new IntelliToolRectangle(this,&colorPicker, &Toolsettings); - case IntelliTool::Tooltype::NONE: return nullptr; - default: return nullptr; + case IntelliTool::Tooltype::NONE: return nullptr; + default: return nullptr; } } @@ -526,10 +526,10 @@ void PaintingArea::historyGoBack(){ } void PaintingArea::historyGoForward(){ - historyPresent++; - if(historyPresent>=static_cast(history.size())){ - historyPresent=static_cast(history.size()-1); - } - layerBundle = history[static_cast(historyPresent)]; + historyPresent++; + if(historyPresent>=static_cast(history.size())) { + historyPresent = static_cast(history.size() - 1); + } + layerBundle = history[static_cast(historyPresent)]; this->guiReference->UpdateGui(); } diff --git a/src/Tool/IntelliTool.cpp b/src/Tool/IntelliTool.cpp index 02c0d5f..3a529f6 100644 --- a/src/Tool/IntelliTool.cpp +++ b/src/Tool/IntelliTool.cpp @@ -57,8 +57,8 @@ void IntelliTool::onWheelScrolled(int value){ bool IntelliTool::createToolLayer(){ if(Area->createTempTopLayer(Area->activeLayer)) { - this->activeLayer = &Area->layerBundle[static_cast(Area->activeLayer)]; - this->Canvas = &Area->layerBundle[static_cast(Area->activeLayer + 1)]; + this->activeLayer = &Area->layerBundle[static_cast(Area->activeLayer)]; + this->Canvas = &Area->layerBundle[static_cast(Area->activeLayer + 1)]; return true; } return false;