From 8577e6b132bf0559c58422b72ab687eded2a9038 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 30 Jan 2020 20:42:31 +0100 Subject: [PATCH] Automated Release Preparation --- cppcheck_config.txt | 6 + cppcheck_errors.txt | 20 +- docs/html/_intelli_color_picker_8cpp.html | 2 +- .../_intelli_color_picker_8cpp_source.html | 2 +- docs/html/_intelli_color_picker_8h.html | 2 +- .../html/_intelli_color_picker_8h_source.html | 2 +- docs/html/_intelli_datamanager_8cpp.html | 2 +- .../_intelli_datamanager_8cpp_source.html | 36 +- docs/html/_intelli_datamanager_8h.html | 4 +- docs/html/_intelli_datamanager_8h_source.html | 19 +- docs/html/_intelli_image_8cpp.html | 2 +- docs/html/_intelli_image_8cpp_source.html | 8 +- docs/html/_intelli_image_8h.html | 2 +- docs/html/_intelli_image_8h_source.html | 24 +- docs/html/_intelli_input_dialog_8cpp.html | 2 +- .../_intelli_input_dialog_8cpp_source.html | 12 +- docs/html/_intelli_input_dialog_8h.html | 3 +- .../html/_intelli_input_dialog_8h_source.html | 85 +- docs/html/_intelli_photo_gui_8cpp.html | 4 +- docs/html/_intelli_photo_gui_8cpp_source.html | 1887 +++++++++-------- docs/html/_intelli_photo_gui_8h.html | 2 +- docs/html/_intelli_photo_gui_8h_source.html | 426 ++-- docs/html/_intelli_raster_image_8cpp.html | 2 +- .../_intelli_raster_image_8cpp_source.html | 6 +- docs/html/_intelli_raster_image_8h.html | 2 +- .../html/_intelli_raster_image_8h_source.html | 2 +- docs/html/_intelli_render_settings_8cpp.html | 2 +- .../_intelli_render_settings_8cpp_source.html | 2 +- docs/html/_intelli_render_settings_8h.html | 3 +- .../_intelli_render_settings_8h_source.html | 33 +- docs/html/_intelli_shaped_image_8cpp.html | 2 +- .../_intelli_shaped_image_8cpp_source.html | 6 +- docs/html/_intelli_shaped_image_8h.html | 2 +- .../html/_intelli_shaped_image_8h_source.html | 2 +- docs/html/_intelli_tool_8cpp.html | 2 +- docs/html/_intelli_tool_8cpp_source.html | 35 +- docs/html/_intelli_tool_8h.html | 2 +- docs/html/_intelli_tool_8h_source.html | 126 +- docs/html/_intelli_tool_circle_8cpp.html | 2 +- .../_intelli_tool_circle_8cpp_source.html | 20 +- docs/html/_intelli_tool_circle_8h.html | 2 +- docs/html/_intelli_tool_circle_8h_source.html | 10 +- docs/html/_intelli_tool_flood_fill_8cpp.html | 2 +- .../_intelli_tool_flood_fill_8cpp_source.html | 12 +- docs/html/_intelli_tool_flood_fill_8h.html | 2 +- .../_intelli_tool_flood_fill_8h_source.html | 10 +- docs/html/_intelli_tool_gradient_8cpp.html | 107 + .../_intelli_tool_gradient_8cpp_source.html | 268 +++ docs/html/_intelli_tool_gradient_8h.html | 113 + .../_intelli_tool_gradient_8h_source.html | 167 ++ docs/html/_intelli_tool_line_8cpp.html | 2 +- docs/html/_intelli_tool_line_8cpp_source.html | 18 +- docs/html/_intelli_tool_line_8h.html | 2 +- docs/html/_intelli_tool_line_8h_source.html | 10 +- docs/html/_intelli_tool_pen_8cpp.html | 2 +- docs/html/_intelli_tool_pen_8cpp_source.html | 18 +- docs/html/_intelli_tool_pen_8h.html | 2 +- docs/html/_intelli_tool_pen_8h_source.html | 10 +- docs/html/_intelli_tool_plain_8cpp.html | 2 +- .../html/_intelli_tool_plain_8cpp_source.html | 10 +- docs/html/_intelli_tool_plain_8h.html | 2 +- docs/html/_intelli_tool_plain_8h_source.html | 10 +- docs/html/_intelli_tool_polygon_8cpp.html | 2 +- .../_intelli_tool_polygon_8cpp_source.html | 38 +- docs/html/_intelli_tool_polygon_8h.html | 2 +- .../html/_intelli_tool_polygon_8h_source.html | 10 +- docs/html/_intelli_tool_rectangle_8cpp.html | 2 +- .../_intelli_tool_rectangle_8cpp_source.html | 20 +- docs/html/_intelli_tool_rectangle_8h.html | 2 +- .../_intelli_tool_rectangle_8h_source.html | 10 +- docs/html/_intelli_toolsettings_8cpp.html | 2 +- .../_intelli_toolsettings_8cpp_source.html | 14 +- docs/html/_intelli_toolsettings_8h.html | 3 +- .../html/_intelli_toolsettings_8h_source.html | 58 +- docs/html/_intelli_triangulation_8cpp.html | 2 +- .../_intelli_triangulation_8cpp_source.html | 2 +- docs/html/_intelli_triangulation_8h.html | 2 +- .../_intelli_triangulation_8h_source.html | 2 +- docs/html/_painting_area_8cpp.html | 3 +- docs/html/_painting_area_8cpp_source.html | 992 ++++----- docs/html/_painting_area_8h.html | 2 +- docs/html/_painting_area_8h_source.html | 295 +-- docs/html/annotated.html | 27 +- docs/html/annotated_dup.js | 1 + .../class_intelli_color_picker-members.html | 2 +- docs/html/class_intelli_color_picker.html | 2 +- docs/html/class_intelli_image-members.html | 2 +- docs/html/class_intelli_image.html | 14 +- .../class_intelli_input_dialog-members.html | 2 +- docs/html/class_intelli_input_dialog.html | 47 +- .../html/class_intelli_photo_gui-members.html | 2 +- docs/html/class_intelli_photo_gui.html | 22 +- .../class_intelli_raster_image-members.html | 2 +- docs/html/class_intelli_raster_image.html | 5 +- ...class_intelli_render_settings-members.html | 2 +- docs/html/class_intelli_render_settings.html | 10 +- .../class_intelli_shaped_image-members.html | 2 +- docs/html/class_intelli_shaped_image.html | 5 +- docs/html/class_intelli_tool-members.html | 2 +- docs/html/class_intelli_tool.html | 71 +- docs/html/class_intelli_tool.js | 1 + docs/html/class_intelli_tool.png | Bin 1396 -> 2298 bytes .../class_intelli_tool_circle-members.html | 2 +- docs/html/class_intelli_tool_circle.html | 15 +- ...class_intelli_tool_flood_fill-members.html | 2 +- docs/html/class_intelli_tool_flood_fill.html | 15 +- .../class_intelli_tool_gradient-members.html | 123 ++ docs/html/class_intelli_tool_gradient.html | 569 +++++ docs/html/class_intelli_tool_gradient.js | 11 + docs/html/class_intelli_tool_gradient.png | Bin 0 -> 451 bytes .../html/class_intelli_tool_line-members.html | 2 +- docs/html/class_intelli_tool_line.html | 15 +- docs/html/class_intelli_tool_pen-members.html | 2 +- docs/html/class_intelli_tool_pen.html | 15 +- ...class_intelli_tool_plain_tool-members.html | 2 +- docs/html/class_intelli_tool_plain_tool.html | 15 +- .../class_intelli_tool_polygon-members.html | 2 +- docs/html/class_intelli_tool_polygon.html | 15 +- .../class_intelli_tool_rectangle-members.html | 2 +- docs/html/class_intelli_tool_rectangle.html | 15 +- .../class_intelli_toolsettings-members.html | 2 +- docs/html/class_intelli_toolsettings.html | 42 +- docs/html/class_painting_area-members.html | 56 +- docs/html/class_painting_area.html | 451 ++-- docs/html/class_painting_area.js | 12 +- docs/html/class_unit_test-members.html | 2 +- docs/html/class_unit_test.html | 2 +- docs/html/classes.html | 60 +- .../dir_13830bfc3dd6736fe878600c9081919f.html | 2 +- .../dir_4e4e2e75df7fa6971448b424c011c8b5.html | 2 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- .../dir_858355f3357c73763e566ff49d1e6a7a.html | 6 +- .../dir_858355f3357c73763e566ff49d1e6a7a.js | 4 + .../dir_8de6078cba2a961961818cf80b28fd4f.html | 2 +- .../dir_fdbdd9841f9a730f284bb666ff3d8cfe.html | 2 +- docs/html/files.html | 24 +- docs/html/functions.html | 2 +- docs/html/functions_b.html | 2 +- docs/html/functions_c.html | 5 +- docs/html/functions_d.html | 5 +- docs/html/functions_enum.html | 2 +- docs/html/functions_f.html | 2 +- docs/html/functions_func.html | 46 +- docs/html/functions_g.html | 16 +- docs/html/functions_h.html | 5 +- docs/html/functions_i.html | 5 +- docs/html/functions_l.html | 2 +- docs/html/functions_m.html | 2 +- docs/html/functions_o.html | 8 +- docs/html/functions_p.html | 2 +- docs/html/functions_r.html | 2 +- docs/html/functions_s.html | 11 +- docs/html/functions_t.html | 2 +- docs/html/functions_u.html | 2 +- docs/html/functions_vars.html | 2 +- docs/html/functions_w.html | 2 +- docs/html/functions_~.html | 5 +- docs/html/globals.html | 2 +- docs/html/globals_defs.html | 2 +- docs/html/globals_enum.html | 2 +- docs/html/globals_func.html | 2 +- docs/html/hierarchy.html | 37 +- docs/html/hierarchy.js | 1 + docs/html/index.html | 2 +- docs/html/main_8cpp.html | 2 +- docs/html/main_8cpp_source.html | 2 +- docs/html/main_unit_test_8cpp.html | 2 +- docs/html/main_unit_test_8cpp_source.html | 2 +- docs/html/namespace_intelli_datamanager.html | 24 +- .../html/namespace_intelli_triangulation.html | 2 +- docs/html/namespacemembers.html | 2 +- docs/html/namespacemembers_func.html | 2 +- docs/html/namespaces.html | 2 +- docs/html/navtreedata.js | 2 +- docs/html/navtreeindex0.js | 152 +- docs/html/navtreeindex1.js | 158 +- docs/html/search/all_10.js | 6 +- docs/html/search/all_11.js | 6 +- docs/html/search/all_12.js | 31 +- docs/html/search/all_2.js | 11 +- docs/html/search/all_3.js | 13 +- docs/html/search/all_4.js | 4 +- docs/html/search/all_5.js | 55 +- docs/html/search/all_6.js | 9 +- docs/html/search/all_7.js | 127 +- docs/html/search/all_8.js | 8 +- docs/html/search/all_9.js | 16 +- docs/html/search/all_a.js | 2 +- docs/html/search/all_b.js | 14 +- docs/html/search/all_c.js | 18 +- docs/html/search/all_d.js | 6 +- docs/html/search/all_e.js | 45 +- docs/html/search/all_f.js | 10 +- docs/html/search/classes_0.js | 33 +- docs/html/search/classes_1.js | 2 +- docs/html/search/classes_2.js | 2 +- docs/html/search/classes_3.js | 2 +- docs/html/search/classes_4.js | 2 +- docs/html/search/defines_0.js | 2 +- docs/html/search/enums_0.js | 2 +- docs/html/search/enums_1.js | 2 +- docs/html/search/enumvalues_0.js | 2 +- docs/html/search/enumvalues_1.js | 2 +- docs/html/search/enumvalues_2.js | 2 +- docs/html/search/enumvalues_3.js | 2 +- docs/html/search/enumvalues_4.js | 4 +- docs/html/search/enumvalues_5.js | 5 +- docs/html/search/enumvalues_6.js | 3 +- docs/html/search/enumvalues_7.html | 30 + docs/html/search/enumvalues_7.js | 4 + docs/html/search/files_0.js | 74 +- docs/html/search/files_1.js | 4 +- docs/html/search/files_2.js | 4 +- docs/html/search/files_3.js | 2 +- docs/html/search/functions_0.js | 4 +- docs/html/search/functions_1.js | 29 +- docs/html/search/functions_2.js | 13 +- docs/html/search/functions_3.js | 54 +- docs/html/search/functions_4.js | 5 +- docs/html/search/functions_5.js | 41 +- docs/html/search/functions_6.js | 6 +- docs/html/search/functions_7.js | 12 +- docs/html/search/functions_8.js | 14 +- docs/html/search/functions_9.js | 4 +- docs/html/search/functions_a.js | 2 +- docs/html/search/functions_b.js | 43 +- docs/html/search/functions_c.js | 6 +- docs/html/search/functions_d.js | 2 +- docs/html/search/functions_e.js | 31 +- docs/html/search/namespaces_0.js | 4 +- docs/html/search/searchdata.js | 2 +- docs/html/search/variables_0.js | 10 +- docs/html/search/variables_1.js | 2 +- docs/html/search/variables_2.js | 6 +- docs/html/search/variables_3.js | 2 +- docs/html/search/variables_4.js | 4 +- docs/html/search/variables_5.js | 6 +- docs/html/search/variables_6.js | 2 +- docs/html/search/variables_7.js | 4 +- docs/html/search/variables_8.js | 4 +- docs/html/struct_layer_object-members.html | 2 +- docs/html/struct_layer_object.html | 6 +- docs/html/struct_triangle-members.html | 2 +- docs/html/struct_triangle.html | 2 +- docs/html/tst__unittest_8cpp.html | 2 +- docs/html/tst__unittest_8cpp_source.html | 26 +- src/GUI/IntelliInputDialog.h | 2 +- src/GUI/IntelliPhotoGui.cpp | 174 +- src/Image/IntelliImage.cpp | 12 +- src/Image/IntelliRasterImage.cpp | 2 +- src/Image/IntelliShapedImage.cpp | 4 +- src/IntelliHelper/IntelliDatamanager.cpp | 2 +- src/Layer/PaintingArea.cpp | 48 +- src/Layer/PaintingArea.h | 4 +- src/Tool/IntelliTool.h | 2 +- src/Tool/IntelliToolGradient.cpp | 182 +- src/Tool/IntelliToolGradient.h | 202 +- 257 files changed, 5444 insertions(+), 3399 deletions(-) create mode 100644 docs/html/_intelli_tool_gradient_8cpp.html create mode 100644 docs/html/_intelli_tool_gradient_8cpp_source.html create mode 100644 docs/html/_intelli_tool_gradient_8h.html create mode 100644 docs/html/_intelli_tool_gradient_8h_source.html create mode 100644 docs/html/class_intelli_tool_gradient-members.html create mode 100644 docs/html/class_intelli_tool_gradient.html create mode 100644 docs/html/class_intelli_tool_gradient.js create mode 100644 docs/html/class_intelli_tool_gradient.png create mode 100644 docs/html/search/enumvalues_7.html create mode 100644 docs/html/search/enumvalues_7.js diff --git a/cppcheck_config.txt b/cppcheck_config.txt index 450c488..5722ced 100644 --- a/cppcheck_config.txt +++ b/cppcheck_config.txt @@ -78,6 +78,12 @@ src/GUI/IntelliPhotoGui.cpp:8:0: information: Include file: not found. ^ 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] diff --git a/cppcheck_errors.txt b/cppcheck_errors.txt index dc71700..9e96fd5 100644 --- a/cppcheck_errors.txt +++ b/cppcheck_errors.txt @@ -22,10 +22,10 @@ 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::doubleA' is not initialized in the constructor. [uninitMemberVar] +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::VectorAB' is not initialized in the constructor. [uninitMemberVar] +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/Tool/IntelliToolGradient.cpp:6:22: warning: Member variable 'IntelliToolGradient::NormalVector' is not initialized in the constructor. [uninitMemberVar] @@ -154,28 +154,28 @@ src/tst_unittest.cpp:1138:0: style: The function 'bench_setPolygon' is never use src/mainUnitTest.cpp:118:0: style: The function 'cleanupTestCase' is never used. [unusedFunction] ^ -src/GUI/IntelliPhotoGui.cpp:28:0: style: The function 'closeEvent' 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:329:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction] +src/Layer/PaintingArea.cpp:328:0: style: The function 'mouseMoveEvent' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:310:0: style: The function 'mousePressEvent' is never used. [unusedFunction] +src/Layer/PaintingArea.cpp:309:0: style: The function 'mousePressEvent' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:342:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction] +src/Layer/PaintingArea.cpp:341:0: style: The function 'mouseReleaseEvent' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:372:0: style: The function 'paintEvent' is never used. [unusedFunction] +src/Layer/PaintingArea.cpp:371:0: style: The function 'paintEvent' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:223:0: style: The function 'slotActivateLayer' is never used. [unusedFunction] +src/Layer/PaintingArea.cpp:222:0: style: The function 'slotActivateLayer' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:129:0: style: The function 'slotDeleteActiveLayer' 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] @@ -328,7 +328,7 @@ src/mainUnitTest.cpp:146:0: style: The function 'test_setLayerUp' is never used. src/mainUnitTest.cpp:144:0: style: The function 'test_setPolygon' is never used. [unusedFunction] ^ -src/Layer/PaintingArea.cpp:357:0: style: The function 'wheelEvent' 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_color_picker_8cpp.html b/docs/html/_intelli_color_picker_8cpp.html index 849addb..97d3c27 100644 --- a/docs/html/_intelli_color_picker_8cpp.html +++ b/docs/html/_intelli_color_picker_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_color_picker_8cpp_source.html b/docs/html/_intelli_color_picker_8cpp_source.html index 02695a7..6aaf19c 100644 --- a/docs/html/_intelli_color_picker_8cpp_source.html +++ b/docs/html/_intelli_color_picker_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_color_picker_8h.html b/docs/html/_intelli_color_picker_8h.html index 3baf920..95956d4 100644 --- a/docs/html/_intelli_color_picker_8h.html +++ b/docs/html/_intelli_color_picker_8h.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_color_picker_8h_source.html b/docs/html/_intelli_color_picker_8h_source.html index b9fbf6a..42b2f3a 100644 --- a/docs/html/_intelli_color_picker_8h_source.html +++ b/docs/html/_intelli_color_picker_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_datamanager_8cpp.html b/docs/html/_intelli_datamanager_8cpp.html index cc74d66..9bb5dcd 100644 --- a/docs/html/_intelli_datamanager_8cpp.html +++ b/docs/html/_intelli_datamanager_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_datamanager_8cpp_source.html b/docs/html/_intelli_datamanager_8cpp_source.html index 4eddbd7..4f709d4 100644 --- a/docs/html/_intelli_datamanager_8cpp_source.html +++ b/docs/html/_intelli_datamanager_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
61  in >> widthCanvas >> heightCanvas;
62  in >> numberOffLayers;
63 
-
64  Canvas->setLayerDimensions(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;
@@ -176,35 +176,37 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8cpp_source.html'
88  for(int k = 0; k<width; k++) {
89  int red, green, blue, alpha;
90  in >> red >> green >> blue >> alpha;
-
91  Canvas->setPixelToActive(QColor(red, green, blue, alpha), QPoint(j, k));
+
91  Canvas->drawPixelOntoActive(QColor(red, green, blue, alpha), QPoint(j, k));
92  }
93  }
94  }
95  Canvas->setRenderSettings(static_cast<bool>(rendersetting));
96  openFile.close();
-
97  return true;
-
98  }
-
99 
-
100  return false;
-
101 }
+
97  Canvas->historyadd();
+
98  return true;
+
99  }
+
100 
+
101  return false;
+
102 }
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
- -
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
- +
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
+
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
+
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
-
std::vector< LayerObject > * getLayerBundle()
getLayerBundle returns the real active layerbundle (care!)
+
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!)
-
void setPixelToActive(QColor color, QPoint point)
-
void deleteAllLayers()
deleteAllLayers deletes all layers
-
void setLayerDimensions(int maxWidth, int maxHeight)
-
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
+
void deleteAllLayers()
deleteAllLayers deletes all layers
+
void setCanvasDimensions(int maxWidth, int maxHeight)
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.
-
void setPolygonDataToActive(std::vector< QPoint > points)
+
void historyadd()
historyadd adds an hisotry step
+
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
diff --git a/docs/html/_intelli_datamanager_8h_source.html b/docs/html/_intelli_datamanager_8h_source.html index fdc18a4..287bb6d 100644 --- a/docs/html/_intelli_datamanager_8h_source.html +++ b/docs/html/_intelli_datamanager_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -96,18 +96,19 @@ $(document).ready(function(){initNavTree('_intelli_datamanager_8h_source.html','
8 
9 namespace IntelliDatamanager {
10 
-
11 bool loadProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
-
12 bool saveProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
-
13 
-
14 }
-
15 
-
16 #endif // INTELLIDATAMANAGER_H
+
17 bool loadProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
+
18 
+
25 bool saveProject(PaintingArea* Canvas, QString filePath = "unnamed.idf");
+
26 
+
27 }
+
28 
+
29 #endif // INTELLIDATAMANAGER_H
-
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
+
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
-
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
+
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
saveProject saves the current project to a file.
@@ -184,7 +184,7 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html',''); in
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
virtual bool isFastRendering() const
+
virtual bool isFastRendering() const
isFastRendering returns if the Image is in fast rendering mode.
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:139
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:135
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
@@ -198,7 +198,7 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html',''); in
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
-
virtual int getHeight() const
+
virtual int getHeight() const
getHeight returns the height of the Image.
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
@@ -206,7 +206,7 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html',''); in
virtual IntelliImage * getDeepCopy()=0
A function that copys all that returns a [allocated] Image.
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
-
virtual int getWidth() const
+
virtual int getWidth() const
getWidth returns the width of the Image.
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
diff --git a/docs/html/_intelli_input_dialog_8cpp.html b/docs/html/_intelli_input_dialog_8cpp.html index 1025033..4d14f5a 100644 --- a/docs/html/_intelli_input_dialog_8cpp.html +++ b/docs/html/_intelli_input_dialog_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_input_dialog_8cpp_source.html b/docs/html/_intelli_input_dialog_8cpp_source.html index c7f0d28..af3b732 100644 --- a/docs/html/_intelli_input_dialog_8cpp_source.html +++ b/docs/html/_intelli_input_dialog_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -172,12 +172,12 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8cpp_source.html
84 }
- +
void slotCloseEvent()
slotCloseEvent is a slot for catching the close Event.
- -
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
- +
The IntelliInputDialog class is a customized Input Dialog to get Integers.
+
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
IntelliInputDialog is the baisc constructor to for the InputDialog.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
+
void slotEingabe()
slotEingabe is a slot for catching the Input Event.
diff --git a/docs/html/_intelli_input_dialog_8h_source.html b/docs/html/_intelli_input_dialog_8h_source.html index cf8ea3b..263ad64 100644 --- a/docs/html/_intelli_input_dialog_8h_source.html +++ b/docs/html/_intelli_input_dialog_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -97,46 +97,55 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8h_source.html',
9 #include <QPushButton>
10 #include <QSpinBox>
11 
-
12 class IntelliInputDialog : public QDialog
-
13 {
-
14 Q_OBJECT
-
15 public:
-
16 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
-
17 
-
18 
-
19 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
-
20 
-
21 public slots:
-
22 void slotCloseEvent();
-
23 void slotEingabe();
-
24 
-
25 private:
-
26 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
-
27 void createConnections();
-
28 void setInputBoxStyle();
-
29 
-
30 int valueInt;
-
31 
-
32 QGridLayout* Layout;
-
33 QDialogButtonBox* ButtonBox;
-
34 bool* notClosed;
-
35 
-
36 const QSize Linesize = QSize(150,20);
-
37 const QSize Buttonsize = QSize(72,20);
-
38 QLabel* InputLabel;
-
39 QSpinBox* Input;
-
40 QPushButton* okButton;
-
41 QPushButton* cancelButton;
-
42 };
+
15 class IntelliInputDialog : public QDialog
+
16 {
+
17 Q_OBJECT
+
18 public:
+
29 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
30 
+
42 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
43 
-
44 #endif // INTELLIINPUTDIALOG_H
+
44 public slots:
+
48 void slotCloseEvent();
+
49 
+
53 void slotEingabe();
+
54 
+
55 private:
+
65 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
+
66 
+
70 void createConnections();
+
71 
+
75 void setInputBoxStyle();
+
76 
+
80 int valueInt;
+
81 
+
85 QGridLayout* Layout;
+
86 
+
90 QDialogButtonBox* ButtonBox;
+
91 
+
95 bool* notClosed;
+
96 
+
100 const QSize Linesize = QSize(150,20);
+
101 
+
105 const QSize Buttonsize = QSize(72,20);
+
106 
+
110 QLabel* InputLabel;
+
111 
+
115 QSpinBox* Input;
+
116 
+
120 QPushButton* okButton;
+
121 
+
125 QPushButton* cancelButton;
+
126 };
+
127 
+
128 #endif // INTELLIINPUTDIALOG_H
- - -
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
- +
void slotCloseEvent()
slotCloseEvent is a slot for catching the close Event.
+
The IntelliInputDialog class is a customized Input Dialog to get Integers.
+
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
IntelliInputDialog is the baisc constructor to for the InputDialog.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
+
void slotEingabe()
slotEingabe is a slot for catching the Input Event.

Go to the source code of this file.

diff --git a/docs/html/_intelli_photo_gui_8cpp_source.html b/docs/html/_intelli_photo_gui_8cpp_source.html index 8f3062b..b358b55 100644 --- a/docs/html/_intelli_photo_gui_8cpp_source.html +++ b/docs/html/_intelli_photo_gui_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -95,974 +95,1013 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
7 #include <QCloseEvent>
8 #include <QDebug>
9 #include <string>
-
10 
-
11 // IntelliPhotoGui constructor
- -
13  // create Gui elements and lay them out
-
14  createGui();
-
15  // Create actions
-
16  createActions();
-
17  // create Menus
-
18  createMenus();
-
19  // set style of the gui
-
20  setIntelliStyle();
-
21  // Size the app
-
22  resize(600,600);
-
23  setDefaultValues();
-
24 }
-
25 
-
26 // User tried to close the app
-
27 void IntelliPhotoGui::closeEvent(QCloseEvent*event){
-
28  // If they try to close maybeSave() returns true
-
29  // if no changes have been made and the app closes
-
30  if (maybeSave()) {
-
31  event->accept();
-
32  } else {
-
33  // If there have been changes ignore the event
-
34  event->ignore();
-
35  }
-
36 }
-
37 
-
38 // Check if the current image has been changed and then
-
39 // open a dialog to open a file
-
40 void IntelliPhotoGui::slotOpen(){
-
41  // Check if changes have been made since last save
-
42  // maybeSave() returns true if no changes have been made
-
43  if (maybeSave()) {
-
44 
-
45  // Get the file to open from a dialog
-
46  // tr sets the window title to Open File
-
47  // QDir opens the current dirctory
-
48  QString fileName = QFileDialog::getOpenFileName(this,
-
49  tr("Open File"), QDir::currentPath(), nullptr, nullptr, QFileDialog::DontUseNativeDialog);
-
50 
-
51  // If we have a file name load the image and place
-
52  // it in the paintingArea
-
53  if (!fileName.isEmpty()) {
-
54  bool rightFileType = true;
-
55  if(fileName.size()>=4) {
-
56  QString endung(".idf");
-
57  int length = fileName.size();
-
58  for(int i = 0; i<4; i++) {
-
59  if(endung[i]!=fileName[length - 4 + i]) {
-
60  rightFileType = false;
-
61  break;
-
62  }
-
63  }
-
64  }
-
65 
-
66  if(rightFileType) {
-
67  IntelliDatamanager::loadProject(paintingArea,fileName);
-
68  UpdateGui();
-
69 
-
70  }
-
71  else{
-
72  paintingArea->open(fileName);
+
10 #include <QScreen>
+
11 #include <QGuiApplication>
+
12 
+
13 // IntelliPhotoGui constructor
+ +
15  // create Gui elements and lay them out
+
16  createGui();
+
17  // Create actions
+
18  createActions();
+
19  // create Menus
+
20  createMenus();
+
21  // set style of the gui
+
22  setIntelliStyle();
+
23  // Size the app
+
24  resize(600,600);
+
25  showMaximized();
+
26  setDefaultValues();
+
27 }
+
28 
+
29 // User tried to close the app
+
30 void IntelliPhotoGui::closeEvent(QCloseEvent*event){
+
31  // If they try to close maybeSave() returns true
+
32  // if no changes have been made and the app closes
+
33  if (maybeSave()) {
+
34  event->accept();
+
35  } else {
+
36  // If there have been changes ignore the event
+
37  event->ignore();
+
38  }
+
39 }
+
40 
+
41 // Check if the current image has been changed and then
+
42 // open a dialog to open a file
+
43 void IntelliPhotoGui::slotOpen(){
+
44  // Check if changes have been made since last save
+
45  // maybeSave() returns true if no changes have been made
+
46  if (maybeSave()) {
+
47 
+
48  // Get the file to open from a dialog
+
49  // tr sets the window title to Open File
+
50  // QDir opens the current dirctory
+
51  QString fileName = QFileDialog::getOpenFileName(this,
+
52  tr("Open File"), QDir::currentPath(), nullptr, nullptr, QFileDialog::DontUseNativeDialog);
+
53 
+
54  // If we have a file name load the image and place
+
55  // it in the paintingArea
+
56  if (!fileName.isEmpty()) {
+
57  bool rightFileType = true;
+
58  if(fileName.size()>=4) {
+
59  QString endung(".idf");
+
60  int length = fileName.size();
+
61  for(int i = 0; i<4; i++) {
+
62  if(endung[i]!=fileName[length - 4 + i]) {
+
63  rightFileType = false;
+
64  break;
+
65  }
+
66  }
+
67  }
+
68 
+
69  if(rightFileType) {
+
70  IntelliDatamanager::loadProject(paintingArea,fileName);
+
71  UpdateGui();
+
72 
73  }
-
74  }
-
75  }
-
76 }
-
77 
-
78 // Called when the user clicks Save As in the menu
-
79 void IntelliPhotoGui::slotSave(){
-
80  // A QAction represents the action of the user clicking
-
81  QAction*action = qobject_cast<QAction*>(sender());
-
82 
-
83  // Stores the array of bytes of the users data
-
84  QByteArray fileFormat = action->data().toByteArray();
+
74  else{
+
75  paintingArea->open(fileName);
+
76  }
+
77  }
+
78  }
+
79 }
+
80 
+
81 // Called when the user clicks Save As in the menu
+
82 void IntelliPhotoGui::slotSave(){
+
83  // A QAction represents the action of the user clicking
+
84  QAction*action = qobject_cast<QAction*>(sender());
85 
-
86  // Pass it to be saved
-
87  saveFile(fileFormat);
-
88 }
-
89 
-
90 // Opens a dialog that allows the user to create a New RASTER Layer
-
91 void IntelliPhotoGui::slotCreateNewRasterLayer(){
-
92  // Stores button value
-
93  bool ok1, ok2;
-
94 
-
95  // "New Layer" is the title of the window
-
96  // the next tr is the text to display
-
97  // Define the standard Value, min, max, step and ok button
-
98  int width = IntelliInputDialog::getInt("New Raster Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
-
99 
-
100  int height = IntelliInputDialog::getInt("New Raster Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
-
101 
-
102  // Create New Layer
-
103  if (ok1&&ok2) {
-
104  paintingArea->addLayer(width,height,0,0,255,ImageType::RASTERIMAGE);
-
105  UpdateGui();
-
106  }
-
107 }
-
108 
-
109 // Opens a dialog that allows the user to create a New SHAPED Layer
-
110 void IntelliPhotoGui::slotCreateNewShapedLayer(){
-
111  // Stores button value
-
112  bool ok1, ok2;
-
113 
-
114  // "New Layer" is the title of the window
-
115  // the next tr is the text to display
-
116  // Define the standard Value, min, max, step and ok button
-
117  int width = IntelliInputDialog::getInt("New Shaped Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
-
118 
-
119  int height = IntelliInputDialog::getInt("New Shaped Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
-
120 
-
121  // Create New Layer
-
122  if (ok1&&ok2) {
-
123  paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE);
-
124  UpdateGui();
-
125  }
-
126 }
-
127 
-
128 // Opens a dialog that allows the user to change Dimension
-
129 void IntelliPhotoGui::slotChangeDim(){
-
130  // Stores button value
-
131  bool ok1, ok2;
+
86  // Stores the array of bytes of the users data
+
87  QByteArray fileFormat = action->data().toByteArray();
+
88 
+
89  // Pass it to be saved
+
90  saveFile(fileFormat);
+
91 }
+
92 
+
93 // Opens a dialog that allows the user to create a New RASTER Layer
+
94 void IntelliPhotoGui::slotCreateNewRasterLayer(){
+
95  // Stores button value
+
96  bool ok1, ok2;
+
97 
+
98  // "New Layer" is the title of the window
+
99  // the next tr is the text to display
+
100  // Define the standard Value, min, max, step and ok button
+
101  int width = IntelliInputDialog::getInt("New Raster Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
+
102 
+
103  int height = IntelliInputDialog::getInt("New Raster Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
+
104 
+
105  // Create New Layer
+
106  if (ok1&&ok2) {
+
107  paintingArea->addLayer(width,height,0,0,255,ImageType::RASTERIMAGE);
+
108  paintingArea->historyadd();
+
109  UpdateGui();
+
110  }
+
111 }
+
112 
+
113 // Opens a dialog that allows the user to create a New SHAPED Layer
+
114 void IntelliPhotoGui::slotCreateNewShapedLayer(){
+
115  // Stores button value
+
116  bool ok1, ok2;
+
117 
+
118  // "New Layer" is the title of the window
+
119  // the next tr is the text to display
+
120  // Define the standard Value, min, max, step and ok button
+
121  int width = IntelliInputDialog::getInt("New Shaped Layer", "Width:", 200, 1, paintingArea->getMaxWidth(), 1, &ok1);
+
122 
+
123  int height = IntelliInputDialog::getInt("New Shaped Layer", "Height:", 200, 1, paintingArea->getMaxHeight(), 1, &ok2);
+
124 
+
125  // Create New Layer
+
126  if (ok1&&ok2) {
+
127  paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE);
+
128  paintingArea->historyadd();
+
129  UpdateGui();
+
130  }
+
131 }
132 
-
133  // "change Dimension" is the title of the window
-
134  // the next tr is the text to display
-
135  // Define the standard Value, min, step and ok button
-
136  int width = IntelliInputDialog::getInt("New Canvas Size", "Width:", 600, 1, 50000, 1, &ok1);
+
133 // Opens a dialog that allows the user to change Dimension
+
134 void IntelliPhotoGui::slotChangeDim(){
+
135  // Stores button value
+
136  bool ok1, ok2;
137 
-
138  int height = IntelliInputDialog::getInt("New Canvas Size", "Height:", 600, 1, 50000, 1, &ok2);
-
139 
-
140 
-
141  // Change dimension
-
142  if (ok1&&ok2) {
-
143  paintingArea->setLayerDimensions(width,height);
-
144  UpdateGui();
-
145  }
-
146 }
-
147 
-
148 // Opens a dialog that allows the user to delete a Layer
-
149 void IntelliPhotoGui::slotDeleteLayer(){
-
150 
-
151  bool ok1;
-
152  // "delete Layer" is the title of the window
-
153  // the next tr is the text to display
-
154  // Define the standard Value, min, max, step and ok button
-
155  int layerNumber = IntelliInputDialog::getInt("Delete Layer", "Number:", paintingArea->getNumberOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
-
156 
-
157  // Create New Layer
-
158  if(ok1) {
-
159  paintingArea->deleteLayer(layerNumber - 1);
-
160  UpdateGui();
-
161  }
-
162 }
-
163 
-
164 void IntelliPhotoGui::slotSetActiveAlpha(){
-
165 
-
166  bool ok1, ok2;
-
167  // "Layer to set on" is the title of the window
-
168  // the next tr is the text to display
-
169  // Define the standard Value, min, max, step and ok button
-
170 
-
171  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getNumberOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
-
172 
-
173  // "New Alpha" is the title of the window
-
174  int alpha = IntelliInputDialog::getInt("Layer to set on", "Alpha:", 255, 0, 255, 1, &ok2);
-
175 
-
176  if (ok1&&ok2)
-
177  {
-
178  paintingArea->setLayerAlpha(layer - 1,alpha);
-
179  UpdateGui();
-
180  }
-
181 }
-
182 
-
183 void IntelliPhotoGui::slotSetPolygon(){
-
184  // Stores button value
-
185  bool ok1;
-
186 
-
187  // "Layer to set on" is the title of the window
-
188  // the next tr is the text to display
-
189  // Define the standard Value, min, max, step and ok button
-
190  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getNumberOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
-
191 
-
192  if (ok1)
-
193  {
-
194  paintingArea->setPolygon(layer - 1);
-
195  UpdateGui();
-
196  }
-
197 }
-
198 
-
199 void IntelliPhotoGui::slotPositionMoveUp(){
-
200  paintingArea->movePositionActive(0,-20);
-
201  update();
-
202 }
-
203 
-
204 void IntelliPhotoGui::slotPositionMoveDown(){
-
205  paintingArea->movePositionActive(0,20);
-
206  update();
-
207 }
-
208 
-
209 void IntelliPhotoGui::slotPositionMoveLeft(){
-
210  paintingArea->movePositionActive(-20,0);
-
211  update();
-
212 }
-
213 
-
214 void IntelliPhotoGui::slotPositionMoveRight(){
-
215  paintingArea->movePositionActive(20,0);
-
216  update();
-
217 }
-
218 
-
219 void IntelliPhotoGui::slotMoveLayerUp(){
-
220  paintingArea->moveActiveLayer(1);
-
221  update();
-
222 }
-
223 
-
224 void IntelliPhotoGui::slotMoveLayerDown(){
-
225  paintingArea->moveActiveLayer(-1);
-
226  update();
-
227 }
-
228 
-
229 void IntelliPhotoGui::slotSetActiveLayer(){
-
230  bool ok1;
-
231  // "Layer to set on" is the title of the window
-
232  // the next tr is the text to display
-
233  // Define the standard Value, min, max, step and ok button
-
234  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
-
235 
-
236  if(ok1) {
-
237  paintingArea->setLayerActive(layer - 1);
-
238  UpdateGui();
-
239  }
-
240 }
+
138  // "change Dimension" is the title of the window
+
139  // the next tr is the text to display
+
140  // Define the standard Value, min, step and ok button
+
141  int width = IntelliInputDialog::getInt("New Canvas Size", "Width:", 600, 1, 50000, 1, &ok1);
+
142 
+
143  int height = IntelliInputDialog::getInt("New Canvas Size", "Height:", 600, 1, 50000, 1, &ok2);
+
144 
+
145 
+
146  // Change dimension
+
147  if (ok1&&ok2) {
+
148  paintingArea->setCanvasDimensions(width,height);
+
149  UpdateGui();
+
150  }
+
151 }
+
152 
+
153 // Opens a dialog that allows the user to delete a Layer
+
154 void IntelliPhotoGui::slotDeleteLayer(){
+
155 
+
156  bool ok1;
+
157  // "delete Layer" is the title of the window
+
158  // the next tr is the text to display
+
159  // Define the standard Value, min, max, step and ok button
+
160  int layerNumber = IntelliInputDialog::getInt("Delete Layer", "Number:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
161 
+
162  // Create New Layer
+
163  if(ok1) {
+
164  paintingArea->deleteLayer(layerNumber - 1);
+
165  paintingArea->historyadd();
+
166  UpdateGui();
+
167  }
+
168 }
+
169 
+
170 void IntelliPhotoGui::slotSetActiveAlpha(){
+
171 
+
172  bool ok1, ok2;
+
173  // "Layer to set on" is the title of the window
+
174  // the next tr is the text to display
+
175  // Define the standard Value, min, max, step and ok button
+
176 
+
177  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
178 
+
179  // "New Alpha" is the title of the window
+
180  int alpha = IntelliInputDialog::getInt("Layer to set on", "Alpha:", 255, 0, 255, 1, &ok2);
+
181 
+
182  if (ok1&&ok2)
+
183  {
+
184  paintingArea->setLayerAlpha(layer - 1,alpha);
+
185  UpdateGui();
+
186  }
+
187 }
+
188 
+
189 void IntelliPhotoGui::slotSetPolygon(){
+
190  // Stores button value
+
191  bool ok1;
+
192 
+
193  // "Layer to set on" is the title of the window
+
194  // the next tr is the text to display
+
195  // Define the standard Value, min, max, step and ok button
+
196  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", paintingArea->getIndexOfActiveLayer() + 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
+
197 
+
198  if (ok1)
+
199  {
+
200  paintingArea->setPolygon(layer - 1);
+
201  UpdateGui();
+
202  }
+
203 }
+
204 
+
205 void IntelliPhotoGui::slotPositionMoveUp(){
+
206  paintingArea->movePositionActive(0,-20);
+
207  update();
+
208 }
+
209 
+
210 void IntelliPhotoGui::slotPositionMoveDown(){
+
211  paintingArea->movePositionActive(0,20);
+
212  update();
+
213 }
+
214 
+
215 void IntelliPhotoGui::slotPositionMoveLeft(){
+
216  paintingArea->movePositionActive(-20,0);
+
217  update();
+
218 }
+
219 
+
220 void IntelliPhotoGui::slotPositionMoveRight(){
+
221  paintingArea->movePositionActive(20,0);
+
222  update();
+
223 }
+
224 
+
225 void IntelliPhotoGui::slotMoveLayerUp(){
+
226  paintingArea->moveActiveLayer(1);
+
227  update();
+
228 }
+
229 
+
230 void IntelliPhotoGui::slotMoveLayerDown(){
+
231  paintingArea->moveActiveLayer(-1);
+
232  update();
+
233 }
+
234 
+
235 void IntelliPhotoGui::slotSetActiveLayer(){
+
236  bool ok1;
+
237  // "Layer to set on" is the title of the window
+
238  // the next tr is the text to display
+
239  // Define the standard Value, min, max, step and ok button
+
240  int layer = IntelliInputDialog::getInt("Layer to set on", "Layer:", 1, 1, static_cast<int>(paintingArea->layerBundle.size()), 1, &ok1);
241 
-
242 void IntelliPhotoGui::slotUpdateRenderSettingsOn(){
-
243  paintingArea->setRenderSettings(true);
-
244  UpdateGui();
-
245 }
-
246 
-
247 void IntelliPhotoGui::slotUpdateRenderSettingsOff(){
-
248  paintingArea->setRenderSettings(false);
-
249  UpdateGui();
-
250 }
-
251 
-
252 void IntelliPhotoGui::slotSetFirstColor(){
-
253  paintingArea->colorPickerSetFirstColor();
-
254  UpdateGui();
-
255 }
-
256 
-
257 void IntelliPhotoGui::slotSetSecondColor(){
-
258  paintingArea->colorPickerSetSecondColor();
-
259  UpdateGui();
-
260 }
-
261 
-
262 void IntelliPhotoGui::slotSwapColor(){
-
263  paintingArea->colorPickerSwapColors();
-
264  UpdateGui();
-
265 }
-
266 
-
267 void IntelliPhotoGui::slotCreatePenTool(){
-
268  PenButton->setChecked(true);
-
269  paintingArea->createPenTool();
-
270 }
-
271 
-
272 void IntelliPhotoGui::slotCreatePlainTool(){
-
273  PlainButton->setChecked(true);
-
274  paintingArea->createPlainTool();
-
275 }
-
276 
-
277 void IntelliPhotoGui::slotCreateLineTool(){
-
278  LineButton->setChecked(true);
-
279  paintingArea->createLineTool();
-
280 }
-
281 
-
282 void IntelliPhotoGui::slotCreateRectangleTool(){
-
283  RectangleButton->setChecked(true);
-
284  paintingArea->createRectangleTool();
-
285 }
-
286 
-
287 void IntelliPhotoGui::slotCreateCircleTool(){
-
288  CircleButton->setChecked(true);
-
289  paintingArea->createCircleTool();
-
290 }
-
291 
-
292 void IntelliPhotoGui::slotCreatePolygonTool(){
-
293  PolygonButton->setChecked(true);
-
294  paintingArea->createPolygonTool();
-
295 }
-
296 
-
297 void IntelliPhotoGui::slotCreateFloodFillTool(){
-
298  FloodFillButton->setChecked(true);
-
299  paintingArea->createFloodFillTool();
-
300 }
-
301 
-
302 // Open an about dialog
-
303 void IntelliPhotoGui::slotAboutDialog(){
-
304  // Window title and text to display
-
305  QMessageBox::about(this, tr("About Painting"),
-
306  tr("<p><b>IntelliPhoto - </b>A Pretty basic editor.</p> <br>Developed by Team 7."));
-
307 }
-
308 
-
309 void IntelliPhotoGui::slotEnterPressed(){
-
310  QString string = EditLineWidth->text();
-
311  if(string.toInt() > 50) {
-
312  EditLineWidth->setText("50");
-
313  }
-
314  paintingArea->Toolsettings.setLineWidth(string.toInt());
-
315  string = EditLineInnerAlpha->text();
-
316  if(string.toInt() > 255) {
-
317  EditLineInnerAlpha->setText("255");
-
318  }
-
319  paintingArea->Toolsettings.setInnerAlpha(string.toInt());
+
242  if(ok1) {
+
243  paintingArea->setLayerActive(layer - 1);
+
244  UpdateGui();
+
245  }
+
246 }
+
247 
+
248 void IntelliPhotoGui::slotUpdateFastRenderSettingsOn(){
+
249  paintingArea->setRenderSettings(true);
+
250  FastRendererLabel->setText("Fast Render: On");
+
251  UpdateGui();
+
252 }
+
253 
+
254 void IntelliPhotoGui::slotUpdateFastRenderSettingsOff(){
+
255  paintingArea->setRenderSettings(false);
+
256  FastRendererLabel->setText("Fast Render: Off");
+
257  UpdateGui();
+
258 }
+
259 
+
260 void IntelliPhotoGui::slotSetFirstColor(){
+
261  paintingArea->colorPickerSetFirstColor();
+
262  UpdateGui();
+
263 }
+
264 
+
265 void IntelliPhotoGui::slotSetSecondColor(){
+
266  paintingArea->colorPickerSetSecondColor();
+
267  UpdateGui();
+
268 }
+
269 
+
270 void IntelliPhotoGui::slotSwapColor(){
+
271  paintingArea->colorPickerSwapColors();
+
272  UpdateGui();
+
273 }
+
274 
+
275 void IntelliPhotoGui::slotCreatePenTool(){
+
276  PenButton->setChecked(true);
+
277  paintingArea->createPenTool();
+
278 }
+
279 
+
280 void IntelliPhotoGui::slotCreatePlainTool(){
+
281  PlainButton->setChecked(true);
+
282  paintingArea->createPlainTool();
+
283 }
+
284 
+
285 void IntelliPhotoGui::slotCreateLineTool(){
+
286  LineButton->setChecked(true);
+
287  paintingArea->createLineTool();
+
288 }
+
289 
+
290 void IntelliPhotoGui::slotCreateRectangleTool(){
+
291  RectangleButton->setChecked(true);
+
292  paintingArea->createRectangleTool();
+
293 }
+
294 
+
295 void IntelliPhotoGui::slotCreateCircleTool(){
+
296  CircleButton->setChecked(true);
+
297  paintingArea->createCircleTool();
+
298 }
+
299 
+
300 void IntelliPhotoGui::slotCreatePolygonTool(){
+
301  PolygonButton->setChecked(true);
+
302  paintingArea->createPolygonTool();
+
303 }
+
304 
+
305 void IntelliPhotoGui::slotCreateFloodFillTool(){
+
306  FloodFillButton->setChecked(true);
+
307  paintingArea->createFloodFillTool();
+
308 }
+
309 
+
310 void IntelliPhotoGui::slotCreateGradientTool(){
+
311  GradientButton->setChecked(true);
+
312  paintingArea->createGradientTool();
+
313 }
+
314 
+
315 // Open an about dialog
+
316 void IntelliPhotoGui::slotAboutDialog(){
+
317  // Window title and text to display
+
318  QMessageBox::about(this, tr("About Painting"),
+
319  tr("<p><b>IntelliPhoto - </b>A Pretty basic editor.</p> <br>Developed by Team 7."));
320 }
321 
-
322 void IntelliPhotoGui::slotResetTools(){
-
323  CircleButton->setChecked(false);
-
324  FloodFillButton->setChecked(false);
-
325  LineButton->setChecked(false);
-
326  PenButton->setChecked(false);
-
327  PlainButton->setChecked(false);
-
328  PolygonButton->setChecked(false);
-
329  RectangleButton->setChecked(false);
-
330 }
-
331 
-
332 void IntelliPhotoGui::slotSetWidth(){
-
333  bool ok1;
-
334  int temp = IntelliInputDialog::getInt("Toolsettings", "Width:", 5, 1, 50, 1, &ok1);
-
335  if(ok1) {
-
336  paintingArea->Toolsettings.setLineWidth(temp);
-
337  EditLineWidth->setText(QString("%1").arg(temp));
-
338  }
-
339 }
-
340 
-
341 void IntelliPhotoGui::slotSetInnerAlpha(){
-
342  bool ok1;
-
343  int temp = IntelliInputDialog::getInt("Toolsettings", "Alpha:", 5, 1, 50, 1, &ok1);
-
344  if(ok1) {
-
345  paintingArea->Toolsettings.setInnerAlpha(temp);
-
346  EditLineInnerAlpha->setText(QString("%1").arg(temp));
-
347  }
-
348 }
-
349 
-
350 void IntelliPhotoGui::slotGoBack(){
-
351  paintingArea->historyGoBack();
-
352 }
-
353 
-
354 void IntelliPhotoGui::slotGoForward(){
-
355  paintingArea->historyGoForward();
-
356 }
-
357 
-
358 // Define menu actions that call functions
-
359 void IntelliPhotoGui::createActions(){
-
360  // Get a list of the supported file formats
-
361  // QImageWriter is used to write images to files
-
362  foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
-
363  QString text = tr("%1...").arg(QString(format).toUpper());
-
364 
-
365  // Create an action for each file format
-
366  QAction*action = new QAction(text, this);
+
322 void IntelliPhotoGui::slotEnterPressed(){
+
323  QString string = EditLineWidth->text();
+
324  if(string.toInt() > 50) {
+
325  EditLineWidth->setText("50");
+
326  }
+
327  paintingArea->Toolsettings.setLineWidth(string.toInt());
+
328  string = EditLineInnerAlpha->text();
+
329  if(string.toInt() > 255) {
+
330  EditLineInnerAlpha->setText("255");
+
331  }
+
332  paintingArea->Toolsettings.setInnerAlpha(string.toInt());
+
333 }
+
334 
+
335 void IntelliPhotoGui::slotResetToolButtons(){
+
336  CircleButton->setChecked(false);
+
337  FloodFillButton->setChecked(false);
+
338  GradientButton->setChecked(false);
+
339  LineButton->setChecked(false);
+
340  PenButton->setChecked(false);
+
341  PlainButton->setChecked(false);
+
342  PolygonButton->setChecked(false);
+
343  RectangleButton->setChecked(false);
+
344 }
+
345 
+
346 void IntelliPhotoGui::slotSetWidth(){
+
347  bool ok1;
+
348  int temp = IntelliInputDialog::getInt("Toolsettings", "Width:", 5, 1, 50, 1, &ok1);
+
349  if(ok1) {
+
350  paintingArea->Toolsettings.setLineWidth(temp);
+
351  EditLineWidth->setText(QString("%1").arg(temp));
+
352  }
+
353 }
+
354 
+
355 void IntelliPhotoGui::slotSetInnerAlpha(){
+
356  bool ok1;
+
357  int temp = IntelliInputDialog::getInt("Toolsettings", "Alpha:", 5, 1, 50, 1, &ok1);
+
358  if(ok1) {
+
359  paintingArea->Toolsettings.setInnerAlpha(temp);
+
360  EditLineInnerAlpha->setText(QString("%1").arg(temp));
+
361  }
+
362 }
+
363 
+
364 void IntelliPhotoGui::slotGoBack(){
+
365  paintingArea->historyGoBack();
+
366 }
367 
-
368  // Set an action for each file format
-
369  action->setData(format);
-
370 
-
371  // When clicked call IntelliPhotoGui::save()
-
372  connect(action, SIGNAL(triggered()), this, SLOT(slotSave()));
-
373 
-
374  // Attach each file format option menu item to Save As
-
375  actionSaveAs.append(action);
-
376  }
-
377 
-
378  //set exporter to actions
-
379  QAction*pngSaveAction = new QAction("PNG-8", this);
-
380  pngSaveAction->setData("PNG");
-
381  // When clicked call IntelliPhotoGui::save()
-
382  connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
-
383  // Attach each PNG in save Menu
-
384  actionSaveAs.append(pngSaveAction);
-
385  pngSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
-
386 
-
387  QAction*projectSaveAction = new QAction("Projekt", this);
-
388  projectSaveAction->setData("idf");
-
389  // When clicked call IntelliPhotoGui::save()
-
390  connect(projectSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
-
391  // Attach each PNG in save Menu
-
392  actionSaveAs.append(projectSaveAction);
-
393  projectSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S));
-
394 
-
395  // Create exit action and tie to IntelliPhotoGui::close()
-
396  actionExit = new QAction(tr("&Exit"), this);
-
397  actionExit->setShortcuts(QKeySequence::Quit);
-
398  connect(actionExit, SIGNAL(triggered()), this, SLOT(close()));
-
399 
-
400  actionOpen = new QAction(tr("&Open"), this);
-
401  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));
-
402  connect(actionOpen, SIGNAL(triggered()), this, SLOT(slotOpen()));
-
403 
-
404  // Create New RASTER Layer action and tie to IntelliPhotoGui::newLayer()
-
405  actionCreateNewRasterLayer = new QAction(tr("&Raster Image"), this);
-
406  actionCreateNewRasterLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));
-
407  connect(actionCreateNewRasterLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewRasterLayer()));
-
408 
+
368 void IntelliPhotoGui::slotGoForward(){
+
369  paintingArea->historyGoForward();
+
370 }
+
371 
+
372 // Define menu actions that call functions
+
373 void IntelliPhotoGui::createActions(){
+
374  // Get a list of the supported file formats
+
375  // QImageWriter is used to write images to files
+
376  foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
+
377  QString text = tr("%1...").arg(QString(format).toUpper());
+
378 
+
379  // Create an action for each file format
+
380  QAction*action = new QAction(text, this);
+
381 
+
382  // Set an action for each file format
+
383  action->setData(format);
+
384 
+
385  // When clicked call IntelliPhotoGui::save()
+
386  connect(action, SIGNAL(triggered()), this, SLOT(slotSave()));
+
387 
+
388  // Attach each file format option menu item to Save As
+
389  actionSaveAs.append(action);
+
390  }
+
391 
+
392  // Set exporter to actions
+
393  QAction*pngSaveAction = new QAction("PNG-8...", this);
+
394  pngSaveAction->setData("PNG");
+
395  // When clicked call IntelliPhotoGui::save()
+
396  connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
+
397  // Attach each PNG in save Menu
+
398  actionSaveAs.append(pngSaveAction);
+
399  pngSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
+
400 
+
401  // Create exit action and tie to IntelliPhotoGui::close()
+
402  actionExit = new QAction(tr("&Exit"), this);
+
403  actionExit->setShortcuts(QKeySequence::Quit);
+
404  connect(actionExit, SIGNAL(triggered()), this, SLOT(close()));
+
405 
+
406  actionOpen = new QAction(tr("&Open"), this);
+
407  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));
+
408  connect(actionOpen, SIGNAL(triggered()), this, SLOT(slotOpen()));
409 
-
410  // Create New SHAPED Layer action and tie to IntelliPhotoGui::newLayer()
-
411  actionCreateNewShapedLayer = new QAction(tr("&Shaped Image"), this);
-
412  actionCreateNewShapedLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N + Qt::ALT));
-
413  connect(actionCreateNewShapedLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewShapedLayer()));
+
410  // Create New RASTER Layer action and tie to IntelliPhotoGui::newLayer()
+
411  actionCreateNewRasterLayer = new QAction(tr("&Raster Image"), this);
+
412  actionCreateNewRasterLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));
+
413  connect(actionCreateNewRasterLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewRasterLayer()));
414 
-
415  // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()
-
416  actionDeleteLayer = new QAction(tr("&Delete Layer..."), this);
-
417  actionDeleteLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_D));
-
418  connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer()));
-
419 
-
420  actionChangeDim = new QAction(tr("&Change Dimension"), this);
-
421  actionChangeDim->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_X));
-
422  connect(actionChangeDim, SIGNAL(triggered()), this, SLOT(slotChangeDim()));
-
423  connect(dimCanvas, SIGNAL(clicked()), this, SLOT(slotChangeDim()));
-
424 
-
425  actionSetActiveLayer = new QAction(tr("&set Active"), this);
-
426  actionSetActiveLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_A));
-
427  connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer()));
-
428 
-
429  actionSetActiveAlpha = new QAction(tr("&set Alpha"), this);
-
430  actionSetActiveAlpha->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_A));
-
431  connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha()));
-
432 
-
433  actionSetPolygon = new QAction(tr("&set new Polygondata"), this);
-
434  actionSetPolygon->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_P));
-
435  connect(actionSetPolygon, SIGNAL(triggered()), this, SLOT(slotSetPolygon()));
-
436 
-
437  actionMovePositionUp = new QAction(tr("&move Up"), this);
-
438  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));
-
439  connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp()));
-
440 
-
441  actionMovePositionDown = new QAction(tr("&move Down"), this);
-
442  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));
-
443  connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown()));
-
444 
-
445  actionMovePositionLeft = new QAction(tr("&move Left"), this);
-
446  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));
-
447  connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft()));
-
448 
-
449  actionMovePositionRight = new QAction(tr("&move Right"), this);
-
450  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));
-
451  connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight()));
-
452 
-
453  actionMoveLayerUp = new QAction(tr("&move Layer Up"), this);
-
454  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));
-
455  connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp()));
-
456 
-
457  actionMoveLayerDown = new QAction(tr("&move Layer Down"), this);
-
458  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));
-
459  connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown()));
-
460 
-
461  //Create Update RenderSettings Actions here
-
462  actionUpdateRenderSettingsOn = new QAction(tr("&On"), this);
-
463  actionUpdateRenderSettingsOn->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_A));
-
464  connect(actionUpdateRenderSettingsOn, SIGNAL(triggered()),this, SLOT(slotUpdateRenderSettingsOn()));
-
465 
-
466  actionUpdateRenderSettingsOff = new QAction(tr("&Off"), this);
-
467  actionUpdateRenderSettingsOff->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_D));
-
468  connect(actionUpdateRenderSettingsOff, SIGNAL(triggered()),this, SLOT(slotUpdateRenderSettingsOff()));
-
469 
-
470  //Create Color Actions here
-
471  actionColorPickerFirstColor = new QAction(tr("&Main"), this);
-
472  actionColorPickerFirstColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_N));
-
473  connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
-
474  connect(FirstColorButton, SIGNAL(clicked()), this, SLOT(slotSetFirstColor()));
+
415 
+
416  // Create New SHAPED Layer action and tie to IntelliPhotoGui::newLayer()
+
417  actionCreateNewShapedLayer = new QAction(tr("&Shaped Image"), this);
+
418  actionCreateNewShapedLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N + Qt::ALT));
+
419  connect(actionCreateNewShapedLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewShapedLayer()));
+
420 
+
421  // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()
+
422  actionDeleteLayer = new QAction(tr("&Delete Layer"), this);
+
423  actionDeleteLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_D));
+
424  connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer()));
+
425 
+
426  actionChangeDim = new QAction(tr("&Change Dimension"), this);
+
427  actionChangeDim->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_X));
+
428  connect(actionChangeDim, SIGNAL(triggered()), this, SLOT(slotChangeDim()));
+
429  connect(dimCanvas, SIGNAL(clicked()), this, SLOT(slotChangeDim()));
+
430 
+
431  actionSetActiveLayer = new QAction(tr("&Set Active"), this);
+
432  actionSetActiveLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_A));
+
433  connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer()));
+
434 
+
435  actionSetActiveAlpha = new QAction(tr("&Set Alpha"), this);
+
436  actionSetActiveAlpha->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_A));
+
437  connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha()));
+
438 
+
439  actionSetPolygon = new QAction(tr("&Set Polygon Data"), this);
+
440  actionSetPolygon->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_P));
+
441  connect(actionSetPolygon, SIGNAL(triggered()), this, SLOT(slotSetPolygon()));
+
442 
+
443  actionMovePositionUp = new QAction(tr("&Move Up"), this);
+
444  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));
+
445  connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp()));
+
446 
+
447  actionMovePositionDown = new QAction(tr("&Move Down"), this);
+
448  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));
+
449  connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown()));
+
450 
+
451  actionMovePositionLeft = new QAction(tr("&Move Left"), this);
+
452  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));
+
453  connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft()));
+
454 
+
455  actionMovePositionRight = new QAction(tr("&Move Right"), this);
+
456  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));
+
457  connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight()));
+
458 
+
459  actionMoveLayerUp = new QAction(tr("&Move Forth"), this);
+
460  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));
+
461  connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp()));
+
462 
+
463  actionMoveLayerDown = new QAction(tr("&Move Back"), this);
+
464  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));
+
465  connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown()));
+
466 
+
467  // Create Update RenderSettings Actions here
+
468  actionUpdateFastRenderSettingsOn = new QAction(tr("&On"), this);
+
469  actionUpdateFastRenderSettingsOn->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_A));
+
470  connect(actionUpdateFastRenderSettingsOn, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOn()));
+
471 
+
472  actionUpdateFastRenderSettingsOff = new QAction(tr("&Off"), this);
+
473  actionUpdateFastRenderSettingsOff->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_D));
+
474  connect(actionUpdateFastRenderSettingsOff, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOff()));
475 
-
476  actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
-
477  actionColorPickerSecondColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_M));
-
478  connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
-
479  connect(SecondColorButton, SIGNAL(clicked()), this, SLOT(slotSetSecondColor()));
-
480 
-
481  actionColorSwap = new QAction(tr("&Switch"), this);
-
482  actionColorSwap->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_S));
-
483  connect(actionColorSwap, SIGNAL(triggered()), this, SLOT(slotSwapColor()));
-
484  connect(SwitchColorButton, SIGNAL(clicked()), this, SLOT(slotSwapColor()));
-
485 
-
486  //Create Tool actions down here
-
487  actionCreatePlainTool = new QAction(tr("&Plain"), this);
-
488  actionCreatePlainTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_P));
-
489  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
490  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool()));
+
476  // Create Color Actions here
+
477  actionColorPickerFirstColor = new QAction(tr("&Main"), this);
+
478  actionColorPickerFirstColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_N));
+
479  connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
+
480  connect(FirstColorButton, SIGNAL(clicked()), this, SLOT(slotSetFirstColor()));
+
481 
+
482  actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
+
483  actionColorPickerSecondColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_M));
+
484  connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
+
485  connect(SecondColorButton, SIGNAL(clicked()), this, SLOT(slotSetSecondColor()));
+
486 
+
487  actionColorSwap = new QAction(tr("&Switch"), this);
+
488  actionColorSwap->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_S));
+
489  connect(actionColorSwap, SIGNAL(triggered()), this, SLOT(slotSwapColor()));
+
490  connect(SwitchColorButton, SIGNAL(clicked()), this, SLOT(slotSwapColor()));
491 
-
492 
-
493  actionCreatePenTool = new QAction(tr("&Pen"),this);
-
494  actionCreatePenTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_S));
-
495  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
496  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool()));
+
492  // Create Tool actions down here
+
493  actionCreatePlainTool = new QAction(tr("&Plain"), this);
+
494  actionCreatePlainTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_P));
+
495  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
496  connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool()));
497 
-
498  actionCreateLineTool = new QAction(tr("&Line"), this);
-
499  actionCreateLineTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_L));
-
500  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
501  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool()));
-
502 
-
503  actionCreateCircleTool = new QAction(tr("&Circle"), this);
-
504  actionCreateCircleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_C));
-
505  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
506  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotCreateCircleTool()));
-
507 
-
508  actionCreateRectangleTool = new QAction(tr("&Rectangle"), this);
-
509  actionCreateRectangleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_R));
-
510  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
511  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotCreateRectangleTool()));
-
512 
-
513  actionCreatePolygonTool = new QAction(tr("&Polygon"), this);
-
514  actionCreatePolygonTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_V));
-
515  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
516  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotCreatePolygonTool()));
-
517 
-
518  actionCreateFloodFillTool = new QAction(tr("&FloodFill"), this);
-
519  actionCreateFloodFillTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_F));
-
520  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotResetTools()));
-
521  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotCreateFloodFillTool()));
-
522 
-
523  // Create about action and tie to IntelliPhotoGui::about()
-
524  actionAboutDialog = new QAction(tr("&About"), this);
-
525  actionAboutDialog->setShortcut(Qt::Key_F2);
-
526  connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog()));
-
527 
-
528  // Create about Qt action and tie to IntelliPhotoGui::aboutQt()
-
529  actionAboutQtDialog = new QAction(tr("About &Qt"), this);
-
530  actionAboutQtDialog->setShortcut(Qt::Key_F3);
-
531  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
-
532 
-
533  connect(EditLineWidth, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
-
534  connect(EditLineInnerAlpha, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
-
535 
-
536  connect(CircleButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
537  connect(CircleButton, SIGNAL(clicked()), this, SLOT(slotCreateCircleTool()));
-
538 
-
539  connect(FloodFillButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
540  connect(FloodFillButton, SIGNAL(clicked()), this, SLOT(slotCreateFloodFillTool()));
+
498 
+
499  actionCreatePenTool = new QAction(tr("&Pen"),this);
+
500  actionCreatePenTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_S));
+
501  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
502  connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool()));
+
503 
+
504  actionCreateLineTool = new QAction(tr("&Line"), this);
+
505  actionCreateLineTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_L));
+
506  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
507  connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool()));
+
508 
+
509  actionCreateCircleTool = new QAction(tr("&Circle"), this);
+
510  actionCreateCircleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_C));
+
511  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
512  connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotCreateCircleTool()));
+
513 
+
514  actionCreateRectangleTool = new QAction(tr("&Rectangle"), this);
+
515  actionCreateRectangleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_R));
+
516  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
517  connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotCreateRectangleTool()));
+
518 
+
519  actionCreatePolygonTool = new QAction(tr("&Polygon"), this);
+
520  actionCreatePolygonTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_V));
+
521  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
522  connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotCreatePolygonTool()));
+
523 
+
524  actionCreateFloodFillTool = new QAction(tr("&FloodFill"), this);
+
525  actionCreateFloodFillTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_F));
+
526  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
527  connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotCreateFloodFillTool()));
+
528 
+
529  actionCreateGradientTool = new QAction(tr("&Gradient"),this);
+
530  actionCreateGradientTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_G));
+
531  connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons()));
+
532  connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotCreateGradientTool()));
+
533 
+
534  // Create about action and tie to IntelliPhotoGui::about()
+
535  actionAboutDialog = new QAction(tr("&About"), this);
+
536  connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog()));
+
537 
+
538  // Create about Qt action and tie to IntelliPhotoGui::aboutQt()
+
539  actionAboutQtDialog = new QAction(tr("About &Qt"), this);
+
540  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
541 
-
542  connect(LineButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
543  connect(LineButton, SIGNAL(clicked()), this, SLOT(slotCreateLineTool()));
+
542  connect(EditLineWidth, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
+
543  connect(EditLineInnerAlpha, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed()));
544 
-
545  connect(PenButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
546  connect(PenButton, SIGNAL(clicked()), this, SLOT(slotCreatePenTool()));
+
545  connect(CircleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
546  connect(CircleButton, SIGNAL(clicked()), this, SLOT(slotCreateCircleTool()));
547 
-
548  connect(PlainButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
549  connect(PlainButton, SIGNAL(clicked()), this, SLOT(slotCreatePlainTool()));
+
548  connect(FloodFillButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
549  connect(FloodFillButton, SIGNAL(clicked()), this, SLOT(slotCreateFloodFillTool()));
550 
-
551  connect(PolygonButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
552  connect(PolygonButton, SIGNAL(clicked()), this, SLOT(slotCreatePolygonTool()));
+
551  connect(GradientButton, SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
552  connect(GradientButton, SIGNAL(clicked()), this, SLOT(slotCreateGradientTool()));
553 
-
554  connect(RectangleButton,SIGNAL(pressed()), this, SLOT(slotResetTools()));
-
555  connect(RectangleButton, SIGNAL(clicked()), this, SLOT(slotCreateRectangleTool()));
+
554  connect(LineButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
555  connect(LineButton, SIGNAL(clicked()), this, SLOT(slotCreateLineTool()));
556 
-
557  actionSetWidth = new QAction(tr("&Set Width"),this);
-
558  actionSetWidth->setShortcut(QKeySequence(Qt::ALT + Qt::Key_W));
-
559  connect(actionSetWidth, SIGNAL(triggered()), this, SLOT(slotSetWidth()));
-
560 
-
561  actionSetInnerAlpha = new QAction(tr("&Set Inner Alpha"),this);
-
562  actionSetInnerAlpha->setShortcut(QKeySequence(Qt::ALT + Qt::Key_A));
-
563  connect(actionSetInnerAlpha, SIGNAL(triggered()), this, SLOT(slotSetInnerAlpha()));
-
564 
-
565  actionGoBack = new QAction(tr("&Go back"),this);
-
566  actionGoBack->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Z));
-
567  connect(actionGoBack, SIGNAL(triggered()), this, SLOT(slotGoBack()));
+
557  connect(PenButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
558  connect(PenButton, SIGNAL(clicked()), this, SLOT(slotCreatePenTool()));
+
559 
+
560  connect(PlainButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
561  connect(PlainButton, SIGNAL(clicked()), this, SLOT(slotCreatePlainTool()));
+
562 
+
563  connect(PolygonButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
564  connect(PolygonButton, SIGNAL(clicked()), this, SLOT(slotCreatePolygonTool()));
+
565 
+
566  connect(RectangleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons()));
+
567  connect(RectangleButton, SIGNAL(clicked()), this, SLOT(slotCreateRectangleTool()));
568 
-
569  actionGoForward = new QAction(tr("&Go forward"),this);
-
570  actionGoForward->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Y));
-
571  connect(actionGoForward, SIGNAL(triggered()), this, SLOT(slotGoForward()));
-
572 }
-
573 
-
574 // Create the menubar
-
575 void IntelliPhotoGui::createMenus(){
-
576  // Create Save As option and the list of file types
-
577  saveAsMenu = new QMenu(tr("&Save As"), this);
-
578  foreach (QAction * action, actionSaveAs)
-
579  saveAsMenu->addAction(action);
+
569  actionSetWidth = new QAction(tr("&Set Width"),this);
+
570  actionSetWidth->setShortcut(QKeySequence(Qt::ALT + Qt::Key_W));
+
571  connect(actionSetWidth, SIGNAL(triggered()), this, SLOT(slotSetWidth()));
+
572 
+
573  actionSetInnerAlpha = new QAction(tr("&Set Inner Alpha"),this);
+
574  actionSetInnerAlpha->setShortcut(QKeySequence(Qt::ALT + Qt::Key_A));
+
575  connect(actionSetInnerAlpha, SIGNAL(triggered()), this, SLOT(slotSetInnerAlpha()));
+
576 
+
577  actionGoBack = new QAction(tr("&Undo"),this);
+
578  actionGoBack->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Z));
+
579  connect(actionGoBack, SIGNAL(triggered()), this, SLOT(slotGoBack()));
580 
-
581  // Attach all actions to File
-
582  fileMenu = new QMenu(tr("&File"), this);
-
583  fileMenu->addAction(actionOpen);
-
584  fileMenu->addMenu(saveAsMenu);
-
585  fileMenu->addSeparator();
-
586  fileMenu->addAction(actionExit);
-
587 
-
588  //Attach all actions to Render Settings
-
589  renderMenu = new QMenu(tr("&Fast Renderer"), this);
-
590  renderMenu->addAction(actionUpdateRenderSettingsOn);
-
591  renderMenu->addAction(actionUpdateRenderSettingsOff);
+
581  actionGoForward = new QAction(tr("&Redo"),this);
+
582  actionGoForward->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Y));
+
583  connect(actionGoForward, SIGNAL(triggered()), this, SLOT(slotGoForward()));
+
584 }
+
585 
+
586 // Create the menubar
+
587 void IntelliPhotoGui::createMenus(){
+
588  // Create Save As option and the list of file types
+
589  saveAsMenu = new QMenu(tr("&Export As"), this);
+
590  foreach (QAction * action, actionSaveAs)
+
591  saveAsMenu->addAction(action);
592 
-
593  //Attach all Layer Creations to Menu
-
594  layerCreationMenu = new QMenu(tr("&Create new Layer"), this);
-
595  layerCreationMenu->addAction(actionCreateNewRasterLayer);
-
596  layerCreationMenu->addAction(actionCreateNewShapedLayer);
-
597 
-
598  // Attach all actions to Layer
-
599  layerMenu = new QMenu(tr("&Layer"), this);
-
600  layerMenu->addMenu(layerCreationMenu);
-
601  layerMenu->addSeparator();
-
602  layerMenu->addAction(actionSetActiveAlpha);
-
603  layerMenu->addAction(actionSetActiveLayer);
-
604  layerMenu->addAction(actionSetPolygon);
-
605  layerMenu->addSeparator();
-
606  layerMenu->addAction(actionMovePositionUp);
-
607  layerMenu->addAction(actionMovePositionDown);
-
608  layerMenu->addAction(actionMovePositionLeft);
-
609  layerMenu->addAction(actionMovePositionRight);
-
610  layerMenu->addAction(actionMoveLayerUp);
-
611  layerMenu->addAction(actionMoveLayerDown);
-
612  layerMenu->addSeparator();
-
613  layerMenu->addAction(actionDeleteLayer);
-
614 
-
615  //Attach all Color Options
-
616  colorMenu = new QMenu(tr("&Color"), this);
-
617  colorMenu->addAction(actionColorPickerFirstColor);
-
618  colorMenu->addAction(actionColorPickerSecondColor);
-
619  colorMenu->addAction(actionColorSwap);
-
620 
-
621  //Attach all Tool Creation Actions
-
622  toolCreationMenu = new QMenu(tr("&Drawingtools"), this);
-
623  toolCreationMenu->addAction(actionCreateCircleTool);
-
624  toolCreationMenu->addAction(actionCreateFloodFillTool);
-
625  toolCreationMenu->addAction(actionCreateLineTool);
-
626  toolCreationMenu->addAction(actionCreatePenTool);
-
627  toolCreationMenu->addAction(actionCreatePlainTool);
-
628  toolCreationMenu->addAction(actionCreatePolygonTool);
-
629  toolCreationMenu->addAction(actionCreateRectangleTool);
-
630 
-
631  //Attach all Tool Setting Actions
-
632  toolSettingsMenu = new QMenu(tr("&Toolsettings"), this);
-
633  toolSettingsMenu->addAction(actionSetWidth);
-
634  toolSettingsMenu->addAction(actionSetInnerAlpha);
-
635 
-
636  //Attach all Tool Options
-
637  toolMenu = new QMenu(tr("&Tools"), this);
-
638  toolMenu->addMenu(toolCreationMenu);
-
639  toolMenu->addMenu(toolSettingsMenu);
-
640  toolMenu->addSeparator();
-
641  toolMenu->addMenu(colorMenu);
-
642 
-
643  // Attach all actions to Options
-
644  optionMenu = new QMenu(tr("&Options"), this);
-
645  optionMenu->addAction(actionGoBack);
-
646  optionMenu->addAction(actionGoForward);
-
647  optionMenu->addMenu(layerMenu);
-
648  optionMenu->addMenu(toolMenu);
-
649  optionMenu->addSeparator();
-
650  optionMenu->addMenu(renderMenu);
-
651  optionMenu->addAction(actionChangeDim);
-
652 
-
653  // Attach all actions to Help
-
654  helpMenu = new QMenu(tr("&Help"), this);
-
655  helpMenu->addAction(actionAboutDialog);
-
656  helpMenu->addAction(actionAboutQtDialog);
-
657 
-
658  // Add menu items to the menubar
-
659  menuBar()->addMenu(fileMenu);
-
660  menuBar()->addMenu(optionMenu);
-
661  menuBar()->addMenu(helpMenu);
-
662 }
-
663 
-
664 void IntelliPhotoGui::createGui(){
-
665  // create a central widget to work on
-
666  centralGuiWidget = new QWidget(this);
-
667  setCentralWidget(centralGuiWidget);
+
593  // Attach all actions to file menu
+
594  fileMenu = new QMenu(tr("&File"), this);
+
595  fileMenu->addAction(actionOpen);
+
596  fileMenu->addMenu(saveAsMenu);
+
597  fileMenu->addSeparator();
+
598  fileMenu->addAction(actionExit);
+
599 
+
600  // Attach the save project option to file menu
+
601  QAction*projectSaveAction = new QAction("Save Project", this);
+
602  projectSaveAction->setData("idf");
+
603  connect(projectSaveAction, SIGNAL(triggered()), this, SLOT(slotSave()));
+
604  projectSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S));
+
605  fileMenu->addAction(projectSaveAction);
+
606 
+
607  // Attach all actions to Render Settings
+
608  renderMenu = new QMenu(tr("&Fast Renderer"), this);
+
609  renderMenu->addAction(actionUpdateFastRenderSettingsOn);
+
610  renderMenu->addAction(actionUpdateFastRenderSettingsOff);
+
611 
+
612  // Attach all Layer Creations to Menu
+
613  layerCreationMenu = new QMenu(tr("&Create Layer"), this);
+
614  layerCreationMenu->addAction(actionCreateNewRasterLayer);
+
615  layerCreationMenu->addAction(actionCreateNewShapedLayer);
+
616 
+
617  // Attach all actions to Layer
+
618  layerMenu = new QMenu(tr("&Layer"), this);
+
619  layerMenu->addMenu(layerCreationMenu);
+
620  layerMenu->addSeparator();
+
621  layerMenu->addAction(actionSetActiveAlpha);
+
622  layerMenu->addAction(actionSetActiveLayer);
+
623  layerMenu->addAction(actionSetPolygon);
+
624  layerMenu->addSeparator();
+
625  layerMenu->addAction(actionMovePositionUp);
+
626  layerMenu->addAction(actionMovePositionDown);
+
627  layerMenu->addAction(actionMovePositionLeft);
+
628  layerMenu->addAction(actionMovePositionRight);
+
629  layerMenu->addAction(actionMoveLayerUp);
+
630  layerMenu->addAction(actionMoveLayerDown);
+
631  layerMenu->addSeparator();
+
632  layerMenu->addAction(actionDeleteLayer);
+
633 
+
634  // Attach all Color Options
+
635  colorMenu = new QMenu(tr("&Color"), this);
+
636  colorMenu->addAction(actionColorPickerFirstColor);
+
637  colorMenu->addAction(actionColorPickerSecondColor);
+
638  colorMenu->addAction(actionColorSwap);
+
639 
+
640  // Attach all Tool Creation Actions
+
641  toolCreationMenu = new QMenu(tr("&Tool Selection"), this);
+
642  toolCreationMenu->addAction(actionCreateCircleTool);
+
643  toolCreationMenu->addAction(actionCreateFloodFillTool);
+
644  toolCreationMenu->addAction(actionCreateGradientTool);
+
645  toolCreationMenu->addAction(actionCreateLineTool);
+
646  toolCreationMenu->addAction(actionCreatePenTool);
+
647  toolCreationMenu->addAction(actionCreatePlainTool);
+
648  toolCreationMenu->addAction(actionCreatePolygonTool);
+
649  toolCreationMenu->addAction(actionCreateRectangleTool);
+
650 
+
651  // Attach all Tool Setting Actions
+
652  toolSettingsMenu = new QMenu(tr("&Tool Settings"), this);
+
653  toolSettingsMenu->addAction(actionSetWidth);
+
654  toolSettingsMenu->addAction(actionSetInnerAlpha);
+
655 
+
656  // Attach all Tool Options
+
657  toolMenu = new QMenu(tr("&Tools"), this);
+
658  toolMenu->addMenu(toolCreationMenu);
+
659  toolMenu->addMenu(toolSettingsMenu);
+
660 
+
661  // Attach all actions to Options
+
662  optionMenu = new QMenu(tr("&Options"), this);
+
663  optionMenu->addAction(actionGoBack);
+
664  optionMenu->addAction(actionGoForward);
+
665  optionMenu->addSeparator();
+
666  optionMenu->addMenu(renderMenu);
+
667  optionMenu->addAction(actionChangeDim);
668 
-
669  // create the grid for the layout
-
670  mainLayout = new QGridLayout(centralGuiWidget);
-
671  centralGuiWidget->setLayout(mainLayout);
-
672 
-
673  // create Gui elements
-
674  // get and set max width and height
-
675  paintingArea = new PaintingArea(1280, 720);
-
676  paintingArea->guiReference = this;
-
677 
-
678  preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg");
-
679  CircleButton = new QPushButton();
-
680  CircleButton->setFixedSize(Buttonsize);
-
681  CircleButton->setIcon(preview);
-
682  CircleButton->setIconSize(Buttonsize);
-
683  CircleButton->setCheckable(true);
-
684 
-
685  preview = QPixmap(":/Icons/Buttons/icons/flood-fill-tool.svg");
-
686  FloodFillButton = new QPushButton();
-
687  FloodFillButton->setFixedSize(Buttonsize);
-
688  FloodFillButton->setIcon(preview);
-
689  FloodFillButton->setIconSize(Buttonsize);
-
690  FloodFillButton->setCheckable(true);
+
669  // Attach all actions to Help
+
670  helpMenu = new QMenu(tr("&Help"), this);
+
671  helpMenu->addAction(actionAboutDialog);
+
672  helpMenu->addAction(actionAboutQtDialog);
+
673 
+
674  // Add menu items to the menubar
+
675  menuBar()->addMenu(fileMenu);
+
676  menuBar()->addMenu(optionMenu);
+
677  menuBar()->addMenu(layerMenu);
+
678  menuBar()->addMenu(toolMenu);
+
679  menuBar()->addMenu(colorMenu);
+
680  menuBar()->addMenu(helpMenu);
+
681 }
+
682 
+
683 void IntelliPhotoGui::createGui(){
+
684  // create a central widget to work on
+
685  centralGuiWidget = new QWidget(this);
+
686  setCentralWidget(centralGuiWidget);
+
687 
+
688  // create the grid for the layout
+
689  mainLayout = new QGridLayout(centralGuiWidget);
+
690  centralGuiWidget->setLayout(mainLayout);
691 
-
692  preview = QPixmap(":/Icons/Buttons/icons/line-tool.svg");
-
693  LineButton = new QPushButton();
-
694  LineButton->setFixedSize(Buttonsize);
-
695  LineButton->setIcon(preview);
-
696  LineButton->setIconSize(Buttonsize);
-
697  LineButton->setCheckable(true);
-
698 
-
699  preview = QPixmap(":/Icons/Buttons/icons/pen-tool.svg");
-
700  PenButton = new QPushButton();
-
701  PenButton->setFixedSize(Buttonsize);
-
702  PenButton->setIcon(preview);
-
703  PenButton->setIconSize(Buttonsize);
-
704  PenButton->setCheckable(true);
-
705 
-
706  preview = QPixmap(":/Icons/Buttons/icons/plain-tool.svg");
-
707  PlainButton = new QPushButton();
-
708  PlainButton->setFixedSize(Buttonsize);
-
709  PlainButton->setIcon(preview);
-
710  PlainButton->setIconSize(Buttonsize);
-
711  PlainButton->setCheckable(true);
-
712 
-
713  preview = QPixmap(":/Icons/Buttons/icons/polygon-tool.svg");
-
714  PolygonButton = new QPushButton();
-
715  PolygonButton->setFixedSize(Buttonsize);
-
716  PolygonButton->setIcon(preview);
-
717  PolygonButton->setIconSize(Buttonsize);
-
718  PolygonButton->setCheckable(true);
-
719 
-
720  preview = QPixmap(":/Icons/Buttons/icons/rectangle-tool.svg");
-
721  RectangleButton = new QPushButton();
-
722  RectangleButton->setFixedSize(Buttonsize);
-
723  RectangleButton->setIcon(preview);
-
724  RectangleButton->setIconSize(Buttonsize);
-
725  RectangleButton->setCheckable(true);
-
726 
-
727  WidthLine = new QLabel();
-
728  WidthLine->setText("Width");
-
729  WidthLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
-
730 
-
731  EditLineWidth = new QLineEdit();
-
732  EditLineWidth->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
-
733  EditLineWidth->setText("5");
-
734  ValidatorLineWidth = new QIntValidator();
-
735  ValidatorLineWidth->setTop(99);
-
736  ValidatorLineWidth->setBottom(1);
-
737  EditLineWidth->setValidator(ValidatorLineWidth);
-
738 
-
739  innerAlphaLine = new QLabel();
-
740  innerAlphaLine->setText("Inner Alpha");
-
741  innerAlphaLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
-
742 
-
743  EditLineInnerAlpha = new QLineEdit();
-
744  EditLineInnerAlpha->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
-
745  EditLineInnerAlpha->setText("255");
-
746  ValidatorInnerAlpha = new QIntValidator();
-
747  ValidatorInnerAlpha->setTop(999);
-
748  ValidatorInnerAlpha->setBottom(0);
-
749  EditLineInnerAlpha->setValidator(ValidatorInnerAlpha);
+
692  // create Gui elements
+
693  // get and set max width and height
+
694  paintingArea = new PaintingArea(1280, 720);
+
695  paintingArea->guiReference = this;
+
696 
+
697  QScreen*screen = QGuiApplication::primaryScreen();
+
698  QRect screenGeometry = screen->geometry();
+
699  Buttonsize.setWidth(screenGeometry.width() / 20);
+
700  Buttonsize.setHeight(screenGeometry.height() / 20);
+
701 
+
702  preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg");
+
703  CircleButton = new QPushButton();
+
704  CircleButton->setFixedSize(Buttonsize);
+
705  CircleButton->setIcon(preview);
+
706  CircleButton->setIconSize(Buttonsize);
+
707  CircleButton->setCheckable(true);
+
708 
+
709  preview = QPixmap(":/Icons/Buttons/icons/flood-fill-tool.svg");
+
710  FloodFillButton = new QPushButton();
+
711  FloodFillButton->setFixedSize(Buttonsize);
+
712  FloodFillButton->setIcon(preview);
+
713  FloodFillButton->setIconSize(Buttonsize);
+
714  FloodFillButton->setCheckable(true);
+
715 
+
716  preview = QPixmap(":/Icons/Buttons/icons/gradient-tool.svg");
+
717  GradientButton = new QPushButton();
+
718  GradientButton->setFixedSize(Buttonsize);
+
719  GradientButton->setIcon(preview);
+
720  GradientButton->setIconSize(Buttonsize);
+
721  GradientButton->setCheckable(true);
+
722 
+
723  preview = QPixmap(":/Icons/Buttons/icons/line-tool.svg");
+
724  LineButton = new QPushButton();
+
725  LineButton->setFixedSize(Buttonsize);
+
726  LineButton->setIcon(preview);
+
727  LineButton->setIconSize(Buttonsize);
+
728  LineButton->setCheckable(true);
+
729 
+
730  preview = QPixmap(":/Icons/Buttons/icons/pen-tool.svg");
+
731  PenButton = new QPushButton();
+
732  PenButton->setFixedSize(Buttonsize);
+
733  PenButton->setIcon(preview);
+
734  PenButton->setIconSize(Buttonsize);
+
735  PenButton->setCheckable(true);
+
736 
+
737  preview = QPixmap(":/Icons/Buttons/icons/plain-tool.svg");
+
738  PlainButton = new QPushButton();
+
739  PlainButton->setFixedSize(Buttonsize);
+
740  PlainButton->setIcon(preview);
+
741  PlainButton->setIconSize(Buttonsize);
+
742  PlainButton->setCheckable(true);
+
743 
+
744  preview = QPixmap(":/Icons/Buttons/icons/polygon-tool.svg");
+
745  PolygonButton = new QPushButton();
+
746  PolygonButton->setFixedSize(Buttonsize);
+
747  PolygonButton->setIcon(preview);
+
748  PolygonButton->setIconSize(Buttonsize);
+
749  PolygonButton->setCheckable(true);
750 
-
751  FirstColorButton = new QPushButton();
-
752  FirstColorButton->setFixedSize(Buttonsize);
-
753 
-
754  SecondColorButton = new QPushButton();
-
755  SecondColorButton->setFixedSize(Buttonsize);
-
756 
-
757  preview = QPixmap(":/Icons/Buttons/icons/Wechselpfeile.png");
-
758  SwitchColorButton = new QPushButton();
-
759  SwitchColorButton->setFixedSize(Buttonsize.width() * 2,Buttonsize.height());
-
760  SwitchColorButton->setIcon(preview);
-
761  SwitchColorButton->setIconSize(QSize(Buttonsize.width() * 2,Buttonsize.height()));
-
762 
-
763  ActiveLayerLine = new QLabel();
-
764  QString string = QString("Active Layer: %1").arg(paintingArea->getNumberOfActiveLayer() + 1);
-
765  ActiveLayerLine->setText(string);
-
766  ActiveLayerLine->setFixedSize(Buttonsize.width() * 2 + 10,(Buttonsize.height() * 2) / 3);
-
767 
-
768  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
-
769  if(activePicture) {
-
770  preview = preview.fromImage(activePicture->getImageData());
-
771  }else{
-
772  QImage tmp(1,1,QImage::Format_ARGB32);
-
773  tmp.fill(Qt::transparent);
-
774  preview = preview.fromImage(tmp);
-
775  }
-
776 
-
777  ActiveLayerImageLabel = new QLabel();
-
778  ActiveLayerImageLabel->setFixedSize(Buttonsize * 2);
-
779  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
-
780 
-
781  dimActive = new QPushButton();
-
782  dimActive->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
-
783  dimActive->setText("0x0");
+
751  preview = QPixmap(":/Icons/Buttons/icons/rectangle-tool.svg");
+
752  RectangleButton = new QPushButton();
+
753  RectangleButton->setFixedSize(Buttonsize);
+
754  RectangleButton->setIcon(preview);
+
755  RectangleButton->setIconSize(Buttonsize);
+
756  RectangleButton->setCheckable(true);
+
757 
+
758  WidthLine = new QLabel();
+
759  WidthLine->setText("Width");
+
760  WidthLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
761 
+
762  EditLineWidth = new QLineEdit();
+
763  EditLineWidth->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
764  EditLineWidth->setText("5");
+
765  ValidatorLineWidth = new QIntValidator();
+
766  ValidatorLineWidth->setTop(99);
+
767  ValidatorLineWidth->setBottom(1);
+
768  EditLineWidth->setValidator(ValidatorLineWidth);
+
769 
+
770  innerAlphaLine = new QLabel();
+
771  innerAlphaLine->setText("Inner Alpha");
+
772  innerAlphaLine->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
773 
+
774  EditLineInnerAlpha = new QLineEdit();
+
775  EditLineInnerAlpha->setFixedSize(Buttonsize.width() * 2,(Buttonsize.height() * 2) / 3);
+
776  EditLineInnerAlpha->setText("255");
+
777  ValidatorInnerAlpha = new QIntValidator();
+
778  ValidatorInnerAlpha->setTop(999);
+
779  ValidatorInnerAlpha->setBottom(0);
+
780  EditLineInnerAlpha->setValidator(ValidatorInnerAlpha);
+
781 
+
782  FirstColorButton = new QPushButton();
+
783  FirstColorButton->setFixedSize(Buttonsize);
784 
-
785  dimCanvas = new QPushButton();
-
786  dimCanvas->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
-
787  QString String = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
-
788  dimCanvas->setText(String);
-
789 
-
790  ScrollArea = new QScrollArea(this);
-
791  ScrollArea->setBackgroundRole(QPalette::Dark);
-
792  ScrollArea->setWidget(paintingArea);
-
793  ScrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
-
794  ScrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
-
795 
-
796  // set gui elements
-
797  mainLayout->addWidget(ScrollArea,1,1,20,1);
-
798  mainLayout->addWidget(CircleButton,1,2,1,1);
-
799  mainLayout->addWidget(FloodFillButton,1,3,1,1);
-
800  mainLayout->addWidget(LineButton,2,2,1,1);
-
801  mainLayout->addWidget(PenButton,2,3,1,1);
-
802  mainLayout->addWidget(PlainButton,3,2,1,1);
-
803  mainLayout->addWidget(PolygonButton,3,3,1,1);
-
804  mainLayout->addWidget(RectangleButton,4,2,1,1);
-
805  mainLayout->addWidget(WidthLine,5,2,1,2);
-
806  mainLayout->addWidget(EditLineWidth,6,2,1,2);
-
807  mainLayout->addWidget(innerAlphaLine,7,2,1,2);
-
808  mainLayout->addWidget(EditLineInnerAlpha,8,2,1,2);
-
809  mainLayout->addWidget(FirstColorButton,9,2,1,1);
-
810  mainLayout->addWidget(SecondColorButton,9,3,1,1);
-
811  mainLayout->addWidget(SwitchColorButton,10,2,1,2);
-
812  mainLayout->addWidget(ActiveLayerLine,11,2,1,2);
-
813  mainLayout->addWidget(ActiveLayerImageLabel,12,2,1,2);
-
814  mainLayout->addWidget(dimActive,13,2,1,2);
-
815  mainLayout->addWidget(dimCanvas,14,2,1,2);
-
816  mainLayout->setHorizontalSpacing(0);
-
817 
-
818 }
-
819 
-
820 void IntelliPhotoGui::setIntelliStyle(){
-
821  // Set the title
-
822  setWindowTitle("IntelliPhoto Prototype");
-
823  // Set style sheet
-
824  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
-
825 
-
826  QString string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
-
827  FirstColorButton->setStyleSheet(string);
-
828  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
-
829  SecondColorButton->setStyleSheet(string);
-
830 }
-
831 
-
832 bool IntelliPhotoGui::maybeSave(){
-
833  // Check for changes since last save
-
834 #ifdef QT_NO_DEBUG
-
835  QMessageBox::StandardButton ret;
-
836 
-
837  // Painting is the title of the window
-
838  // Add text and the buttons
-
839  ret = QMessageBox::warning(this, tr("Painting"),
-
840  tr("The image has been modified.\n"
-
841  "Do you want to save your changes?"),
-
842  QMessageBox::Save | QMessageBox::Discard
-
843  | QMessageBox::Cancel);
-
844 
-
845  // If save button clicked call for file to be saved
-
846  if (ret == QMessageBox::Save) {
-
847  return saveFile("png");
-
848 
-
849  // If cancel do nothing
-
850  } else if (ret == QMessageBox::Cancel) {
-
851  return false;
-
852  }
-
853 #endif
-
854  return true;
+
785  SecondColorButton = new QPushButton();
+
786  SecondColorButton->setFixedSize(Buttonsize);
+
787 
+
788  preview = QPixmap(":/Icons/Buttons/icons/Wechselpfeile.png");
+
789  SwitchColorButton = new QPushButton();
+
790  SwitchColorButton->setFixedSize(Buttonsize.width() * 2,Buttonsize.height());
+
791  SwitchColorButton->setIcon(preview);
+
792  SwitchColorButton->setIconSize(QSize(Buttonsize.width() * 2,Buttonsize.height()));
+
793 
+
794  ActiveLayerLabel = new QLabel();
+
795  QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1);
+
796  ActiveLayerLabel->setText(string);
+
797  ActiveLayerLabel->setFixedSize(Buttonsize.width() * 2 + 10,(Buttonsize.height() * 2) / 3);
+
798 
+
799  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
+
800  if(activePicture) {
+
801  preview = preview.fromImage(activePicture->getImageData());
+
802  }else{
+
803  QImage tmp(1,1,QImage::Format_ARGB32);
+
804  tmp.fill(Qt::transparent);
+
805  preview = preview.fromImage(tmp);
+
806  }
+
807 
+
808  ActiveLayerImageLabel = new QLabel();
+
809  ActiveLayerImageLabel->setFixedSize(Buttonsize * 2);
+
810  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
+
811 
+
812  dimActive = new QPushButton();
+
813  dimActive->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
+
814  dimActive->setText("0x0");
+
815 
+
816  dimCanvas = new QPushButton();
+
817  dimCanvas->setFixedSize(Buttonsize.width() * 2,Buttonsize.height() / 2);
+
818  QString String = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
+
819  dimCanvas->setText(String);
+
820 
+
821  FastRendererLabel = new QLabel();
+
822  FastRendererLabel->setFixedSize(Buttonsize.width() * 2 + 15,(Buttonsize.height() * 2) / 3);
+
823  FastRendererLabel->setText("Fast Render: On");
+
824 
+
825  ScrollArea = new QScrollArea(this);
+
826  ScrollArea->setBackgroundRole(QPalette::Dark);
+
827  ScrollArea->setWidget(paintingArea);
+
828  ScrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
+
829  ScrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
+
830 
+
831  // set gui elements
+
832  mainLayout->addWidget(ScrollArea,1,1,20,1);
+
833  mainLayout->addWidget(CircleButton,1,2,1,1);
+
834  mainLayout->addWidget(FloodFillButton,1,3,1,1);
+
835  mainLayout->addWidget(LineButton,2,2,1,1);
+
836  mainLayout->addWidget(PenButton,2,3,1,1);
+
837  mainLayout->addWidget(PlainButton,3,2,1,1);
+
838  mainLayout->addWidget(PolygonButton,3,3,1,1);
+
839  mainLayout->addWidget(RectangleButton,4,2,1,1);
+
840  mainLayout->addWidget(GradientButton,4,3,1,1);
+
841  mainLayout->addWidget(WidthLine,5,2,1,2);
+
842  mainLayout->addWidget(EditLineWidth,6,2,1,2);
+
843  mainLayout->addWidget(innerAlphaLine,7,2,1,2);
+
844  mainLayout->addWidget(EditLineInnerAlpha,8,2,1,2);
+
845  mainLayout->addWidget(FirstColorButton,9,2,1,1);
+
846  mainLayout->addWidget(SecondColorButton,9,3,1,1);
+
847  mainLayout->addWidget(SwitchColorButton,10,2,1,2);
+
848  mainLayout->addWidget(ActiveLayerLabel,11,2,1,2);
+
849  mainLayout->addWidget(ActiveLayerImageLabel,12,2,1,2);
+
850  mainLayout->addWidget(dimActive,13,2,1,2);
+
851  mainLayout->addWidget(dimCanvas,14,2,1,2);
+
852  mainLayout->addWidget(FastRendererLabel,15,2,1,2);
+
853  mainLayout->setHorizontalSpacing(0);
+
854 
855 }
856 
-
857 bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
-
858  // Define path, name and default file type
-
859  QString initialPath = QDir::currentPath() + "/untitled." + fileFormat;
-
860 
-
861  // Get selected file from dialog
-
862  // Add the proper file formats and extensions
-
863  QString fileName = QFileDialog::getSaveFileName(this, tr("Save As"),
-
864  initialPath,
-
865  tr("%1 Files (*.%2);;All Files (*)")
-
866  .arg(QString::fromLatin1(fileFormat.toUpper()))
-
867  .arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
+
857 void IntelliPhotoGui::setIntelliStyle(){
+
858  // Set the title
+
859  setWindowTitle("IntelliPhoto Prototype");
+
860  // Set style sheet
+
861  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
+
862 
+
863  QString string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
+
864  FirstColorButton->setStyleSheet(string);
+
865  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
+
866  SecondColorButton->setStyleSheet(string);
+
867 }
868 
-
869  // If no file do nothing
-
870  if (fileName.isEmpty()) {
-
871  return false;
-
872  } else {
-
873  // Call for the file to be saved
-
874  if(fileFormat == "idf") {
-
875  return IntelliDatamanager::saveProject(paintingArea, fileName);
-
876 
-
877  }
-
878  return paintingArea->save(fileName, fileFormat.constData());
-
879  }
-
880 }
+
869 bool IntelliPhotoGui::maybeSave(){
+
870  // Check for changes since last save
+
871 #ifdef QT_NO_DEBUG
+
872  QMessageBox::StandardButton ret;
+
873 
+
874  // Painting is the title of the window
+
875  // Add text and the buttons
+
876  ret = QMessageBox::warning(this, tr("Painting"),
+
877  tr("The image has been modified.\n"
+
878  "Do you want to save your changes?"),
+
879  QMessageBox::Save | QMessageBox::Discard
+
880  | QMessageBox::Cancel);
881 
-
882 void IntelliPhotoGui::setDefaultValues(){
-
883  slotEnterPressed();
-
884 }
+
882  // If save button clicked call for file to be saved
+
883  if (ret == QMessageBox::Save) {
+
884  return saveFile("png");
885 
- -
887  if(value < 1) {
-
888  value = 1;
-
889  }else if(value > 50) {
-
890  value = 50;
-
891  }
-
892  EditLineWidth->setText(QString("%1").arg(value));
-
893 }
-
894 
- -
896  QString string = QString("Active Layer: %1").arg(paintingArea->getNumberOfActiveLayer() + 1);
-
897  ActiveLayerLine->setText(string);
-
898 
-
899  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
-
900  if(activePicture) {
-
901  preview = preview.fromImage(activePicture->getImageData());
-
902  }else{
-
903  QImage tmp(1,1,QImage::Format_ARGB32);
-
904  tmp.fill(Qt::transparent);
-
905  preview = preview.fromImage(tmp);
-
906  }
-
907 
-
908 
-
909  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
-
910 
-
911  string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
-
912  FirstColorButton->setStyleSheet(string);
-
913  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
-
914  SecondColorButton->setStyleSheet(string);
-
915 
-
916  string = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
-
917  dimCanvas->setText(string);
+
886  // If cancel do nothing
+
887  } else if (ret == QMessageBox::Cancel) {
+
888  return false;
+
889  }
+
890 #endif
+
891  return true;
+
892 }
+
893 
+
894 bool IntelliPhotoGui::saveFile(const QByteArray &fileFormat){
+
895  // Define path, name and default file type
+
896  QString initialPath = QDir::currentPath() + "/untitled." + fileFormat;
+
897 
+
898  // Get selected file from dialog
+
899  // Add the proper file formats and extensions
+
900  QString fileName = QFileDialog::getSaveFileName(this, tr("Save As"),
+
901  initialPath,
+
902  tr("%1 Files (*.%2);;All Files (*)")
+
903  .arg(QString::fromLatin1(fileFormat.toUpper()))
+
904  .arg(QString::fromLatin1(fileFormat)), nullptr, QFileDialog::DontUseNativeDialog);
+
905 
+
906  // If no file do nothing
+
907  if (fileName.isEmpty()) {
+
908  return false;
+
909  } else {
+
910  // Call for the file to be saved
+
911  if(fileFormat == "idf") {
+
912  return IntelliDatamanager::saveProject(paintingArea, fileName);
+
913 
+
914  }
+
915  return paintingArea->save(fileName, fileFormat.constData());
+
916  }
+
917 }
918 
-
919  if(paintingArea->layerBundle.size() != 0) {
-
920  string = QString("%1x%2").arg(paintingArea->layerBundle[static_cast<size_t>
-
921  (paintingArea->getNumberOfActiveLayer())].width).arg(paintingArea->layerBundle[static_cast<size_t>
-
922  (paintingArea->getNumberOfActiveLayer())].height);
-
923  dimActive->setText(string);
-
924  }
-
925  else{
-
926  dimActive->setText("0x0");
-
927  }
-
928 }
+
919 void IntelliPhotoGui::setDefaultValues(){
+
920  slotEnterPressed();
+
921 }
+
922 
+ +
924  if(value < 1) {
+
925  value = 1;
+
926  }else if(value > 50) {
+
927  value = 50;
+
928  }
+
929  EditLineWidth->setText(QString("%1").arg(value));
+
930 }
+
931 
+ +
933  QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1);
+
934  ActiveLayerLabel->setText(string);
+
935 
+
936  IntelliImage* activePicture = paintingArea->getImageOfActiveLayer();
+
937  if(activePicture) {
+
938  preview = preview.fromImage(activePicture->getImageData());
+
939  }else{
+
940  QImage tmp(1,1,QImage::Format_ARGB32);
+
941  tmp.fill(Qt::transparent);
+
942  preview = preview.fromImage(tmp);
+
943  }
+
944 
+
945 
+
946  ActiveLayerImageLabel->setPixmap(preview.scaled(Buttonsize * 2));
+
947 
+
948  string = QString("background-color: %1").arg(paintingArea->colorPicker.getFirstColor().name());
+
949  FirstColorButton->setStyleSheet(string);
+
950  string = QString("background-color: %1").arg(paintingArea->colorPicker.getSecondColor().name());
+
951  SecondColorButton->setStyleSheet(string);
+
952 
+
953  string = QString("%1x%2").arg(paintingArea->Canvas->width()).arg(paintingArea->Canvas->height());
+
954  dimCanvas->setText(string);
+
955 
+
956  if(paintingArea->layerBundle.size() != 0) {
+
957  string = QString("%1x%2").arg(paintingArea->layerBundle[static_cast<size_t>
+
958  (paintingArea->getIndexOfActiveLayer())].width).arg(paintingArea->layerBundle[static_cast<size_t>
+
959  (paintingArea->getIndexOfActiveLayer())].height);
+
960  dimActive->setText(string);
+
961  }
+
962  else{
+
963  dimActive->setText("0x0");
+
964  }
+
965 }
-
void createCircleTool()
+
void createCircleTool()
createCircleTool creates a Circle Tool.
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()
-
void createRectangleTool()
- -
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.
-
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
-
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
- -
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
void createPlainTool()
-
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
+
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.
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
bool loadProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
loadProject loads a project from a file, closes current project.
+
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
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.
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
-
void createPenTool()
+
void createPenTool()
createPenTool creates a Pen Tool.
QColor getSecondColor() const
A function to read the secondary selected color.
-
void historyGoBack()
-
void createLineTool()
-
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.
-
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
+
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.
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.
-
int getNumberOfActiveLayer()
-
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
+
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
-
void setToolWidth(int value)
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:223
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
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
-
void setLayerDimensions(int maxWidth, int maxHeight)
-
void createFloodFillTool()
-
void setInnerAlpha(int innerAlpha)
-
bool saveProject(PaintingArea *Canvas, QString filePath="unnamed.idf")
- -
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:222
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
-
void setLineWidth(int LineWidth)
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
-
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
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.
+
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
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
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()
+
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.
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
-
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
+
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
-
void setToolWidth(int value)
+
void closeEvent(QCloseEvent *event) override
The closeEvent function handles closing events.
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
The IntelliColorPicker manages the selected colors for one whole project.
- +
void UpdateGui()
UpdateGui a function to update all gui elements.
diff --git a/docs/html/_intelli_raster_image_8cpp.html b/docs/html/_intelli_raster_image_8cpp.html index ee3b2db..4514b81 100644 --- a/docs/html/_intelli_raster_image_8cpp.html +++ b/docs/html/_intelli_raster_image_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_raster_image_8cpp_source.html b/docs/html/_intelli_raster_image_8cpp_source.html index 018c602..18fa201 100644 --- a/docs/html/_intelli_raster_image_8cpp_source.html +++ b/docs/html/_intelli_raster_image_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -111,7 +111,7 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
23 }
24 
-
26  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), this->fastRenderering);
+
26  IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false);
27  raster->imageData.fill(Qt::transparent);
29  return raster;
@@ -167,7 +167,7 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in RASTER...
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
The IntelliRasterImage manages a RASTERIMAGE.
-
virtual int getWidth() const
+
virtual int getWidth() const
getWidth returns the width of the Image.
diff --git a/docs/html/_intelli_render_settings_8h_source.html b/docs/html/_intelli_render_settings_8h_source.html index 6f1d440..e0b99d3 100644 --- a/docs/html/_intelli_render_settings_8h_source.html +++ b/docs/html/_intelli_render_settings_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -92,25 +92,24 @@ $(document).ready(function(){initNavTree('_intelli_render_settings_8h_source.htm
4 //for unit testing
5 class UnitTest;
6 
-
7 
- -
9 {
-
10 friend UnitTest;
-
11 public:
- -
13 
-
18 void setFastRendering(bool Updatedsetting);
-
23 bool isFastRenderering() const;
-
24 
-
25 private:
-
26 bool fastRenderering = true;
-
27 };
-
28 
-
29 #endif
+ +
11 {
+
12 friend UnitTest;
+
13 public:
+ +
15 
+
20 void setFastRendering(bool Updatedsetting);
+
25 bool isFastRenderering() const;
+
26 
+
27 private:
+
31 bool fastRenderering = true;
+
32 };
+
33 
+
34 #endif
bool isFastRenderering() const
The getfastRenderer gets the value of the flag for the fastRenderer setting.
- +
The IntelliRenderSettings class which manages the render Settings.
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
diff --git a/docs/html/_intelli_shaped_image_8cpp.html b/docs/html/_intelli_shaped_image_8cpp.html index 9a0afb2..0464ce3 100644 --- a/docs/html/_intelli_shaped_image_8cpp.html +++ b/docs/html/_intelli_shaped_image_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_shaped_image_8cpp_source.html b/docs/html/_intelli_shaped_image_8cpp_source.html index 814ffb2..3840f27 100644 --- a/docs/html/_intelli_shaped_image_8cpp_source.html +++ b/docs/html/_intelli_shaped_image_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -114,7 +114,7 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
26 }
27 
-
29  IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), this->fastRenderering);
+
29  IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), false);
30  shaped->setPolygon(this->polygonData);
31  shaped->imageData.fill(Qt::transparent);
@@ -230,7 +230,7 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
virtual ~IntelliShapedImage() override
An Destructor.
The IntelliRasterImage manages a RASTERIMAGE.
-
virtual int getWidth() const
+
virtual int getWidth() const
getWidth returns the width of the Image.
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
A function that sets the data of the visible Polygon.
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
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
- -
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
-
bool getIsDrawing() const
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
-
Tooltype getTooltype() const
+
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
Tooltype getTooltype() const
getTooltype returns the tools type
-
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
- +
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
Tooltype
The Tooltype enum categorising the toosl.
Definition: IntelliTool.h:23
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:135
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:64
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
-
void setToolWidth(int value)
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
-
Tooltype ActiveType
Definition: IntelliTool.h:52
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
The IntelliColorPicker manages the selected colors for one whole project.
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:5
- +
void UpdateGui()
UpdateGui a function to update all gui elements.
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:47
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
+
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:52
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:15
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
diff --git a/docs/html/_intelli_tool_8h.html b/docs/html/_intelli_tool_8h.html index 6dbecc8..39e0dd6 100644 --- a/docs/html/_intelli_tool_8h.html +++ b/docs/html/_intelli_tool_8h.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_tool_8h_source.html b/docs/html/_intelli_tool_8h_source.html index 5ae74de..2782bc9 100644 --- a/docs/html/_intelli_tool_8h_source.html +++ b/docs/html/_intelli_tool_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -102,94 +102,96 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html',''); ini
17 class IntelliTool {
18 friend UnitTest;
19 public:
-
20 enum class Tooltype {
-
21  CIRCLE,
-
22  FLOODFILL,
-
23  LINE,
-
24  PEN,
-
25  PLAIN,
-
26  POLYGON,
-
27  RECTANGLE,
-
28  NONE
-
29 };
-
30 private:
-
35 bool createToolLayer();
-
36 
-
40 void mergeToolLayer();
-
41 
-
45 void deleteToolLayer();
-
46 protected:
- -
51 
- -
53 
- -
58 
- +
23 enum class Tooltype {
+
24  CIRCLE,
+
25  FLOODFILL,
+
26  GRADIENT,
+
27  LINE,
+
28  PEN,
+
29  PLAIN,
+
30  POLYGON,
+
31  RECTANGLE,
+
32  NONE
+
33 };
+
34 private:
+
39 bool createToolLayer();
+
40 
+
44 void mergeToolLayer();
+
45 
+
49 void deleteToolLayer();
+
50 protected:
+ +
55 
+
60 
- +
65 
- +
70 
-
74 bool isDrawing = false;
+
75 
-
76 public:
- -
83 
-
87 virtual ~IntelliTool() = 0;
-
88 
-
94 virtual void onMouseRightPressed(int x, int y);
-
95 
-
101 virtual void onMouseRightReleased(int x, int y);
-
102 
-
108 virtual void onMouseLeftPressed(int x, int y);
-
109 
-
115 virtual void onMouseLeftReleased(int x, int y);
-
116 
-
121 virtual void onWheelScrolled(int value);
-
122 
-
128 virtual void onMouseMoved(int x, int y);
-
129 
-
130 Tooltype getTooltype() const;
-
131 
-
132 bool getIsDrawing() const;
-
133 
-
134 };
-
135 #endif
+ +
80 
+
84 bool isDrawing = false;
+
85 
+
86 public:
+ +
93 
+
97 virtual ~IntelliTool() = 0;
+
98 
+
104 virtual void onMouseRightPressed(int x, int y);
+
105 
+
111 virtual void onMouseRightReleased(int x, int y);
+
112 
+
118 virtual void onMouseLeftPressed(int x, int y);
+
119 
+
125 virtual void onMouseLeftReleased(int x, int y);
+
126 
+
131 virtual void onWheelScrolled(int value);
+
132 
+
138 virtual void onMouseMoved(int x, int y);
+
139 
+
144 Tooltype getTooltype() const;
+
145 
+
150 bool getIsDrawing() const;
+
151 
+
152 };
+
153 #endif
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
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
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
-
bool getIsDrawing() const
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
-
Tooltype getTooltype() const
+
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
Tooltype getTooltype() const
getTooltype returns the tools type
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
- +
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
+
Tooltype
The Tooltype enum categorising the toosl.
Definition: IntelliTool.h:23
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
-
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:64
+
LayerObject * activeLayer
A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...
Definition: IntelliTool.h:74
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
Tooltype ActiveType
Definition: IntelliTool.h:52
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
The IntelliColorPicker manages the selected colors for one whole project.
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general Painting Area and colorPicker.
Definition: IntelliTool.cpp:5
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:47
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:52
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:15
diff --git a/docs/html/_intelli_tool_circle_8cpp.html b/docs/html/_intelli_tool_circle_8cpp.html index f570212..987536c 100644 --- a/docs/html/_intelli_tool_circle_8cpp.html +++ b/docs/html/_intelli_tool_circle_8cpp.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_tool_circle_8cpp_source.html b/docs/html/_intelli_tool_circle_8cpp_source.html index a40765d..f77ea0f 100644 --- a/docs/html/_intelli_tool_circle_8cpp_source.html +++ b/docs/html/_intelli_tool_circle_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -176,35 +176,35 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
QColor getFirstColor() const
A function to read the primary selected color.
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
- +
int getLineWidth() const
getLineWidth returns the width attribute of the line.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
A function that draws a line between two given points in a given color.
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
- +
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:84
QColor getSecondColor() const
A function to read the secondary selected color.
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A function that draws a point between on a given point in a given color.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:79
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
virtual ~IntelliToolCircle() override
A Destructor.
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
Tooltype ActiveType
Definition: IntelliTool.h:52
+
Tooltype ActiveType
ActiveType the type of the active tool.
Definition: IntelliTool.h:59
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit...
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
-
void setLineWidth(int LineWidth)
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:47
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
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:52
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
diff --git a/docs/html/_intelli_tool_circle_8h.html b/docs/html/_intelli_tool_circle_8h.html index 467e5c3..6dccaee 100644 --- a/docs/html/_intelli_tool_circle_8h.html +++ b/docs/html/_intelli_tool_circle_8h.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_intelli_tool_circle_8h_source.html b/docs/html/_intelli_tool_circle_8h_source.html index b9c6278..b3333a7 100644 --- a/docs/html/_intelli_tool_circle_8h_source.html +++ b/docs/html/_intelli_tool_circle_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -125,11 +125,11 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas layer.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...
virtual ~IntelliToolCircle() override
A Destructor.
@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
The IntelliToolCircle class represents a tool to draw a circle.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the middle point of the cricle.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t...
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
virtual ~IntelliToolFloodFill() override
A Destructor.
@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8h_source.htm
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po...
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the lineWidth relative to value.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
virtual ~IntelliToolLine() override
An abstract Destructor.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Sets the starting point of the line.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
The IntelliToolFloodFill class represents a tool to draw a line.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
virtual ~IntelliToolPen() override
A Destructor.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event. To draw the line.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current draw.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
@@ -136,7 +136,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html','');
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
@@ -135,7 +135,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker.
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
virtual ~IntelliToolPlainTool() override
A Destructor.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
@@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_polygon_8h_source.html',
The IntelliToolPolygon managed the Drawing of Polygonforms.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the fill to the active layer.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.Changing edgeWidth relativ to value.
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:64
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
IntelliToolsettings * Toolsettings
Toolsettings a refrence to the tool settings.
Definition: IntelliTool.h:69
virtual ~IntelliToolRectangle() override
A Destructor.
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:54
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse.Resetting the current draw.
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
The IntelliToolRectangle class represents a tool to draw a rectangle.
@@ -138,7 +138,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8h_source.html
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the draw to the active layer.
- +
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
- +
int getLineWidth() const
getLineWidth returns the width attribute of the line.
- - -
void setInnerAlpha(int innerAlpha)
-
void setLineWidth(int LineWidth)
- +
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
virtual ~IntelliToolsettings()
~IntelliToolsettings - basic destructor.
+
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
+
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
IntelliToolsettings()
IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.
diff --git a/docs/html/_intelli_toolsettings_8h_source.html b/docs/html/_intelli_toolsettings_8h_source.html index a6634f0..79d7851 100644 --- a/docs/html/_intelli_toolsettings_8h_source.html +++ b/docs/html/_intelli_toolsettings_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -91,35 +91,39 @@ $(document).ready(function(){initNavTree('_intelli_toolsettings_8h_source.html',
3 
4 //for unit testing
5 class UnitTest;
-
6 
- -
8 friend UnitTest;
-
9 public:
- -
11 virtual ~IntelliToolsettings();
-
12 
-
13 int getLineWidth() const;
-
14 void setLineWidth(int LineWidth);
-
15 
-
16 int getInnerAlpha() const;
-
17 void setInnerAlpha(int innerAlpha);
-
18 
-
19 private:
-
20 int lineWidth;
-
21 int innerAlpha;
-
22 };
-
23 
-
24 #endif
+ +
10 friend UnitTest;
+
11 public:
+ +
16 
+
20 virtual ~IntelliToolsettings();
+
21 
+
26 int getLineWidth() const;
+
27 
+
32 void setLineWidth(int LineWidth);
+
33 
+
38 int getInnerAlpha() const;
+
39 
+
44 void setInnerAlpha(int innerAlpha);
+
45 
+
46 private:
+
47 
+
51 int lineWidth;
+
52 
+
56 int innerAlpha;
+
57 };
+
58 
+
59 #endif
- - - -
void setInnerAlpha(int innerAlpha)
+
int getLineWidth() const
getLineWidth returns the width attribute of the line.
+
int getInnerAlpha() const
getInnerAlpha returns the inner alpha value.
+
virtual ~IntelliToolsettings()
~IntelliToolsettings - basic destructor.
+
void setInnerAlpha(int innerAlpha)
setInnerAlpha sets the inner alpha attribute of the Tool.
-
void setLineWidth(int LineWidth)
- - +
void setLineWidth(int LineWidth)
setLineWidth sets the width attribute of the line.
+
IntelliToolsettings()
IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.

Go to the source code of this file.

diff --git a/docs/html/_painting_area_8cpp_source.html b/docs/html/_painting_area_8cpp_source.html index 86fad90..7e21220 100644 --- a/docs/html/_painting_area_8cpp_source.html +++ b/docs/html/_painting_area_8cpp_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -105,30 +105,30 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html',''); -
20 #include "GUI/IntelliPhotoGui.h"
-
21 
- -
23 
-
24 }
-
25 
- - -
28  this->image = new IntelliRasterImage(*dynamic_cast<IntelliRasterImage*>(layer.image));
-
29  }else if(layer.image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
-
30  this->image = new IntelliShapedImage(*dynamic_cast<IntelliShapedImage*>(layer.image));
-
31  }
-
32  this->width = layer.width;
-
33  this->height = layer.height;
-
34  this->widthOffset = layer.widthOffset;
-
35  this->heightOffset = layer.heightOffset;
-
36  this->alpha = layer.alpha;
-
37 }
-
38 
-
39 PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent)
-
40  : QLabel(parent){
-
41  this->Tool = nullptr;
-
42  this->setLayerDimensions(maxWidth, maxHeight);
-
43 
+ +
21 #include "GUI/IntelliPhotoGui.h"
+
22 
+ +
24 
+
25 }
+
26 
+ + +
29  this->image = new IntelliRasterImage(*dynamic_cast<IntelliRasterImage*>(layer.image));
+
30  }else if(layer.image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
+
31  this->image = new IntelliShapedImage(*dynamic_cast<IntelliShapedImage*>(layer.image));
+
32  }
+
33  this->width = layer.width;
+
34  this->height = layer.height;
+
35  this->widthOffset = layer.widthOffset;
+
36  this->heightOffset = layer.heightOffset;
+
37  this->alpha = layer.alpha;
+
38 }
+
39 
+
40 PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent)
+
41  : QLabel(parent){
+
42  this->Tool = nullptr;
+
43  this->setCanvasDimensions(maxWidth, maxHeight);
44  activeLayer = -1;
45 }
46 
@@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
69  return this->renderSettings.isFastRenderering();
70 }
71 
-
72 void PaintingArea::setLayerDimensions(int maxWidth, int maxHeight){
+
72 void PaintingArea::setCanvasDimensions(int maxWidth, int maxHeight){
73  //set standart parameter
74  this->maxWidth = maxWidth;
75  this->maxHeight = maxHeight;
@@ -171,7 +171,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
83 
84 }
85 
-
86 void PaintingArea::setPixelToActive(QColor color, QPoint point){
+
86 void PaintingArea::drawPixelOntoActive(QColor color, QPoint point){
87  layerBundle[static_cast<size_t>(activeLayer)].image->drawPixel(point, color);
88 }
89 
@@ -194,541 +194,565 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');
106  }
107  this->layerBundle.push_back(newLayer);
108  activeLayer = static_cast<int>(layerBundle.size()) - 1;
-
109  historyadd();
-
110  return activeLayer;
-
111 }
+
109  return activeLayer;
+
110 }
+
111 
112 
-
113 
-
114 void PaintingArea::deleteLayer(int idx, bool isTool){
-
115  if(!isTool) {
-
116  updateTools();
-
117  }
-
118  if(idx<static_cast<int>(layerBundle.size())&&idx>=0) {
-
119  this->layerBundle.erase(layerBundle.begin() + idx);
-
120  if(activeLayer>=idx) {
-
121  activeLayer--;
-
122  }
-
123  if(activeLayer < 0 && layerBundle.size()) {
-
124  activeLayer = 0;
-
125  }
-
126  }
-
127 }
-
128 
- -
130  if(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())) {
-
131  this->layerBundle.erase(layerBundle.begin() + activeLayer);
-
132  activeLayer--;
-
133  }
-
134  historyadd();
-
135 }
-
136 
- -
138  updateTools();
-
139  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
-
140  this->activeLayer = idx;
-
141  }
-
142 }
-
143 
-
144 void PaintingArea::setLayerAlpha(int idx, int alpha){
-
145  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
-
146  if(alpha>=0 && alpha<=255) {
-
147  layerBundle[static_cast<size_t>(idx)].alpha = alpha;
-
148  }
-
149  }
-
150 }
- -
152  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
-
153  if(layerBundle[static_cast<size_t>(idx)].image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
-
154  delete this->Tool;
-
155  this->Tool = new IntelliToolPolygon(this,&colorPicker,&Toolsettings, true);
-
156  isSettingPolygon = true;
-
157  this->guiReference->setToolWidth(5);
-
158  }
-
159  }
-
160 }
-
161 
-
162 // Used to load the image and place it in the widget
-
163 bool PaintingArea::open(const QString &filePath){
-
164  if(this->activeLayer==-1) {
-
165  return false;
-
166  }
-
167  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
-
168  bool open = active->loadImage(filePath);
-
169  active->calculateVisiblity();
-
170  update();
-
171  return open;
-
172 }
-
173 
- -
175  for(auto layer: layerBundle) {
-
176  delete layer.image;
-
177  }
-
178  layerBundle.clear();
-
179 }
-
180 
-
181 // Save the current image
-
182 bool PaintingArea::save(const QString &filePath, const char*fileFormat){
-
183  if(layerBundle.size()==0) {
-
184  return false;
-
185  }
-
186  this->drawLayers(true);
-
187 
-
188  if(!strcmp(fileFormat,"PNG")) {
-
189  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
-
190  fileFormat = "png";
-
191  if (visibleImage.save(filePath, fileFormat)) {
-
192  return true;
-
193  } else {
-
194  return false;
-
195  }
-
196  }
-
197 
-
198  if (Canvas->save(filePath, fileFormat)) {
-
199  return true;
-
200  } else {
-
201  return false;
-
202  }
-
203 }
-
204 
- -
206  updateTools();
-
207  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;
-
208  layerBundle[static_cast<size_t>(activeLayer)].heightOffset += y;
-
209  historyadd();
-
210 }
-
211 
- -
213  updateTools();
-
214  if(idx==1) {
-
215  this->selectLayerUp();
-
216  }else if(idx==-1) {
-
217  this->selectLayerDown();
-
218  }
-
219  guiReference->UpdateGui();
-
220  historyadd();
-
221 }
-
222 
- -
224  updateTools();
-
225  if(a>=0 && a < static_cast<int>(layerBundle.size())) {
-
226  this->setLayerActive(a);
-
227  }
-
228 }
-
229 
- -
231  QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
-
232  this->colorPicker.setFirstColor(clr);
-
233 }
-
234 
- -
236  QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
-
237  this->colorPicker.setSecondColor(clr);
-
238 }
-
239 
- -
241  this->colorPicker.swapColors();
-
242 }
-
243 
- -
245  delete this->Tool;
-
246  Tool = new IntelliToolPen(this, &colorPicker, &Toolsettings);
-
247 }
-
248 
- -
250  delete this->Tool;
-
251  Tool = new IntelliToolPlainTool(this, &colorPicker, &Toolsettings);
-
252 }
-
253 
- -
255  delete this->Tool;
-
256  Tool = new IntelliToolLine(this, &colorPicker, &Toolsettings);
-
257 }
-
258 
- -
260  delete this->Tool;
-
261  Tool = new IntelliToolRectangle(this, &colorPicker, &Toolsettings);
-
262 }
-
263 
- -
265  delete this->Tool;
-
266  Tool = new IntelliToolCircle(this, &colorPicker, &Toolsettings);
-
267 }
- -
269  delete this->Tool;
-
270  Tool = new IntelliToolPolygon(this, &colorPicker, &Toolsettings);
-
271 }
-
272 
- -
274  delete this->Tool;
-
275  Tool = new IntelliToolFloodFill(this, &colorPicker, &Toolsettings);
-
276 }
-
277 
- -
279  return this->layerBundle[static_cast<size_t>(activeLayer)].width;
+
113 void PaintingArea::deleteLayer(int idx, bool isTool){
+
114  if(!isTool) {
+
115  updateTools();
+
116  }
+
117  if(idx<static_cast<int>(layerBundle.size())&&idx>=0) {
+
118  this->layerBundle.erase(layerBundle.begin() + idx);
+
119  if(activeLayer>=idx) {
+
120  activeLayer--;
+
121  }
+
122  if(activeLayer < 0 && layerBundle.size()) {
+
123  activeLayer = 0;
+
124  }
+
125  }
+
126 }
+
127 
+ +
129  if(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())) {
+
130  this->layerBundle.erase(layerBundle.begin() + activeLayer);
+
131  activeLayer--;
+
132  }
+
133  historyadd();
+
134 }
+
135 
+ +
137  updateTools();
+
138  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
139  this->activeLayer = idx;
+
140  }
+
141 }
+
142 
+
143 void PaintingArea::setLayerAlpha(int idx, int alpha){
+
144  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
145  if(alpha>=0 && alpha<=255) {
+
146  layerBundle[static_cast<size_t>(idx)].alpha = alpha;
+
147  }
+
148  }
+
149 }
+ +
151  if(idx>=0&&idx<static_cast<int>(layerBundle.size())) {
+
152  if(layerBundle[static_cast<size_t>(idx)].image->getTypeOfImage()==ImageType::SHAPEDIMAGE) {
+
153  delete this->Tool;
+
154  this->Tool = new IntelliToolPolygon(this,&colorPicker,&Toolsettings, true);
+
155  isSettingPolygon = true;
+
156  this->guiReference->setToolWidth(5);
+
157  }
+
158  }
+
159 }
+
160 
+
161 // Used to load the image and place it in the widget
+
162 bool PaintingArea::open(const QString &filePath){
+
163  if(this->activeLayer==-1) {
+
164  return false;
+
165  }
+
166  IntelliImage* active = layerBundle[static_cast<size_t>(activeLayer)].image;
+
167  bool open = active->loadImage(filePath);
+
168  active->calculateVisiblity();
+
169  update();
+
170  return open;
+
171 }
+
172 
+ +
174  for(auto layer: layerBundle) {
+
175  delete layer.image;
+
176  }
+
177  layerBundle.clear();
+
178 }
+
179 
+
180 // Save the current image
+
181 bool PaintingArea::save(const QString &filePath, const char*fileFormat){
+
182  if(layerBundle.size()==0) {
+
183  return false;
+
184  }
+
185  this->drawLayers(true);
+
186 
+
187  if(!strcmp(fileFormat,"PNG")) {
+
188  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
+
189  fileFormat = "png";
+
190  if (visibleImage.save(filePath, fileFormat)) {
+
191  return true;
+
192  } else {
+
193  return false;
+
194  }
+
195  }
+
196 
+
197  if (Canvas->save(filePath, fileFormat)) {
+
198  return true;
+
199  } else {
+
200  return false;
+
201  }
+
202 }
+
203 
+ +
205  updateTools();
+
206  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;
+
207  layerBundle[static_cast<size_t>(activeLayer)].heightOffset += y;
+
208  historyadd();
+
209 }
+
210 
+ +
212  updateTools();
+
213  if(idx==1) {
+
214  this->selectLayerUp();
+
215  }else if(idx==-1) {
+
216  this->selectLayerDown();
+
217  }
+
218  guiReference->UpdateGui();
+
219  historyadd();
+
220 }
+
221 
+ +
223  updateTools();
+
224  if(a>=0 && a < static_cast<int>(layerBundle.size())) {
+
225  this->setLayerActive(a);
+
226  }
+
227 }
+
228 
+ +
230  QColor clr = QColorDialog::getColor(colorPicker.getFirstColor(), nullptr, "Main Color", QColorDialog::DontUseNativeDialog);
+
231  this->colorPicker.setFirstColor(clr);
+
232 }
+
233 
+ +
235  QColor clr = QColorDialog::getColor(colorPicker.getSecondColor(), nullptr, "Secondary Color", QColorDialog::DontUseNativeDialog);
+
236  this->colorPicker.setSecondColor(clr);
+
237 }
+
238 
+ +
240  this->colorPicker.swapColors();
+
241 }
+
242 
+ +
244  delete this->Tool;
+
245  Tool = new IntelliToolPen(this, &colorPicker, &Toolsettings);
+
246 }
+
247 
+ +
249  delete this->Tool;
+
250  Tool = new IntelliToolPlainTool(this, &colorPicker, &Toolsettings);
+
251 }
+
252 
+ +
254  delete this->Tool;
+
255  Tool = new IntelliToolLine(this, &colorPicker, &Toolsettings);
+
256 }
+
257 
+ +
259  delete this->Tool;
+
260  Tool = new IntelliToolRectangle(this, &colorPicker, &Toolsettings);
+
261 }
+
262 
+ +
264  delete this->Tool;
+
265  Tool = new IntelliToolCircle(this, &colorPicker, &Toolsettings);
+
266 }
+ +
268  delete this->Tool;
+
269  Tool = new IntelliToolPolygon(this, &colorPicker, &Toolsettings);
+
270 }
+
271 
+ +
273  delete this->Tool;
+
274  Tool = new IntelliToolFloodFill(this, &colorPicker, &Toolsettings);
+
275 }
+
276 
+ +
278  delete this->Tool;
+
279  Tool = new IntelliToolGradient(this, &colorPicker, &Toolsettings);
280 }
281 
- -
283  return this->layerBundle[static_cast<size_t>(activeLayer)].height;
+ +
283  return this->layerBundle[static_cast<size_t>(activeLayer)].width;
284 }
285 
- -
287  return this->maxWidth;
+ +
287  return this->layerBundle[static_cast<size_t>(activeLayer)].height;
288 }
289 
- -
291  return this->maxHeight;
+ +
291  return this->maxWidth;
292 }
293 
- -
295  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getTypeOfImage();
+ +
295  return this->maxHeight;
296 }
297 
- -
299  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getPolygonData();
+ +
299  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getTypeOfImage();
300 }
301 
-
302 // If a mouse button is pressed check if it was the
-
303 // left button and if so store the current position
-
304 // Set that we are currently drawing
-
305 void PaintingArea::mousePressEvent(QMouseEvent*event){
-
306  if(this->activeLayer < 0) {
-
307  return;
-
308  }
-
309  if(Tool == nullptr)
-
310  return;
-
311  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
-
312  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
-
313  if(event->button() == Qt::LeftButton) {
-
314  Tool->onMouseLeftPressed(x, y);
-
315  }else if(event->button() == Qt::RightButton) {
-
316  Tool->onMouseRightPressed(x, y);
-
317  }
-
318  update();
-
319 }
-
320 
-
321 // When the mouse moves if the left button is clicked
-
322 // we call the drawline function which draws a line
-
323 // from the last position to the current
-
324 void PaintingArea::mouseMoveEvent(QMouseEvent*event){
-
325  if(this->activeLayer < 0) {
-
326  return;
-
327  }
-
328  if(Tool == nullptr)
-
329  return;
-
330  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
-
331  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
-
332  Tool->onMouseMoved(x, y);
-
333  update();
-
334 }
-
335 
-
336 // If the button is released we set variables to stop drawing
-
337 void PaintingArea::mouseReleaseEvent(QMouseEvent*event){
-
338  if(this->activeLayer < 0)
-
339  return;
-
340  if(Tool == nullptr)
-
341  return;
-
342  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
-
343  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
-
344  if(event->button() == Qt::LeftButton) {
-
345  Tool->onMouseLeftReleased(x, y);
-
346  }else if(event->button() == Qt::RightButton) {
-
347  Tool->onMouseRightReleased(x, y);
-
348  }
-
349  update();
-
350 }
-
351 
-
352 void PaintingArea::wheelEvent(QWheelEvent*event){
-
353  if(this->activeLayer < 0)
-
354  return;
-
355  if(this->Tool != nullptr) {
-
356  QPoint numDegrees = event->angleDelta() / 8;
-
357  if(!numDegrees.isNull()) {
-
358  QPoint numSteps = numDegrees / 15;
-
359  Tool->onWheelScrolled(numSteps.y() * -1);
-
360  }
-
361  }
-
362 }
-
363 
-
364 // QPainter provides functions to draw on the widget
-
365 // The QPaintEvent is sent to widgets that need to
-
366 // update themselves
-
367 void PaintingArea::paintEvent(QPaintEvent*event){
-
368  this->setFixedSize(QSize(maxWidth * 2,maxHeight * 2));
-
369  this->drawLayers();
-
370 
-
371  QPainter painter(this);
-
372 
-
373  //insert zoom factor here
-
374  painter.scale(1,1);
-
375 
-
376  //calulate image here for scroll
-
377  //Todo set offset in first to parameters and calulate them into mouse position
-
378  painter.drawImage(0, 0, *Canvas, -offsetXDimension, -offsetYDimension);
-
379  update();
-
380 }
-
381 
-
382 void PaintingArea::selectLayerUp(){
-
383  updateTools();
-
384  if(activeLayer != -1 && static_cast<size_t>(activeLayer)<layerBundle.size() - 1) {
-
385  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer + 1)]);
-
386  activeLayer++;
-
387  }
-
388 }
-
389 
-
390 void PaintingArea::selectLayerDown(){
-
391  updateTools();
-
392  if(activeLayer>0) {
-
393  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer - 1)]);
-
394  activeLayer--;
-
395  }
-
396 }
-
397 
-
398 void PaintingArea::drawLayers(bool forSaving){
-
399  if(forSaving) {
-
400  Canvas->fill(Qt::GlobalColor::transparent);
-
401  }else{
-
402  Canvas->fill(Qt::GlobalColor::black);
-
403  }
-
404  for(size_t i = 0; i<layerBundle.size(); i++) {
-
405  LayerObject layer = layerBundle[i];
-
406  QImage cpy = layer.image->getDisplayable(layer.alpha);
-
407  QColor clr_0;
-
408  QColor clr_1;
-
409  for(int y = 0; y<layer.height; y++) {
-
410  if(layer.heightOffset + y<0) continue;
-
411  if(layer.heightOffset + y>=maxHeight) break;
-
412  for(int x = 0; x<layer.width; x++) {
-
413  if(layer.widthOffset + x<0) continue;
-
414  if(layer.widthOffset + x>=maxWidth) break;
-
415  clr_0 = Canvas->pixelColor(layer.widthOffset + x, layer.heightOffset + y);
-
416  clr_1 = cpy.pixelColor(x,y);
-
417  float t = static_cast<float>(clr_1.alpha()) / 255.f;
-
418  int r = static_cast<int>(static_cast<float>(clr_1.red()) * (t) + static_cast<float>(clr_0.red()) * (1.f - t) + 0.5f);
-
419  int g = static_cast<int>(static_cast<float>(clr_1.green()) * (t) + static_cast<float>(clr_0.green()) * (1.f - t) + 0.5f);
-
420  int b = static_cast<int>(static_cast<float>(clr_1.blue()) * (t) + static_cast<float>(clr_0.blue() * (1.f - t)) + 0.5f);
-
421  int a = std::min(clr_0.alpha() + clr_1.alpha(), 255);
-
422  clr_0.setRed(r);
-
423  clr_0.setGreen(g);
-
424  clr_0.setBlue(b);
-
425  clr_0.setAlpha(a);
-
426 
-
427  Canvas->setPixelColor(layer.widthOffset + x, layer.heightOffset + y, clr_0);
-
428  }
-
429  }
-
430  }
-
431 }
-
432 
-
433 bool PaintingArea::createTempTopLayer(int idx){
-
434  if(idx>=0) {
-
435  LayerObject newLayer;
-
436  newLayer.alpha = 255;
-
437  newLayer.height = layerBundle[static_cast<size_t>(idx)].height;
-
438  newLayer.width = layerBundle[static_cast<size_t>(idx)].width;
-
439  newLayer.heightOffset = layerBundle[static_cast<size_t>(idx)].heightOffset;
-
440  newLayer.widthOffset = layerBundle[static_cast<size_t>(idx)].widthOffset;
-
441  newLayer.image = layerBundle[static_cast<size_t>(idx)].image->getDeepCopy();
-
442  layerBundle.insert(layerBundle.begin() + idx + 1,newLayer);
-
443  return true;
-
444  }
-
445  return false;
-
446 }
-
447 
-
448 IntelliTool* PaintingArea::copyActiveTool(){
-
449  switch(Tool->getTooltype()) {
- - - - - - - -
457  default: return nullptr;
-
458  }
-
459 }
-
460 
- -
462  return activeLayer;
+ +
303  return this->layerBundle[static_cast<size_t>(activeLayer)].image->getPolygonData();
+
304 }
+
305 
+
306 // If a mouse button is pressed check if it was the
+
307 // left button and if so store the current position
+
308 // Set that we are currently drawing
+
309 void PaintingArea::mousePressEvent(QMouseEvent*event){
+
310  if(this->activeLayer < 0) {
+
311  return;
+
312  }
+
313  if(Tool == nullptr)
+
314  return;
+
315  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
316  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
317  if(event->button() == Qt::LeftButton) {
+
318  Tool->onMouseLeftPressed(x, y);
+
319  }else if(event->button() == Qt::RightButton) {
+
320  Tool->onMouseRightPressed(x, y);
+
321  }
+
322  update();
+
323 }
+
324 
+
325 // When the mouse moves if the left button is clicked
+
326 // we call the drawline function which draws a line
+
327 // from the last position to the current
+
328 void PaintingArea::mouseMoveEvent(QMouseEvent*event){
+
329  if(this->activeLayer < 0) {
+
330  return;
+
331  }
+
332  if(Tool == nullptr)
+
333  return;
+
334  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
335  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
336  Tool->onMouseMoved(x, y);
+
337  update();
+
338 }
+
339 
+
340 // If the button is released we set variables to stop drawing
+
341 void PaintingArea::mouseReleaseEvent(QMouseEvent*event){
+
342  if(this->activeLayer < 0)
+
343  return;
+
344  if(Tool == nullptr)
+
345  return;
+
346  int x = event->x() - layerBundle[static_cast<size_t>(activeLayer)].widthOffset - offsetXDimension;
+
347  int y = event->y() - layerBundle[static_cast<size_t>(activeLayer)].heightOffset - offsetYDimension;
+
348  if(event->button() == Qt::LeftButton) {
+
349  Tool->onMouseLeftReleased(x, y);
+
350  }else if(event->button() == Qt::RightButton) {
+
351  Tool->onMouseRightReleased(x, y);
+
352  }
+
353  update();
+
354 }
+
355 
+
356 void PaintingArea::wheelEvent(QWheelEvent*event){
+
357  if(this->activeLayer < 0)
+
358  return;
+
359  if(this->Tool != nullptr) {
+
360  QPoint numDegrees = event->angleDelta() / 8;
+
361  if(!numDegrees.isNull()) {
+
362  QPoint numSteps = numDegrees / 15;
+
363  Tool->onWheelScrolled(numSteps.y() * -1);
+
364  }
+
365  }
+
366 }
+
367 
+
368 // QPainter provides functions to draw on the widget
+
369 // The QPaintEvent is sent to widgets that need to
+
370 // update themselves
+
371 void PaintingArea::paintEvent(QPaintEvent*event){
+
372  this->setFixedSize(QSize(maxWidth * 2,maxHeight * 2));
+
373  this->drawLayers();
+
374 
+
375  QPainter painter(this);
+
376 
+
377  //insert zoom factor here
+
378  painter.scale(1,1);
+
379 
+
380  //calulate image here for scroll
+
381  //Todo set offset in first to parameters and calulate them into mouse position
+
382  painter.drawImage(0, 0, *Canvas, -offsetXDimension, -offsetYDimension);
+
383  update();
+
384 }
+
385 
+
386 void PaintingArea::selectLayerUp(){
+
387  updateTools();
+
388  if(activeLayer != -1 && static_cast<size_t>(activeLayer)<layerBundle.size() - 1) {
+
389  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer + 1)]);
+
390  activeLayer++;
+
391  }
+
392 }
+
393 
+
394 void PaintingArea::selectLayerDown(){
+
395  updateTools();
+
396  if(activeLayer>0) {
+
397  std::swap(layerBundle[static_cast<size_t>(activeLayer)], layerBundle[static_cast<size_t>(activeLayer - 1)]);
+
398  activeLayer--;
+
399  }
+
400 }
+
401 
+
402 void PaintingArea::drawLayers(bool forSaving){
+
403  if(forSaving) {
+
404  Canvas->fill(Qt::GlobalColor::transparent);
+
405  }else{
+
406  Canvas->fill(Qt::GlobalColor::black);
+
407  }
+
408  for(size_t i = 0; i<layerBundle.size(); i++) {
+
409  LayerObject layer = layerBundle[i];
+
410  QImage cpy = layer.image->getDisplayable(layer.alpha);
+
411  QColor clr_0;
+
412  QColor clr_1;
+
413  for(int y = 0; y<layer.height; y++) {
+
414  if(layer.heightOffset + y<0) continue;
+
415  if(layer.heightOffset + y>=maxHeight) break;
+
416  for(int x = 0; x<layer.width; x++) {
+
417  if(layer.widthOffset + x<0) continue;
+
418  if(layer.widthOffset + x>=maxWidth) break;
+
419  clr_0 = Canvas->pixelColor(layer.widthOffset + x, layer.heightOffset + y);
+
420  clr_1 = cpy.pixelColor(x,y);
+
421  float t = static_cast<float>(clr_1.alpha()) / 255.f;
+
422  int r = static_cast<int>(static_cast<float>(clr_1.red()) * (t) + static_cast<float>(clr_0.red()) * (1.f - t) + 0.5f);
+
423  int g = static_cast<int>(static_cast<float>(clr_1.green()) * (t) + static_cast<float>(clr_0.green()) * (1.f - t) + 0.5f);
+
424  int b = static_cast<int>(static_cast<float>(clr_1.blue()) * (t) + static_cast<float>(clr_0.blue() * (1.f - t)) + 0.5f);
+
425  int a = std::min(clr_0.alpha() + clr_1.alpha(), 255);
+
426  clr_0.setRed(r);
+
427  clr_0.setGreen(g);
+
428  clr_0.setBlue(b);
+
429  clr_0.setAlpha(a);
+
430 
+
431  Canvas->setPixelColor(layer.widthOffset + x, layer.heightOffset + y, clr_0);
+
432  }
+
433  }
+
434  }
+
435 }
+
436 
+
437 bool PaintingArea::createTempTopLayer(int idx){
+
438  if(idx>=0) {
+
439  LayerObject newLayer;
+
440  newLayer.alpha = 255;
+
441  newLayer.height = layerBundle[static_cast<size_t>(idx)].height;
+
442  newLayer.width = layerBundle[static_cast<size_t>(idx)].width;
+
443  newLayer.heightOffset = layerBundle[static_cast<size_t>(idx)].heightOffset;
+
444  newLayer.widthOffset = layerBundle[static_cast<size_t>(idx)].widthOffset;
+
445  newLayer.image = layerBundle[static_cast<size_t>(idx)].image->getDeepCopy();
+
446  layerBundle.insert(layerBundle.begin() + idx + 1,newLayer);
+
447  return true;
+
448  }
+
449  return false;
+
450 }
+
451 
+
452 IntelliTool* PaintingArea::copyActiveTool(){
+
453  switch(Tool->getTooltype()) {
+ + + + + + + +
461  default: return nullptr;
+
462  }
463 }
464 
- -
466  if(activeLayer<0) {
-
467  return nullptr;
-
468  }
-
469  return layerBundle[static_cast<size_t>(activeLayer)].image;
-
470 }
-
471 
- -
473  QImage returnImage;
-
474  if(activeLayer<0) {
-
475  returnImage = QImage(QSize(10,10),QImage::Format_ARGB32);
-
476  returnImage.fill(QColor(255,255,255,255));
-
477  }
-
478  else{
-
479  returnImage = layerBundle[static_cast<size_t>(activeLayer)].image->getImageData();
-
480  if(renderSettings.isFastRenderering()) {
-
481  returnImage = returnImage.convertToFormat(QImage::Format_ARGB32);
-
482  }
-
483  }
-
484  return returnImage;
-
485 }
-
486 
-
487 std::vector<LayerObject>* PaintingArea::getLayerBundle(){
-
488  return &layerBundle;
+ +
466  return activeLayer;
+
467 }
+
468 
+ +
470  if(activeLayer<0) {
+
471  return nullptr;
+
472  }
+
473  return layerBundle[static_cast<size_t>(activeLayer)].image;
+
474 }
+
475 
+ +
477  QImage returnImage;
+
478  if(activeLayer<0) {
+
479  returnImage = QImage(QSize(10,10),QImage::Format_ARGB32);
+
480  returnImage.fill(QColor(255,255,255,255));
+
481  }
+
482  else{
+
483  returnImage = layerBundle[static_cast<size_t>(activeLayer)].image->getImageData();
+
484  if(renderSettings.isFastRenderering()) {
+
485  returnImage = returnImage.convertToFormat(QImage::Format_ARGB32);
+
486  }
+
487  }
+
488  return returnImage;
489 }
490 
-
491 void PaintingArea::updateTools(){
-
492  if(Tool!=nullptr) {
-
493  if(Tool->getIsDrawing()) {
-
494  IntelliTool* temp = copyActiveTool();
-
495  delete this->Tool;
-
496  this->Tool = temp;
-
497  }
-
498  if(isSettingPolygon) {
+
491 std::vector<LayerObject>* PaintingArea::getLayerBundle(){
+
492  return &layerBundle;
+
493 }
+
494 
+
495 void PaintingArea::updateTools(){
+
496  if(Tool!=nullptr) {
+
497  if(Tool->getIsDrawing()) {
+
498  IntelliTool* temp = copyActiveTool();
499  delete this->Tool;
-
500  this->Tool = nullptr;
-
501  isSettingPolygon = false;
-
502  }
-
503  }
-
504 }
-
505 
-
506 void PaintingArea::historyadd(){
-
507 
-
508  if (++historyPresent == 100) {
-
509  historyPresent = 0;
-
510  }
-
511  historyMaxFuture = historyPresent;
-
512  if (historyPresent == historyMaxPast)
-
513  if (++historyMaxPast == 100)
-
514  historyMaxPast = 0;
-
515  history[static_cast<size_t>(historyPresent)] = layerBundle;
-
516 }
-
517 
- -
519  if (historyPresent != historyMaxPast) {
-
520  if (--historyPresent == -1)
-
521  historyPresent = 99;
-
522  layerBundle = history[static_cast<size_t>(historyPresent)];
-
523  }
-
524  this->guiReference->UpdateGui();
-
525 }
-
526 
- -
528  if (historyPresent != historyMaxFuture) {
-
529  if (++historyPresent == 100)
-
530  historyPresent = 0;
-
531  layerBundle = history[static_cast<size_t>(historyPresent)];
-
532  }
-
533  this->guiReference->UpdateGui();
-
534 }
+
500  this->Tool = temp;
+
501  }
+
502  if(isSettingPolygon) {
+
503  delete this->Tool;
+
504  this->Tool = nullptr;
+
505  isSettingPolygon = false;
+
506  }
+
507  }
+
508 }
+
509 
+ +
511 
+
512  historyPresent++;
+
513  if (historyPresent == 100) {
+
514  historyPresent = 0;
+
515  }
+
516  historyMaxFuture = historyPresent;
+
517  if (historyPresent == historyMaxPast) {
+
518  historyMaxPast++;
+
519  if (historyMaxPast == 100) {
+
520  historyMaxPast = 0;
+
521  }
+
522  }
+
523  history[static_cast<size_t>(historyPresent)] = layerBundle;
+
524 }
+
525 
+ +
527  if (historyPresent != historyMaxPast) {
+
528  if (--historyPresent == -1)
+
529  historyPresent = 99;
+
530  if (activeLayer == -1)
+
531  activeLayer = 0;
+
532  if (layerBundle.size() > history[static_cast<size_t>(historyPresent)].size())
+
533  activeLayer = static_cast<int>(history[static_cast<size_t>(historyPresent)].size()) - 1;
+
534  if (history[static_cast<size_t>(historyPresent)].size() == 0)
+
535  activeLayer = -1;
+
536  layerBundle = history[static_cast<size_t>(historyPresent)];
+
537  }
+
538  this->guiReference->UpdateGui();
+
539 }
+
540 
+ +
542  if (historyPresent != historyMaxFuture) {
+
543  if (++historyPresent == 100)
+
544  historyPresent = 0;
+
545  if (activeLayer == -1)
+
546  activeLayer = 0;
+
547  if (layerBundle.size() > history[static_cast<size_t>(historyPresent)].size())
+
548  activeLayer = static_cast<int>(history[static_cast<size_t>(historyPresent)].size()) - 1;
+
549  if (history[static_cast<size_t>(historyPresent)].size() == 0)
+
550  activeLayer = -1;
+
551  layerBundle = history[static_cast<size_t>(historyPresent)];
+
552  }
+
553  this->guiReference->UpdateGui();
+
554 }
-
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
-
void createCircleTool()
+
void createCircleTool()
createCircleTool creates a Circle Tool.
virtual void onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:19
QColor getFirstColor() const
A function to read the primary selected color.
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()
-
void mouseReleaseEvent(QMouseEvent *event) override
-
void createRectangleTool()
+
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.
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:30
-
bool getIsDrawing() const
- +
bool getIsDrawing() const
getIsDrawing returns if the tool is currently drawing
+
int getMaxWidth()
getMaxWidth gets the max width of the Canvas.
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
-
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
+
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
+
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
-
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
std::vector< QPoint > getPolygonDataOfActiveLayer()
getPolygonDataOfActiveLayer get the polygon data of the active Layer.
+
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
- -
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
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.
The IntelliShapedImage manages a Shapedimage.
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
-
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
void createPlainTool()
-
void wheelEvent(QWheelEvent *event) override
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
void wheelEvent(QWheelEvent *event) override
wheelEvent handles a mouse wheel event
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:139
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
-
void createPenTool()
+
void createPenTool()
createPenTool creates a Pen Tool.
-
void mousePressEvent(QMouseEvent *event) override
+
void mousePressEvent(QMouseEvent *event) override
mousePressEvent handles a mouse pressed event.
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.
-
void historyGoBack()
+
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
The IntelliToolRectangle class represents a tool to draw a rectangle.
-
void createLineTool()
+
void createLineTool()
createLineTool creates a Line Tool.
The IntelliToolPen class represents a tool to draw a line.
-
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
+
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
virtual void onMouseRightReleased(int x, int y)
A function managing the right click Released of a Mouse. Merging the Canvas to Active....
Definition: IntelliTool.cpp:26
-
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary 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
+
void mouseMoveEvent(QMouseEvent *event) override
mouseMoveEvent handles a mouse moved event
-
int getNumberOfActiveLayer()
void setFirstColor(QColor Color)
A function to set the primary color.
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
-
ImageType getTypeOfImageRealLayer()
-
void setToolWidth(int value)
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:223
-
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
-
void setPixelToActive(QColor color, QPoint point)
+
ImageType getTypeOfImageActiveLayer()
getTypeOfImageActiveLayer get the type of the active Layer.
+
void setToolWidth(int value)
setToolWidth stes a width to the tool
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
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
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
void setLayerDimensions(int maxWidth, int maxHeight)
-
void createFloodFillTool()
-
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
-
void paintEvent(QPaintEvent *event) override
+
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 ...
+
void createFloodFillTool()
createFloodFillTool creates a Floodfill Tool.
+
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
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.
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
-
std::vector< QPoint > getPolygonDataOfRealLayer()
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:222
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
void swapColors()
A function switching primary and secondary color.
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
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.
+
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:47
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()
+
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
+
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:52
The IntelliRasterImage manages a RASTERIMAGE.
-
void setPolygonDataToActive(std::vector< QPoint > points)
+
void setPolygonDataToActive(std::vector< QPoint > points)
setPolygonDataToActive sets polygondata to the active Layer.
+
void createGradientTool()
createGradientTool creates a Gradient Tool.
+
The IntelliToolGradient class that represents a gradient call.
+
The IntelliToolFloodFill class represents a tool to draw a line.
diff --git a/docs/html/_painting_area_8h.html b/docs/html/_painting_area_8h.html index c8e1e27..11cd012 100644 --- a/docs/html/_painting_area_8h.html +++ b/docs/html/_painting_area_8h.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/_painting_area_8h_source.html b/docs/html/_painting_area_8h_source.html index ca254d1..359c16b 100644 --- a/docs/html/_painting_area_8h_source.html +++ b/docs/html/_painting_area_8h_source.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -153,170 +153,195 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
177 void colorPickerSwapColors();
178 
-
179 void createPenTool();
-
180 void createPlainTool();
-
181 void createLineTool();
-
182 void createRectangleTool();
-
183 void createCircleTool();
-
184 void createPolygonTool();
-
185 void createFloodFillTool();
-
186 
-
191 int getWidthOfActive();
-
196 int getHeightOfActive();
-
197 
-
198 int getMaxWidth();
-
199 
-
200 int getMaxHeight();
-
201 
- +
182 void createPenTool();
+
183 
+
187 void createPlainTool();
+
188 
+
192 void createLineTool();
+
193 
+
197 void createRectangleTool();
+
198 
+
202 void createCircleTool();
203 
-
204 std::vector<QPoint> getPolygonDataOfRealLayer();
-
205 
- -
207 
- -
209 
- -
215 
-
220 std::vector<LayerObject>* getLayerBundle();
-
221 
- - -
224 
-
225 void historyGoBack();
-
226 void historyGoForward();
-
227 
-
228 void setLayerDimensions(int maxWidth, int maxHeight);
+
207 void createPolygonTool();
+
208 
+
212 void createFloodFillTool();
+
213 
+
217 void createGradientTool();
+
218 
+
223 int getWidthOfActive();
+
228 int getHeightOfActive();
229 
-
230 void setPixelToActive(QColor color, QPoint point);
-
231 
-
232 void setPolygonDataToActive(std::vector<QPoint> points);
-
233 public slots:
-
238 void slotActivateLayer(int a);
-
242 void slotDeleteActiveLayer();
-
243 
-
244 protected:
-
245 void mousePressEvent(QMouseEvent*event) override;
-
246 void mouseMoveEvent(QMouseEvent*event) override;
-
247 void mouseReleaseEvent(QMouseEvent*event) override;
-
248 
-
249 void wheelEvent(QWheelEvent*event) override;
-
250 
-
251 void paintEvent(QPaintEvent*event) override;
-
252 
-
253 private:
-
254 //offset for the displayable
-
255 int offsetXDimension;
-
256 int offsetYDimension;
-
257 
-
258 void selectLayerUp();
-
259 void selectLayerDown();
-
260 IntelliTool* copyActiveTool();
-
261 
-
262 QImage* Canvas;
-
263 QImage ScaledCanvas;
-
264 int maxWidth;
-
265 int maxHeight;
-
266 
-
267 bool isSettingPolygon = false;
-
268 
-
269 IntelliRenderSettings renderSettings;
-
270 IntelliTool* Tool;
-
271 IntelliPhotoGui* guiReference;
-
272 
-
273 std::vector<LayerObject> layerBundle;
-
274 int activeLayer = -1;
-
275 
-
276 void drawLayers(bool forSaving = false);
+
234 int getMaxWidth();
+
235 
+
240 int getMaxHeight();
+
241 
+ +
247 
+
252 std::vector<QPoint> getPolygonDataOfActiveLayer();
+
253 
+ +
259 
+ +
265 
+ +
271 
+
276 std::vector<LayerObject>* getLayerBundle();
277 
-
278 bool createTempTopLayer(int idx);
-
279 
-
280 void updateTools();
-
281 
-
282 std::vector<LayerObject> history[100] = {layerBundle};
-
283 int historyMaxPast = 0;
-
284 int historyMaxFuture = 0;
-
285 int historyPresent = 0;
-
286 
-
287 void historyadd();
-
288 
-
289 };
-
290 
-
291 #endif
+ +
282 
+ +
287 
+
291 void historyadd();
+
292 
+
296 void historyGoBack();
+
297 
+
301 void historyGoForward();
+
302 
+
308 void setCanvasDimensions(int maxWidth, int maxHeight);
+
309 
+
315 void drawPixelOntoActive(QColor color, QPoint point);
+
316 
+
321 void setPolygonDataToActive(std::vector<QPoint> points);
+
322 public slots:
+
327 void slotActivateLayer(int a);
+
331 void slotDeleteActiveLayer();
+
332 
+
333 protected:
+
338 void mousePressEvent(QMouseEvent*event) override;
+
339 
+
344 void mouseMoveEvent(QMouseEvent*event) override;
+
345 
+
350 void mouseReleaseEvent(QMouseEvent*event) override;
+
351 
+
356 void wheelEvent(QWheelEvent*event) override;
+
357 
+
362 void paintEvent(QPaintEvent*event) override;
+
363 
+
364 private:
+
368 int offsetXDimension;
+
369 
+
373 int offsetYDimension;
+
374 
+
378 void selectLayerUp();
+
379 
+
383 void selectLayerDown();
+
384 
+
389 IntelliTool* copyActiveTool();
+
390 
+
394 QImage* Canvas;
+
395 
+
399 QImage ScaledCanvas;
+
400 
+
404 int maxWidth;
+
405 
+
409 int maxHeight;
+
410 
+
414 bool isSettingPolygon = false;
+
415 
+
419 IntelliRenderSettings renderSettings;
+
420 
+
424 IntelliTool* Tool;
+
425 
+
429 IntelliPhotoGui* guiReference;
+
430 
+
434 std::vector<LayerObject> layerBundle;
+
435 
+
439 int activeLayer = -1;
+
440 
+
445 void drawLayers(bool forSaving = false);
+
446 
+
452 bool createTempTopLayer(int idx);
+
453 
+
457 void updateTools();
+
458 
+
462 std::vector<LayerObject> history[100] = {layerBundle};
+
463 
+
467 int historyMaxPast = 0;
+
468 
+
472 int historyMaxFuture = 0;
+
473 
+
477 int historyPresent = 0;
+
478 
+
479 };
+
480 
+
481 #endif
-
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
-
void createCircleTool()
+
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
+
void createCircleTool()
createCircleTool creates a Circle Tool.
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()
-
void mouseReleaseEvent(QMouseEvent *event) override
-
void createRectangleTool()
+
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.
-
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.
- -
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
+
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.
+
The IntelliRenderSettings class which manages the render Settings.
+
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
- -
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
+
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 IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
-
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
-
void createPlainTool()
-
void wheelEvent(QWheelEvent *event) override
+
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
+
void createPlainTool()
createPlainTool creates a Plain Tool.
+
void wheelEvent(QWheelEvent *event) override
wheelEvent handles a mouse wheel event
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:57
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
-
void createPenTool()
-
void mousePressEvent(QMouseEvent *event) override
+
void createPenTool()
createPenTool creates a Pen Tool.
+
void mousePressEvent(QMouseEvent *event) override
mousePressEvent handles a mouse pressed event.
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
-
void historyGoBack()
-
void createLineTool()
-
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.
+
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
+
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
-
int getNumberOfActiveLayer()
+
void mouseMoveEvent(QMouseEvent *event) override
mouseMoveEvent handles a mouse moved event
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
-
ImageType getTypeOfImageRealLayer()
-
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
-
void createPolygonTool()
-
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
-
IntelliColorPicker colorPicker
Definition: PaintingArea.h:223
-
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
-
void setPixelToActive(QColor color, QPoint point)
+
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
+
ImageType getTypeOfImageActiveLayer()
getTypeOfImageActiveLayer get the type of the active Layer.
+
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
+
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
-
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
void setLayerDimensions(int maxWidth, int maxHeight)
-
void createFloodFillTool()
-
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
+
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 ...
+
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 paintEvent(QPaintEvent *event) override
+
void paintEvent(QPaintEvent *event) override
paintEvent handles a painting event
bool getRenderSettings()
getRenderSettings updates all Images to the new Rendersetting.
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
-
std::vector< QPoint > getPolygonDataOfRealLayer()
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:222
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
-
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
-
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
+
IntelliToolsettings Toolsettings
Toolsettings - a class to manage Tool settings.
Definition: PaintingArea.h:281
+
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
+
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()
- -
void setPolygonDataToActive(std::vector< QPoint > points)
- +
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.
+
The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.
diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index e7e6e6e..28c407f 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -10,6 +10,7 @@ var annotated_dup = [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ], [ "IntelliToolCircle", "class_intelli_tool_circle.html", "class_intelli_tool_circle" ], [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", "class_intelli_tool_flood_fill" ], + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", "class_intelli_tool_gradient" ], [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ], [ "IntelliToolPen", "class_intelli_tool_pen.html", "class_intelli_tool_pen" ], [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", "class_intelli_tool_plain_tool" ], diff --git a/docs/html/class_intelli_color_picker-members.html b/docs/html/class_intelli_color_picker-members.html index 70ea16b..73d06fa 100644 --- a/docs/html/class_intelli_color_picker-members.html +++ b/docs/html/class_intelli_color_picker-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_color_picker.html b/docs/html/class_intelli_color_picker.html index d3dfb81..f60a452 100644 --- a/docs/html/class_intelli_color_picker.html +++ b/docs/html/class_intelli_color_picker.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_image-members.html b/docs/html/class_intelli_image-members.html index cb06210..96313d4 100644 --- a/docs/html/class_intelli_image-members.html +++ b/docs/html/class_intelli_image-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_image.html b/docs/html/class_intelli_image.html index 9ca305a..968965a 100644 --- a/docs/html/class_intelli_image.html +++ b/docs/html/class_intelli_image.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -163,10 +163,13 @@ Public Member Functions  setImageData overwrites the old imageData the new imageData. More...
  virtual int getWidth () const + getWidth returns the width of the Image. More...
  virtual int getHeight () const + getHeight returns the height of the Image. More...
  virtual bool isFastRendering () const + isFastRendering returns if the Image is in fast rendering mode. More...
 

@@ -632,6 +635,9 @@ Protected Attributes

+

getHeight returns the height of the Image.

+
Returns
The height of the Image in pixel.
+

Definition at line 167 of file IntelliImage.cpp.

@@ -784,6 +790,9 @@ Protected Attributes
+

getWidth returns the width of the Image.

+
Returns
The width of the Image in pixel.
+

Definition at line 163 of file IntelliImage.cpp.

@@ -811,6 +820,9 @@ Protected Attributes
+

isFastRendering returns if the Image is in fast rendering mode.

+
Returns
True if the Image is fast rendered, flase otherwiese.
+

Definition at line 171 of file IntelliImage.cpp.

diff --git a/docs/html/class_intelli_input_dialog-members.html b/docs/html/class_intelli_input_dialog-members.html index b423c22..c14f63f 100644 --- a/docs/html/class_intelli_input_dialog-members.html +++ b/docs/html/class_intelli_input_dialog-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_input_dialog.html b/docs/html/class_intelli_input_dialog.html index 8c2a691..51f7a82 100644 --- a/docs/html/class_intelli_input_dialog.html +++ b/docs/html/class_intelli_input_dialog.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -92,6 +92,9 @@ $(document).ready(function(){initNavTree('class_intelli_input_dialog.html','');
+

The IntelliInputDialog class is a customized Input Dialog to get Integers. + More...

+

#include <IntelliInputDialog.h>

Inheritance diagram for IntelliInputDialog:
@@ -103,23 +106,28 @@ Inheritance diagram for IntelliInputDialog:

Public Slots

void slotCloseEvent () + slotCloseEvent is a slot for catching the close Event. More...
  void slotEingabe () + slotEingabe is a slot for catching the Input Event. More...
  +

Public Member Functions

 IntelliInputDialog (QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
 IntelliInputDialog is the baisc constructor to for the InputDialog. More...
 
+

Static Public Member Functions

static int getInt (QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
 getInt is a static funktion ´, which creates an Input Dialog and gets an Integer. More...
 

Detailed Description

-
-

Definition at line 12 of file IntelliInputDialog.h.

+

The IntelliInputDialog class is a customized Input Dialog to get Integers.

+ +

Definition at line 15 of file IntelliInputDialog.h.

Constructor & Destructor Documentation

◆ IntelliInputDialog()

@@ -177,6 +185,20 @@ Static Public Member Functions
+

IntelliInputDialog is the baisc constructor to for the InputDialog.

+
Parameters
+ + + + + + + + +
Title- Title of the Input Dialog.
Label- A Label for the Iput Dialog, to show further information.
value- The standart value in the Input Box.
minValue- The minimal value to read.
maxValue- The maximal value to read.
step- The step size of Values.
ok- A check if the input was okay
+
+
+

Definition at line 3 of file IntelliInputDialog.cpp.

@@ -246,6 +268,21 @@ Static Public Member Functions
+

getInt is a static funktion ´, which creates an Input Dialog and gets an Integer.

+
Parameters
+ + + + + + + + +
Title- Title of the Input Dialog.
Label- A Label for the Iput Dialog, to show further information.
value- The standart value in the Input Box.
minValue- The minimal value to read.
maxValue- The maximal value to read.
step- The step size of Values.
ok- A check if the input was okay
+
+
+
Returns
+

Definition at line 16 of file IntelliInputDialog.cpp.

@@ -273,6 +310,8 @@ Static Public Member Functions
+

slotCloseEvent is a slot for catching the close Event.

+

Definition at line 74 of file IntelliInputDialog.cpp.

@@ -300,6 +339,8 @@ Static Public Member Functions
+

slotEingabe is a slot for catching the Input Event.

+

Definition at line 78 of file IntelliInputDialog.cpp.

diff --git a/docs/html/class_intelli_photo_gui-members.html b/docs/html/class_intelli_photo_gui-members.html index abeec7e..e34fcbd 100644 --- a/docs/html/class_intelli_photo_gui-members.html +++ b/docs/html/class_intelli_photo_gui-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index 30c0d5d..99ec3a5 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -108,8 +108,10 @@ Public Member Functions  The IntelliPhotoGui method is the constructor and is used to create a new instance of the main program window. More...
  void UpdateGui () + UpdateGui a function to update all gui elements. More...
  void setToolWidth (int value) + setToolWidth stes a width to the tool More...
 

The IntelliPhotoGui method is the constructor and is used to create a new instance of the main program window.

-

Definition at line 12 of file IntelliPhotoGui.cpp.

+

Definition at line 14 of file IntelliPhotoGui.cpp.

@@ -171,7 +173,7 @@ Protected Member Functions

The closeEvent function handles closing events.

-

Definition at line 27 of file IntelliPhotoGui.cpp.

+

Definition at line 30 of file IntelliPhotoGui.cpp.

@@ -191,7 +193,15 @@ Protected Member Functions

@@ -140,7 +142,7 @@ Protected Member Functions

-

Definition at line 886 of file IntelliPhotoGui.cpp.

+

setToolWidth stes a width to the tool

+
Parameters
+ + +
value- the width of the tool
+
+
+ +

Definition at line 923 of file IntelliPhotoGui.cpp.

@@ -210,7 +220,9 @@ Protected Member Functions
-

Definition at line 895 of file IntelliPhotoGui.cpp.

+

UpdateGui a function to update all gui elements.

+ +

Definition at line 932 of file IntelliPhotoGui.cpp.

diff --git a/docs/html/class_intelli_raster_image-members.html b/docs/html/class_intelli_raster_image-members.html index 1813074..520e648 100644 --- a/docs/html/class_intelli_raster_image-members.html +++ b/docs/html/class_intelli_raster_image-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_raster_image.html b/docs/html/class_intelli_raster_image.html index 454d71e..cb8e1be 100644 --- a/docs/html/class_intelli_raster_image.html +++ b/docs/html/class_intelli_raster_image.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -171,10 +171,13 @@ Public Member Functions  setImageData overwrites the old imageData the new imageData. More...
  virtual int getWidth () const + getWidth returns the width of the Image. More...
  virtual int getHeight () const + getHeight returns the height of the Image. More...
  virtual bool isFastRendering () const + isFastRendering returns if the Image is in fast rendering mode. More...
  diff --git a/docs/html/class_intelli_render_settings.html b/docs/html/class_intelli_render_settings.html index 5f148f2..0f5ac69 100644 --- a/docs/html/class_intelli_render_settings.html +++ b/docs/html/class_intelli_render_settings.html @@ -26,7 +26,7 @@ @@ -90,6 +90,9 @@ $(document).ready(function(){initNavTree('class_intelli_render_settings.html',''
+

The IntelliRenderSettings class which manages the render Settings. + More...

+

#include <IntelliRenderSettings.h>

diff --git a/docs/html/class_intelli_render_settings-members.html b/docs/html/class_intelli_render_settings-members.html index b6b8a9d..091b12a 100644 --- a/docs/html/class_intelli_render_settings-members.html +++ b/docs/html/class_intelli_render_settings-members.html @@ -26,7 +26,7 @@

IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7

@@ -104,8 +107,9 @@ Public Member Functions

 

Detailed Description

-
-

Definition at line 8 of file IntelliRenderSettings.h.

+

The IntelliRenderSettings class which manages the render Settings.

+ +

Definition at line 10 of file IntelliRenderSettings.h.

Constructor & Destructor Documentation

◆ IntelliRenderSettings()

diff --git a/docs/html/class_intelli_shaped_image-members.html b/docs/html/class_intelli_shaped_image-members.html index f1d8bd8..08029a5 100644 --- a/docs/html/class_intelli_shaped_image-members.html +++ b/docs/html/class_intelli_shaped_image-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_shaped_image.html b/docs/html/class_intelli_shaped_image.html index d082386..35df737 100644 --- a/docs/html/class_intelli_shaped_image.html +++ b/docs/html/class_intelli_shaped_image.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -180,10 +180,13 @@ Public Member Functions  setImageData overwrites the old imageData the new imageData. More...
  virtual int getWidth () const + getWidth returns the width of the Image. More...
  virtual int getHeight () const + getHeight returns the height of the Image. More...
  virtual bool isFastRendering () const + isFastRendering returns if the Image is in fast rendering mode. More...
  diff --git a/docs/html/class_intelli_tool.html b/docs/html/class_intelli_tool.html index 02c3620..52c224a 100644 --- a/docs/html/class_intelli_tool.html +++ b/docs/html/class_intelli_tool.html @@ -26,7 +26,7 @@ @@ -102,13 +102,14 @@ Inheritance diagram for IntelliTool:
-IntelliToolCircle -IntelliToolFloodFill -IntelliToolLine -IntelliToolPen -IntelliToolPlainTool -IntelliToolPolygon -IntelliToolRectangle +IntelliToolCircle +IntelliToolFloodFill +IntelliToolGradient +IntelliToolLine +IntelliToolPen +IntelliToolPlainTool +IntelliToolPolygon +IntelliToolRectangle

diff --git a/docs/html/class_intelli_tool-members.html b/docs/html/class_intelli_tool-members.html index 735dda0..98ce117 100644 --- a/docs/html/class_intelli_tool-members.html +++ b/docs/html/class_intelli_tool-members.html @@ -26,7 +26,7 @@

IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
@@ -117,15 +118,18 @@ Public Types +
enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
+ +

@@ -155,8 +159,10 @@ Public Member Functions

 A function managing the mouse moved event. Call this in child classes! More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + @@ -205,9 +213,12 @@ Protected Attributes

@@ -165,11 +171,13 @@ Protected Attributes

 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
+ +

The Tooltype enum categorising the toosl.

+ @@ -216,7 +227,7 @@ Protected Attributes
Enumerator
CIRCLE 
FLOODFILL 
GRADIENT 
LINE 
PEN 
PLAIN 
NONE 
-

Definition at line 20 of file IntelliTool.h.

+

Definition at line 23 of file IntelliTool.h.

@@ -311,6 +322,9 @@ Protected Attributes
+

getIsDrawing returns if the tool is currently drawing

+
Returns
returns if the tool is currently drawing
+

Definition at line 105 of file IntelliTool.cpp.

@@ -330,6 +344,9 @@ Protected Attributes
+

getTooltype returns the tools type

+
Returns
returns the tool type of the current tool.
+

Definition at line 101 of file IntelliTool.cpp.

@@ -377,7 +394,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 30 of file IntelliTool.cpp.

@@ -426,7 +443,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 37 of file IntelliTool.cpp.

@@ -475,7 +492,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 47 of file IntelliTool.cpp.

@@ -524,7 +541,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 19 of file IntelliTool.cpp.

@@ -573,7 +590,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 26 of file IntelliTool.cpp.

@@ -611,7 +628,7 @@ Protected Attributes -

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, and IntelliToolPlainTool.

+

Reimplemented in IntelliToolPolygon, IntelliToolCircle, IntelliToolRectangle, IntelliToolLine, IntelliToolPen, IntelliToolFloodFill, IntelliToolPlainTool, and IntelliToolGradient.

Definition at line 52 of file IntelliTool.cpp.

@@ -640,7 +657,7 @@ Protected Attributes

A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews.

-

Definition at line 64 of file IntelliTool.h.

+

Definition at line 74 of file IntelliTool.h.

@@ -664,7 +681,9 @@ Protected Attributes
-

Definition at line 52 of file IntelliTool.h.

+

ActiveType the type of the active tool.

+ +

Definition at line 59 of file IntelliTool.h.

@@ -690,7 +709,7 @@ Protected Attributes

A pointer to the general PaintingArea to interact with.

-

Definition at line 50 of file IntelliTool.h.

+

Definition at line 54 of file IntelliTool.h.

@@ -716,7 +735,7 @@ Protected Attributes

A pointer to the drawing canvas of the tool, work on this.

-

Definition at line 69 of file IntelliTool.h.

+

Definition at line 79 of file IntelliTool.h.

@@ -742,7 +761,7 @@ Protected Attributes

A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.

-

Definition at line 57 of file IntelliTool.h.

+

Definition at line 64 of file IntelliTool.h.

@@ -768,7 +787,7 @@ Protected Attributes

A flag checking if the user is currently drawing or not.

-

Definition at line 74 of file IntelliTool.h.

+

Definition at line 84 of file IntelliTool.h.

@@ -792,7 +811,9 @@ Protected Attributes
-

Definition at line 59 of file IntelliTool.h.

+

Toolsettings a refrence to the tool settings.

+ +

Definition at line 69 of file IntelliTool.h.

diff --git a/docs/html/class_intelli_tool.js b/docs/html/class_intelli_tool.js index 662a2c5..f6bb814 100644 --- a/docs/html/class_intelli_tool.js +++ b/docs/html/class_intelli_tool.js @@ -3,6 +3,7 @@ var class_intelli_tool = [ "Tooltype", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f", [ [ "CIRCLE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491", null ], [ "FLOODFILL", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93", null ], + [ "GRADIENT", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f", null ], [ "LINE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7", null ], [ "PEN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678", null ], [ "PLAIN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5", null ], diff --git a/docs/html/class_intelli_tool.png b/docs/html/class_intelli_tool.png index 9a2a1db7d285d198f67131f8624297d312d1e8c2..4d872f596ead2c7ea03526373450dcc2a05f43f8 100644 GIT binary patch literal 2298 zcmcgueNYp38it{#0w=jtQL2)y;ZCN0pjL$ffh}z~>RA)@)KK{dNLx+;IX*%Hge>PB zO+3`t$y6+exwF@LXZZ3ggzrE?iC-8olmIcrB`F9PlMomBrhBrL3wcH`jLYVE{$G}*U(@&m*@{BylUsx};Sr-$_!y&>I< zI^$Bt)E*5t!wFtgv88+|gER0?xq`oqlKv44D||@}&vU~ngFP?Cul(r#d2@4@;{k%1 z@@M{GWl8y0eMxU0=iG^fH>Z^F&%Zor^VFY6t9Y%naD62CLY(Vp&|+V_hV9#J-KP{ida^Mjk`uHp&&(y$F-{E@W2M?>PHin4x^VLZ{SR-$(OHnj2Cc=6$77=GIAU3ZcOvbgCu;G1T^BI6>ZCcjy8cW^Z z<%;HPLtI)$X;N0ETw&e%s>pt7z~t%b`h$3fyaD2^s1km(FRA|+A`lRyA+A&C;1BO4 zK;)C$cr+phoqZ_q^Z#m%vQrP)tdliRu|RN&j=mY*y#V$TY}bc8WOV+DQlilE*_Ghe zOlJXX3b2;~b!+BUgJj`l2YBD;nofDaY*pRe*-6koZ4rj9MGJt!tSM8YA zOXp~>a6Qrwo4g`)f)no(ne2H@ALO}+wrl|{sMPa*H8dOG0tRQnRxSPErZu?6 zE0#@KJe+*EgwOh+TiQRg4rk?0e8aIm=+UJTiUj$f|TQqHAI7U^*wI8W|g7lxzl4GA#SbpF7-?-M&Y%7{iq-BVbvdp+0rXN~rqc1Kbg~Kf8GOn^Z^YSI~uqN4!8Rg$wnl+H6+MVGE-#O(av&u?@0fb8}6cUb+CB*&(hq z>$??>{!C}4#gK-+ivYu>z|=FfSJ9nynfQFgHP1(p$)7rJBRtDnRzHo&=0$rz&bM&%ymCAIR z86zzUk literal 1396 zcmZ`(Yfuwc6ixs&f=VKz3yLBUaT@C)S{^z`C;} zr9~Xj;2=%eq6jjOC?*(LXysJ|3qlmL;gNtzh@gQWNjFS8(;w}fxp%+&opZi(&dfc_ zI}jPR+{{d=c}Q$H#97A|pgQ+#dyE9M)z! zKG&&07;ZLlN&r|H+>n)C%cB`gclf%L&^bHefi`S)FSr; z^tuQNTRh{xJLSgxAT&YTF-9J$-egG1G)y=F?m-trPHXr*UQB|G-RTM#o({#~-#FJx zW;$qvjS3~pb|DD+6nT*5B@8 zJ#(#PrmNUj^3cY-78=VZllJUEb(|J-sNw&q^FQ+c&`RMbJ5cy^mL15Qnq{w;kG(8= zlTnJ}32>F!L=T%5)Gx~;nAi+c_U2H2L!7YX8wm(;dJ|!#JLnlq^ax%p#5u3y;ep#; zXbjUEmsBAJP9sSj}bQp$9w>$?Mu??@wLcI-?ulq666Y#&y|K1n!5bUk9M!1qiI z(&-Nk^GmA=YF@y8G?@#hUhfY?4_88_W)L8sJOX@G!rwAlD$I- zJm6S7uUTAB()czXmWsRJR=dF%Md16sgxhx2s=+yA1u(SgIE|q=Sm?O4Xb!oxlfh`t z2iM&=z?!X*Zhen2|&{M!a23_+hvn2@5%Yz3Tr{?rG0 z)QcaBq~aP+757lo`*uj$|Iu}YmVYcd%dKCJ6upf0X_jcka@fZ!hk9A_e9TY23ow3w zyW2E)V9&XK*>7FPR$>lN39vZ3BVmF6ppB(djxe^9HHlbvEMfiQLK?JOfB( z)x=$gR3>x2w{X0mRhq&o=C6H6CwXUib*w6T0&9I-$hi>Y5-9FByXxTVN6CLm#EBzD z#+CIgo`7Gcxt5UX=j@{nW9lx%ccPsL6JW3kGErA5-FTCe51=zeGDhz8Ptj*@HWKb_ zeG5qZOE!U?a?5Uca*r^wjbzr6+E4PVBOu!pJTAncgF>^Qqa-f=8~y@yU&TcO+&JfN nwjKSrZCQvTIzU+mb1WE^djm@_JhvGAMPjI-k(7JE$G`gvU}T@3 diff --git a/docs/html/class_intelli_tool_circle-members.html b/docs/html/class_intelli_tool_circle-members.html index 21834ef..da82e76 100644 --- a/docs/html/class_intelli_tool_circle-members.html +++ b/docs/html/class_intelli_tool_circle-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_tool_circle.html b/docs/html/class_intelli_tool_circle.html index a7981de..d13714d 100644 --- a/docs/html/class_intelli_tool_circle.html +++ b/docs/html/class_intelli_tool_circle.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -138,8 +138,10 @@ Public Member Functions  An abstract Destructor. More...
  Tooltype getTooltype () const + getTooltype returns the tools type More...
  bool getIsDrawing () const + getIsDrawing returns if the tool is currently drawing More...
  + + + diff --git a/docs/html/class_intelli_tool_flood_fill-members.html b/docs/html/class_intelli_tool_flood_fill-members.html index f3cf163..a8ad1a6 100644 --- a/docs/html/class_intelli_tool_flood_fill-members.html +++ b/docs/html/class_intelli_tool_flood_fill-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_tool_flood_fill.html b/docs/html/class_intelli_tool_flood_fill.html index 06daebf..1a5e662 100644 --- a/docs/html/class_intelli_tool_flood_fill.html +++ b/docs/html/class_intelli_tool_flood_fill.html @@ -26,7 +26,7 @@ @@ -138,8 +138,10 @@ Public Member Functions + +

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + diff --git a/docs/html/class_intelli_tool_gradient-members.html b/docs/html/class_intelli_tool_gradient-members.html new file mode 100644 index 0000000..71b215b --- /dev/null +++ b/docs/html/class_intelli_tool_gradient-members.html @@ -0,0 +1,123 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
+ + + + + +
+
IntelliPhoto +  0.7 +
+
+ + + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliToolGradient Member List
+
+
+ +

This is the complete list of members for IntelliToolGradient, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
activeLayerIntelliToolprotected
ActiveTypeIntelliToolprotected
AreaIntelliToolprotected
CanvasIntelliToolprotected
colorPickerIntelliToolprotected
getIsDrawing() constIntelliTool
getTooltype() constIntelliTool
IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool
IntelliToolGradient(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliToolGradient
isDrawingIntelliToolprotected
onMouseLeftPressed(int x, int y) overrideIntelliToolGradientvirtual
onMouseLeftReleased(int x, int y) overrideIntelliToolGradientvirtual
onMouseMoved(int x, int y) overrideIntelliToolGradientvirtual
onMouseRightPressed(int x, int y) overrideIntelliToolGradientvirtual
onMouseRightReleased(int x, int y) overrideIntelliToolGradientvirtual
onWheelScrolled(int value) overrideIntelliToolGradientvirtual
ToolsettingsIntelliToolprotected
Tooltype enum nameIntelliTool
~IntelliTool()=0IntelliToolpure virtual
~IntelliToolGradient() overrideIntelliToolGradientvirtual
+
+ + + + diff --git a/docs/html/class_intelli_tool_gradient.html b/docs/html/class_intelli_tool_gradient.html new file mode 100644 index 0000000..6c20c70 --- /dev/null +++ b/docs/html/class_intelli_tool_gradient.html @@ -0,0 +1,569 @@ + + + + + + + +IntelliPhoto: IntelliToolGradient Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.7 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IntelliToolGradient Class Reference
+
+
+ +

The IntelliToolGradient class that represents a gradient call. + More...

+ +

#include <IntelliToolGradient.h>

+
+Inheritance diagram for IntelliToolGradient:
+
+
+ + +IntelliTool + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IntelliToolGradient (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 IntelliToolGradient basic constructor of the gradient tool. More...
 
virtual ~IntelliToolGradient () override
 ~IntelliToolGradient basic destructor. More...
 
virtual void onMouseRightPressed (int x, int y) override
 A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More...
 
virtual void onMouseRightReleased (int x, int y) override
 A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More...
 
virtual void onMouseLeftPressed (int x, int y) override
 A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More...
 
virtual void onMouseLeftReleased (int x, int y) override
 A function managing the left click Released of a Mouse. Call this in child classes! More...
 
virtual void onWheelScrolled (int value) override
 A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! More...
 
virtual void onMouseMoved (int x, int y) override
 A function managing the mouse moved event. Call this in child classes! More...
 
- Public Member Functions inherited from IntelliTool
 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
 A constructor setting the general Painting Area and colorPicker. More...
 
virtual ~IntelliTool ()=0
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from IntelliTool
enum  Tooltype {
+  Tooltype::CIRCLE, +Tooltype::FLOODFILL, +Tooltype::GRADIENT, +Tooltype::LINE, +
+  Tooltype::PEN, +Tooltype::PLAIN, +Tooltype::POLYGON, +Tooltype::RECTANGLE, +
+  Tooltype::NONE +
+ }
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
 
LayerObjectCanvas
 A pointer to the drawing canvas of the tool, work on this. More...
 
bool isDrawing = false
 A flag checking if the user is currently drawing or not. More...
 
+

Detailed Description

+

The IntelliToolGradient class that represents a gradient call.

+ +

Definition at line 7 of file IntelliToolGradient.h.

+

Constructor & Destructor Documentation

+ +

◆ IntelliToolGradient()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
IntelliToolGradient::IntelliToolGradient (PaintingAreaArea,
IntelliColorPickercolorPicker,
IntelliToolsettingsToolsettings 
)
+
+ +

IntelliToolGradient basic constructor of the gradient tool.

+
Parameters
+ + + + +
Area- a reference to the paintingArea
colorPicker- a reference to the colorpicker
Toolsettings- a regerence to the Toolsettings
+
+
+ +

Definition at line 6 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ ~IntelliToolGradient()

+ +
+
+ + + + + +
+ + + + + + + +
IntelliToolGradient::~IntelliToolGradient ()
+
+overridevirtual
+
+ +

~IntelliToolGradient basic destructor.

+ +

Definition at line 13 of file IntelliToolGradient.cpp.

+ +
+
+

Member Function Documentation

+ +

◆ onMouseLeftPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseLeftPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 17 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseLeftReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseLeftReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the left click Released of a Mouse. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 32 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseMoved()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseMoved (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the mouse moved event. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate of the new mouse position.
y- The y coordinate of the new mouse position.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 43 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseRightPressed()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseRightPressed (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 28 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onMouseRightReleased()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IntelliToolGradient::onMouseRightReleased (int x,
int y 
)
+
+overridevirtual
+
+ +

A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!

+
Parameters
+ + + +
x- The x coordinate relative to the active/canvas layer.
y- The y coordinate relative to the active/canvas layer.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 39 of file IntelliToolGradient.cpp.

+ +
+
+ +

◆ onWheelScrolled()

+ +
+
+ + + + + +
+ + + + + + + + +
void IntelliToolGradient::onWheelScrolled (int value)
+
+overridevirtual
+
+ +

A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes!

+
Parameters
+ + +
value- The absolute the scroll has changed.
+
+
+ +

Reimplemented from IntelliTool.

+ +

Definition at line 59 of file IntelliToolGradient.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/class_intelli_tool_gradient.js b/docs/html/class_intelli_tool_gradient.js new file mode 100644 index 0000000..12afbda --- /dev/null +++ b/docs/html/class_intelli_tool_gradient.js @@ -0,0 +1,11 @@ +var class_intelli_tool_gradient = +[ + [ "IntelliToolGradient", "class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203", null ], + [ "~IntelliToolGradient", "class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539", null ], + [ "onMouseLeftPressed", "class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1", null ], + [ "onMouseLeftReleased", "class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11", null ], + [ "onMouseMoved", "class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e", null ], + [ "onMouseRightPressed", "class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36", null ], + [ "onMouseRightReleased", "class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834", null ], + [ "onWheelScrolled", "class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a", null ] +]; \ No newline at end of file diff --git a/docs/html/class_intelli_tool_gradient.png b/docs/html/class_intelli_tool_gradient.png new file mode 100644 index 0000000000000000000000000000000000000000..133331028bcc2a88a0b468b09d4383943f6318aa GIT binary patch literal 451 zcmeAS@N?(olHy`uVBq!ia0vp^g+Ls@!3-oN1F}FIi2$Dv*Z=?j1DOvWJxWebp8#Zm z@qq&eKC1}X0l6F{L4LsuKt&*M^;C!v0|R4_r;B4q1>@VfH}eiF2)Oc#YySU#(s$2> zij{#@vf*c4WKOf$92XCmchWLF{KTXu9ulf2XW3`?94`;{{_G!gd)xU*x4tnyj;v&U ztbOKll%8s`=6)94#gj^oP1q=56>EC!o!LGWS%YaG-5%Ej%rTaG^VmKrbopj2&t)xv zlh$x9R*5X`HhezEma(Fny+QlkvEzrMU*^?t&7J!1Sii;UL>2?}9)@czf(K?9FhvNv zF=QX&Nbr?lT*Ik+KvHw*6E4mJ6M+)Ni#K-d-o0{dJ5R=~FEtn9@3YJbbD4h3H{Cpc z8`GCLHAk=g;4-fLTBIp?`ip9S^{sWGl5xkcb#8rfEP`k5Iw@&?<1IDb*Y8h%srFs+ zzTvb3_owbOJI9`6kbL*T*R`=T7xu9Ku1K_r{u21u<5+5B`LVNhaZ<<6zpB|?dt?69 qAoG9WjCGAbXM9#XHYMoO6Yd>e5*PK1KAi%FID@CFpUXO@geCw)7{x{a literal 0 HcmV?d00001 diff --git a/docs/html/class_intelli_tool_line-members.html b/docs/html/class_intelli_tool_line-members.html index fc91e17..99238be 100644 --- a/docs/html/class_intelli_tool_line-members.html +++ b/docs/html/class_intelli_tool_line-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_intelli_tool_line.html b/docs/html/class_intelli_tool_line.html index 4231e24..f2a78bb 100644 --- a/docs/html/class_intelli_tool_line.html +++ b/docs/html/class_intelli_tool_line.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -138,8 +138,10 @@ Public Member Functions  An abstract Destructor. More...
  Tooltype getTooltype () const + getTooltype returns the tools type More...
  bool getIsDrawing () const + getIsDrawing returns if the tool is currently drawing More...
  + + + diff --git a/docs/html/class_intelli_tool_pen-members.html b/docs/html/class_intelli_tool_pen-members.html index 71369b5..429bf02 100644 --- a/docs/html/class_intelli_tool_pen-members.html +++ b/docs/html/class_intelli_tool_pen-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_tool_pen.html b/docs/html/class_intelli_tool_pen.html index b5e1322..09aef62 100644 --- a/docs/html/class_intelli_tool_pen.html +++ b/docs/html/class_intelli_tool_pen.html @@ -26,7 +26,7 @@ @@ -138,8 +138,10 @@ Public Member Functions + +

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + diff --git a/docs/html/class_intelli_tool_plain_tool-members.html b/docs/html/class_intelli_tool_plain_tool-members.html index 2c30fb5..93a5b13 100644 --- a/docs/html/class_intelli_tool_plain_tool-members.html +++ b/docs/html/class_intelli_tool_plain_tool-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_tool_plain_tool.html b/docs/html/class_intelli_tool_plain_tool.html index 4535c8a..db013c6 100644 --- a/docs/html/class_intelli_tool_plain_tool.html +++ b/docs/html/class_intelli_tool_plain_tool.html @@ -26,7 +26,7 @@ @@ -138,8 +138,10 @@ Public Member Functions + +

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + diff --git a/docs/html/class_intelli_tool_polygon-members.html b/docs/html/class_intelli_tool_polygon-members.html index f6a0cbd..8ebaa1d 100644 --- a/docs/html/class_intelli_tool_polygon-members.html +++ b/docs/html/class_intelli_tool_polygon-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_tool_polygon.html b/docs/html/class_intelli_tool_polygon.html index a30c226..5266dcd 100644 --- a/docs/html/class_intelli_tool_polygon.html +++ b/docs/html/class_intelli_tool_polygon.html @@ -26,7 +26,7 @@ @@ -138,8 +138,10 @@ Public Member Functions + +

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + diff --git a/docs/html/class_intelli_tool_rectangle-members.html b/docs/html/class_intelli_tool_rectangle-members.html index e64bb08..243556f 100644 --- a/docs/html/class_intelli_tool_rectangle-members.html +++ b/docs/html/class_intelli_tool_rectangle-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_tool_rectangle.html b/docs/html/class_intelli_tool_rectangle.html index 563a65e..014a204 100644 --- a/docs/html/class_intelli_tool_rectangle.html +++ b/docs/html/class_intelli_tool_rectangle.html @@ -26,7 +26,7 @@ @@ -138,8 +138,10 @@ Public Member Functions + +

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
 An abstract Destructor. More...
 
Tooltype getTooltype () const
 getTooltype returns the tools type More...
 
bool getIsDrawing () const
 getIsDrawing returns if the tool is currently drawing More...
 
+ + + diff --git a/docs/html/class_intelli_toolsettings-members.html b/docs/html/class_intelli_toolsettings-members.html index 01786c9..0787b79 100644 --- a/docs/html/class_intelli_toolsettings-members.html +++ b/docs/html/class_intelli_toolsettings-members.html @@ -26,7 +26,7 @@ diff --git a/docs/html/class_intelli_toolsettings.html b/docs/html/class_intelli_toolsettings.html index 8471e49..70fb0ba 100644 --- a/docs/html/class_intelli_toolsettings.html +++ b/docs/html/class_intelli_toolsettings.html @@ -26,7 +26,7 @@ @@ -90,26 +90,36 @@ $(document).ready(function(){initNavTree('class_intelli_toolsettings.html','');
+

The IntelliToolsettings class managing the settings of the tools, independent of an existing tool. + More...

+

#include <IntelliToolsettings.h>

@@ -148,26 +150,31 @@ Additional Inherited Members

enum  Tooltype {
  Tooltype::CIRCLE, Tooltype::FLOODFILL, +Tooltype::GRADIENT, Tooltype::LINE, -Tooltype::PEN,
-  Tooltype::PLAIN, +  Tooltype::PEN, +Tooltype::PLAIN, Tooltype::POLYGON, Tooltype::RECTANGLE, -Tooltype::NONE +
+  Tooltype::NONE
}
 The Tooltype enum categorising the toosl. More...
 
- Protected Attributes inherited from IntelliTool
PaintingAreaArea
 A pointer to the general PaintingArea to interact with. More...
 
Tooltype ActiveType
 ActiveType the type of the active tool. More...
 
IntelliColorPickercolorPicker
 A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More...
 
IntelliToolsettingsToolsettings
 Toolsettings a refrence to the tool settings. More...
 
LayerObjectactiveLayer
 A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More...
IntelliPhoto -  0.6 +  0.7
IntelliPhoto -  0.6 +  0.7
+ + + + + +

Public Member Functions

 IntelliToolsettings ()
 IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics. More...
 
virtual ~IntelliToolsettings ()
 ~IntelliToolsettings - basic destructor. More...
 
int getLineWidth () const
 getLineWidth returns the width attribute of the line. More...
 
void setLineWidth (int LineWidth)
 setLineWidth sets the width attribute of the line. More...
 
int getInnerAlpha () const
 getInnerAlpha returns the inner alpha value. More...
 
void setInnerAlpha (int innerAlpha)
 setInnerAlpha sets the inner alpha attribute of the Tool. More...
 

Detailed Description

-
-

Definition at line 7 of file IntelliToolsettings.h.

+

The IntelliToolsettings class managing the settings of the tools, independent of an existing tool.

+ +

Definition at line 9 of file IntelliToolsettings.h.

Constructor & Destructor Documentation

◆ IntelliToolsettings()

@@ -126,6 +136,8 @@ Public Member Functions
+

IntelliToolsettings - basic constructor of the IntelliToolsettings, initializing the basics.

+

Definition at line 4 of file IntelliToolsettings.cpp.

@@ -153,6 +165,8 @@ Public Member Functions
+

~IntelliToolsettings - basic destructor.

+

Definition at line 10 of file IntelliToolsettings.cpp.

@@ -173,6 +187,9 @@ Public Member Functions
+

getInnerAlpha returns the inner alpha value.

+
Returns
returns the inner alpha attribute as integer.
+

Definition at line 28 of file IntelliToolsettings.cpp.

@@ -192,6 +209,9 @@ Public Member Functions
+

getLineWidth returns the width attribute of the line.

+
Returns
returns the width attribute as integer.
+

Definition at line 14 of file IntelliToolsettings.cpp.

@@ -212,6 +232,14 @@ Public Member Functions
+

setInnerAlpha sets the inner alpha attribute of the Tool.

+
Parameters
+ + +
innerAlpha- the future inner alpha of the Tool.
+
+
+

Definition at line 32 of file IntelliToolsettings.cpp.

@@ -232,6 +260,14 @@ Public Member Functions
+

setLineWidth sets the width attribute of the line.

+
Parameters
+ + +
LineWidth- the future width of the line
+
+
+

Definition at line 18 of file IntelliToolsettings.cpp.

diff --git a/docs/html/class_painting_area-members.html b/docs/html/class_painting_area-members.html index 5d0b8c7..a507c09 100644 --- a/docs/html/class_painting_area-members.html +++ b/docs/html/class_painting_area-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -97,39 +97,41 @@ $(document).ready(function(){initNavTree('class_painting_area.html',''); initRes colorPickerSwapColors()PaintingArea createCircleTool()PaintingArea createFloodFillTool()PaintingArea - createLineTool()PaintingArea - createPenTool()PaintingArea - createPlainTool()PaintingArea - createPolygonTool()PaintingArea - createRectangleTool()PaintingArea - deleteAllLayers()PaintingArea - deleteLayer(int idx, bool isTool=false)PaintingArea + createGradientTool()PaintingArea + createLineTool()PaintingArea + createPenTool()PaintingArea + createPlainTool()PaintingArea + createPolygonTool()PaintingArea + createRectangleTool()PaintingArea + deleteAllLayers()PaintingArea + deleteLayer(int idx, bool isTool=false)PaintingArea + drawPixelOntoActive(QColor color, QPoint point)PaintingArea getHeightOfActive()PaintingArea getImageDataOfActiveLayer()PaintingArea getImageOfActiveLayer()PaintingArea - getLayerBundle()PaintingArea - getMaxHeight()PaintingArea - getMaxWidth()PaintingArea - getNumberOfActiveLayer()PaintingArea - getPolygonDataOfRealLayer()PaintingArea + getIndexOfActiveLayer()PaintingArea + getLayerBundle()PaintingArea + getMaxHeight()PaintingArea + getMaxWidth()PaintingArea + getPolygonDataOfActiveLayer()PaintingArea getRenderSettings()PaintingArea - getTypeOfImageRealLayer()PaintingArea + getTypeOfImageActiveLayer()PaintingArea getWidthOfActive()PaintingArea - historyGoBack()PaintingArea - historyGoForward()PaintingArea - mouseMoveEvent(QMouseEvent *event) overridePaintingAreaprotected - mousePressEvent(QMouseEvent *event) overridePaintingAreaprotected - mouseReleaseEvent(QMouseEvent *event) overridePaintingAreaprotected - moveActiveLayer(int idx)PaintingArea - 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 - save(const QString &filePath, const char *fileFormat)PaintingArea + historyadd()PaintingArea + historyGoBack()PaintingArea + historyGoForward()PaintingArea + mouseMoveEvent(QMouseEvent *event) overridePaintingAreaprotected + mousePressEvent(QMouseEvent *event) overridePaintingAreaprotected + mouseReleaseEvent(QMouseEvent *event) overridePaintingAreaprotected + moveActiveLayer(int idx)PaintingArea + 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 + save(const QString &filePath, const char *fileFormat)PaintingArea + setCanvasDimensions(int maxWidth, int maxHeight)PaintingArea setLayerActive(int idx)PaintingArea setLayerAlpha(int idx, int alpha)PaintingArea - setLayerDimensions(int maxWidth, int maxHeight)PaintingArea - setPixelToActive(QColor color, QPoint point)PaintingArea setPolygon(int idx)PaintingArea setPolygonDataToActive(std::vector< QPoint > points)PaintingArea setRenderSettings(bool isFastRenderingOn)PaintingArea diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index 4081997..ea072d1 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -170,19 +170,29 @@ Public Member Functions  The colorPickerSwitchColor swaps the primary color with the secondary drawing color. More...
  void createPenTool () + createPenTool creates a Pen Tool. More...
  void createPlainTool () + createPlainTool creates a Plain Tool. More...
  void createLineTool () + createLineTool creates a Line Tool. More...
  void createRectangleTool () + createRectangleTool creates a Rectangle Tool. More...
  void createCircleTool () + createCircleTool creates a Circle Tool. More...
  void createPolygonTool () + createPolygonTool creates a Polygon Tool. More...
  void createFloodFillTool () + createFloodFillTool creates a Floodfill Tool. More...
  +void createGradientTool () + createGradientTool creates a Gradient Tool. More...
+  int getWidthOfActive ()  The getWidthOfActive gets the horizontal dimensions of the active layer. More...
  @@ -190,16 +200,22 @@ Public Member Functions  The getHeightOfActive gets the vertical dimensions of the active layer. More...
  int getMaxWidth () + getMaxWidth gets the max width of the Canvas. More...
  int getMaxHeight () + getMaxHeight gets the max height of the Canvas. More...
  -ImageType getTypeOfImageRealLayer () -  -std::vector< QPoint > getPolygonDataOfRealLayer () -  -int getNumberOfActiveLayer () -  +ImageType getTypeOfImageActiveLayer () + getTypeOfImageActiveLayer get the type of the active Layer. More...
+  +std::vector< QPoint > getPolygonDataOfActiveLayer () + getPolygonDataOfActiveLayer get the polygon data of the active Layer. More...
+  +int getIndexOfActiveLayer () + getIndexOfActiveLayer returns the index of athe active Layer. More...
IntelliImagegetImageOfActiveLayer () + getImageOfActiveLayer returns the image of the active Layer. More...
  QImage getImageDataOfActiveLayer ()  getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer it return a 10*10 white picture) More...
@@ -207,35 +223,50 @@ Public Member Functions std::vector< LayerObject > * getLayerBundle ()  getLayerBundle returns the real active layerbundle (care!) More...
  +void historyadd () + historyadd adds an hisotry step More...
+  void historyGoBack () + historyGoBack go back in hisotry More...
  void historyGoForward () + historyGoForward a function to undo the return of the previous state of the project. More...
  -void setLayerDimensions (int maxWidth, int maxHeight) -  -void setPixelToActive (QColor color, QPoint point) -  +void setCanvasDimensions (int maxWidth, int maxHeight) + 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...
+  void setPolygonDataToActive (std::vector< QPoint > points) + setPolygonDataToActive sets polygondata to the active Layer. More...
  + +

Public Attributes

IntelliToolsettings Toolsettings
 Toolsettings - a class to manage Tool settings. More...
 
IntelliColorPicker colorPicker
 colorPicker a class to manage Tool color. More...
 
+ + + + +

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 mousePressEvent handles a mouse pressed event. More...
 
void mouseMoveEvent (QMouseEvent *event) override
 mouseMoveEvent handles a mouse moved event More...
 
void mouseReleaseEvent (QMouseEvent *event) override
 mouseReleaseEvent handles a mouse released event More...
 
void wheelEvent (QWheelEvent *event) override
 wheelEvent handles a mouse wheel event More...
 
void paintEvent (QPaintEvent *event) override
 paintEvent handles a painting event More...
 

Detailed Description

@@ -285,7 +316,7 @@ Protected Member Functions -

Definition at line 39 of file PaintingArea.cpp.

+

Definition at line 40 of file PaintingArea.cpp.

@@ -470,7 +501,7 @@ Protected Member Functions

The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.

-

Definition at line 230 of file PaintingArea.cpp.

+

Definition at line 229 of file PaintingArea.cpp.

@@ -491,7 +522,7 @@ Protected Member Functions

The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.

-

Definition at line 235 of file PaintingArea.cpp.

+

Definition at line 234 of file PaintingArea.cpp.

@@ -512,7 +543,7 @@ Protected Member Functions

The colorPickerSwitchColor swaps the primary color with the secondary drawing color.

-

Definition at line 240 of file PaintingArea.cpp.

+

Definition at line 239 of file PaintingArea.cpp.

@@ -531,7 +562,9 @@ Protected Member Functions
-

Definition at line 264 of file PaintingArea.cpp.

+

createCircleTool creates a Circle Tool.

+ +

Definition at line 263 of file PaintingArea.cpp.

@@ -550,7 +583,30 @@ Protected Member Functions
-

Definition at line 273 of file PaintingArea.cpp.

+

createFloodFillTool creates a Floodfill Tool.

+ +

Definition at line 272 of file PaintingArea.cpp.

+ +
+ + +

◆ createGradientTool()

+ +
+
+ + + + + + + +
void PaintingArea::createGradientTool ()
+
+ +

createGradientTool creates a Gradient Tool.

+ +

Definition at line 277 of file PaintingArea.cpp.

@@ -569,7 +625,9 @@ Protected Member Functions
-

Definition at line 254 of file PaintingArea.cpp.

+

createLineTool creates a Line Tool.

+ +

Definition at line 253 of file PaintingArea.cpp.

@@ -588,7 +646,9 @@ Protected Member Functions
-

Definition at line 244 of file PaintingArea.cpp.

+

createPenTool creates a Pen Tool.

+ +

Definition at line 243 of file PaintingArea.cpp.

@@ -607,7 +667,9 @@ Protected Member Functions
-

Definition at line 249 of file PaintingArea.cpp.

+

createPlainTool creates a Plain Tool.

+ +

Definition at line 248 of file PaintingArea.cpp.

@@ -626,7 +688,9 @@ Protected Member Functions
-

Definition at line 268 of file PaintingArea.cpp.

+

createPolygonTool creates a Polygon Tool.

+ +

Definition at line 267 of file PaintingArea.cpp.

@@ -645,7 +709,9 @@ Protected Member Functions
-

Definition at line 259 of file PaintingArea.cpp.

+

createRectangleTool creates a Rectangle Tool.

+ +

Definition at line 258 of file PaintingArea.cpp.

@@ -666,7 +732,7 @@ Protected Member Functions

deleteAllLayers deletes all layers

-

Definition at line 174 of file PaintingArea.cpp.

+

Definition at line 173 of file PaintingArea.cpp.

@@ -705,7 +771,46 @@ Protected Member Functions -

Definition at line 114 of file PaintingArea.cpp.

+

Definition at line 113 of file PaintingArea.cpp.

+ + + + +

◆ drawPixelOntoActive()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::drawPixelOntoActive (QColor color,
QPoint point 
)
+
+ +

drawPixelOntoActive draws a pixel onto the image data of the active Layer.

+
Parameters
+ + + +
color- the color of the Pixel, which should be created.
point- the Pixelposition.
+
+
+ +

Definition at line 86 of file PaintingArea.cpp.

@@ -725,9 +830,9 @@ Protected Member Functions

The getHeightOfActive gets the vertical dimensions of the active layer.

-
Returns
Returns the vertical pixle count of the active layer
+
Returns
Returns the vertical pixle count of the active layer.
-

Definition at line 282 of file PaintingArea.cpp.

+

Definition at line 286 of file PaintingArea.cpp.

@@ -749,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 472 of file PaintingArea.cpp.

+

Definition at line 476 of file PaintingArea.cpp.

@@ -768,6 +873,31 @@ 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.

+ +
+ + +

◆ getIndexOfActiveLayer()

+ +
+
+ + + + + + + +
int PaintingArea::getIndexOfActiveLayer ()
+
+ +

getIndexOfActiveLayer returns the index of athe active Layer.

+
Returns
return the index of the active Layer.
+

Definition at line 465 of file PaintingArea.cpp.

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

getLayerBundle returns the real active layerbundle (care!)

Returns
the reference of the currentLayerBundle
-

Definition at line 487 of file PaintingArea.cpp.

+

Definition at line 491 of file PaintingArea.cpp.

@@ -809,7 +939,10 @@ Protected Member Functions
-

Definition at line 290 of file PaintingArea.cpp.

+

getMaxHeight gets the max height of the Canvas.

+
Returns
return the height of the Canvas.
+ +

Definition at line 294 of file PaintingArea.cpp.

@@ -828,18 +961,21 @@ Protected Member Functions
-

Definition at line 286 of file PaintingArea.cpp.

+

getMaxWidth gets the max width of the Canvas.

+
Returns
return the width of the Canvas.
+ +

Definition at line 290 of file PaintingArea.cpp.

- -

◆ getNumberOfActiveLayer()

+ +

◆ getPolygonDataOfActiveLayer()

- + @@ -847,26 +983,10 @@ Protected Member Functions
int PaintingArea::getNumberOfActiveLayer std::vector< QPoint > PaintingArea::getPolygonDataOfActiveLayer ( )
-

Definition at line 461 of file PaintingArea.cpp.

+

getPolygonDataOfActiveLayer get the polygon data of the active Layer.

+
Returns
return the polygon data of the active Layer.
-
-
- -

◆ getPolygonDataOfRealLayer()

- -
-
- - - - - - - -
std::vector< QPoint > PaintingArea::getPolygonDataOfRealLayer ()
-
- -

Definition at line 298 of file PaintingArea.cpp.

+

Definition at line 302 of file PaintingArea.cpp.

@@ -897,14 +1017,14 @@ Protected Member Functions - -

◆ getTypeOfImageRealLayer()

+ +

◆ getTypeOfImageActiveLayer()

- + @@ -912,7 +1032,10 @@ Protected Member Functions
ImageType PaintingArea::getTypeOfImageRealLayer ImageType PaintingArea::getTypeOfImageActiveLayer ( )
-

Definition at line 294 of file PaintingArea.cpp.

+

getTypeOfImageActiveLayer get the type of the active Layer.

+
Returns
returns the image type of the active layer.
+ +

Definition at line 298 of file PaintingArea.cpp.

@@ -932,9 +1055,30 @@ Protected Member Functions

The getWidthOfActive gets the horizontal dimensions of the active layer.

-
Returns
Returns the horizontal pixle count of the active layer
+
Returns
Returns the horizontal pixle count of the active layer.
-

Definition at line 278 of file PaintingArea.cpp.

+

Definition at line 282 of file PaintingArea.cpp.

+ +
+ + +

◆ historyadd()

+ +
+
+ + + + + + + +
void PaintingArea::historyadd ()
+
+ +

historyadd adds an hisotry step

+ +

Definition at line 510 of file PaintingArea.cpp.

@@ -953,7 +1097,9 @@ Protected Member Functions
-

Definition at line 518 of file PaintingArea.cpp.

+

historyGoBack go back in hisotry

+ +

Definition at line 526 of file PaintingArea.cpp.

@@ -972,7 +1118,9 @@ Protected Member Functions
-

Definition at line 527 of file PaintingArea.cpp.

+

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

+ +

Definition at line 541 of file PaintingArea.cpp.

@@ -1000,7 +1148,15 @@ Protected Member Functions
-

Definition at line 324 of file PaintingArea.cpp.

+

mouseMoveEvent handles a mouse moved event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 328 of file PaintingArea.cpp.

@@ -1028,7 +1184,15 @@ Protected Member Functions
-

Definition at line 305 of file PaintingArea.cpp.

+

mousePressEvent handles a mouse pressed event.

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 309 of file PaintingArea.cpp.

@@ -1056,7 +1220,15 @@ Protected Member Functions
-

Definition at line 337 of file PaintingArea.cpp.

+

mouseReleaseEvent handles a mouse released event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 341 of file PaintingArea.cpp.

@@ -1084,7 +1256,7 @@ Protected Member Functions -

Definition at line 212 of file PaintingArea.cpp.

+

Definition at line 211 of file PaintingArea.cpp.

@@ -1123,7 +1295,7 @@ Protected Member Functions -

Definition at line 205 of file PaintingArea.cpp.

+

Definition at line 204 of file PaintingArea.cpp.

@@ -1152,7 +1324,7 @@ Protected Member Functions
Returns
Returns a boolean variable whether the file was successfully opened or not.
-

Definition at line 163 of file PaintingArea.cpp.

+

Definition at line 162 of file PaintingArea.cpp.

@@ -1180,7 +1352,15 @@ Protected Member Functions
-

Definition at line 367 of file PaintingArea.cpp.

+

paintEvent handles a painting event

+
Parameters
+ + +
event- the specific paint event.
+
+
+ +

Definition at line 371 of file PaintingArea.cpp.

@@ -1220,7 +1400,46 @@ Protected Member Functions
Returns
Returns a boolean variable, true if the file was saved successfully, false if not
-

Definition at line 182 of file PaintingArea.cpp.

+

Definition at line 181 of file PaintingArea.cpp.

+ + + + +

◆ setCanvasDimensions()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void PaintingArea::setCanvasDimensions (int maxWidth,
int maxHeight 
)
+
+ +

setCanvasDimensions sets the dimension of the Canvas

+
Parameters
+ + + +
maxWidth- the width of the Canvas.
maxHeight- the height of the Canvas.
+
+
+ +

Definition at line 72 of file PaintingArea.cpp.

@@ -1248,7 +1467,7 @@ Protected Member Functions -

Definition at line 137 of file PaintingArea.cpp.

+

Definition at line 136 of file PaintingArea.cpp.

@@ -1287,67 +1506,7 @@ Protected Member Functions -

Definition at line 144 of file PaintingArea.cpp.

- - - - -

◆ setLayerDimensions()

- -
-
- - - - - - - - - - - - - - - - - - -
void PaintingArea::setLayerDimensions (int maxWidth,
int maxHeight 
)
-
- -

Definition at line 72 of file PaintingArea.cpp.

- -
-
- -

◆ setPixelToActive()

- -
-
- - - - - - - - - - - - - - - - - - -
void PaintingArea::setPixelToActive (QColor color,
QPoint point 
)
-
- -

Definition at line 86 of file PaintingArea.cpp.

+

Definition at line 143 of file PaintingArea.cpp.

@@ -1375,7 +1534,7 @@ Protected Member Functions -

Definition at line 151 of file PaintingArea.cpp.

+

Definition at line 150 of file PaintingArea.cpp.

@@ -1395,6 +1554,14 @@ Protected Member Functions
+

setPolygonDataToActive sets polygondata to the active Layer.

+
Parameters
+ + +
points- the points of the polygon data.
+
+
+

Definition at line 90 of file PaintingArea.cpp.

@@ -1459,7 +1626,7 @@ Protected Member Functions -

Definition at line 223 of file PaintingArea.cpp.

+

Definition at line 222 of file PaintingArea.cpp.

@@ -1488,7 +1655,7 @@ Protected Member Functions

The slotDeleteActiveLayer method handles the deletion of the active layer.

-

Definition at line 129 of file PaintingArea.cpp.

+

Definition at line 128 of file PaintingArea.cpp.

@@ -1516,7 +1683,15 @@ Protected Member Functions
-

Definition at line 352 of file PaintingArea.cpp.

+

wheelEvent handles a mouse wheel event

+
Parameters
+ + +
event- the specific mouse event.
+
+
+ +

Definition at line 356 of file PaintingArea.cpp.

@@ -1533,7 +1708,9 @@ Protected Member Functions
-

Definition at line 223 of file PaintingArea.h.

+

colorPicker a class to manage Tool color.

+ +

Definition at line 286 of file PaintingArea.h.

@@ -1549,7 +1726,9 @@ Protected Member Functions
-

Definition at line 222 of file PaintingArea.h.

+

Toolsettings - a class to manage Tool settings.

+ +

Definition at line 281 of file PaintingArea.h.

diff --git a/docs/html/class_painting_area.js b/docs/html/class_painting_area.js index aef4cbd..f53644f 100644 --- a/docs/html/class_painting_area.js +++ b/docs/html/class_painting_area.js @@ -9,6 +9,7 @@ var class_painting_area = [ "colorPickerSwapColors", "class_painting_area.html#acff4563d006fda491469bd41778d07eb", null ], [ "createCircleTool", "class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466", null ], [ "createFloodFillTool", "class_painting_area.html#a0b22e18069b524f3e75857d203baf256", null ], + [ "createGradientTool", "class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831", null ], [ "createLineTool", "class_painting_area.html#a240c33a7875addac86080cdfb0db036a", null ], [ "createPenTool", "class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353", null ], [ "createPlainTool", "class_painting_area.html#a3de83443d2d5cf460ff48d0602070938", null ], @@ -16,17 +17,19 @@ var class_painting_area = [ "createRectangleTool", "class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd", null ], [ "deleteAllLayers", "class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491", null ], [ "deleteLayer", "class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630", null ], + [ "drawPixelOntoActive", "class_painting_area.html#af1b7be20235139e4909086696ea74cf7", null ], [ "getHeightOfActive", "class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4", null ], [ "getImageDataOfActiveLayer", "class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423", null ], [ "getImageOfActiveLayer", "class_painting_area.html#acab11ad35d07e9081203d8217d2c0855", null ], + [ "getIndexOfActiveLayer", "class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7", null ], [ "getLayerBundle", "class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba", null ], [ "getMaxHeight", "class_painting_area.html#aa811d142df9239ae248679bd70ad6da7", null ], [ "getMaxWidth", "class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8", null ], - [ "getNumberOfActiveLayer", "class_painting_area.html#a24280454ebb80db7feba2fd621513353", null ], - [ "getPolygonDataOfRealLayer", "class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90", null ], + [ "getPolygonDataOfActiveLayer", "class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576", null ], [ "getRenderSettings", "class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097", null ], - [ "getTypeOfImageRealLayer", "class_painting_area.html#a91abd5e92acc5226a21ffc9e0ea36235", null ], + [ "getTypeOfImageActiveLayer", "class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395", null ], [ "getWidthOfActive", "class_painting_area.html#a675ee91b26b1c58be6d833f279d81597", null ], + [ "historyadd", "class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f", null ], [ "historyGoBack", "class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4", null ], [ "historyGoForward", "class_painting_area.html#aecc72f0f5971244205194934ff721546", null ], [ "mouseMoveEvent", "class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5", null ], @@ -37,10 +40,9 @@ 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 ], [ "setLayerActive", "class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9", null ], [ "setLayerAlpha", "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055", null ], - [ "setLayerDimensions", "class_painting_area.html#a2444acb9a61038fbe0206498d0cae011", null ], - [ "setPixelToActive", "class_painting_area.html#a6bd7eac7e2080b64336e58d0ecf93c71", null ], [ "setPolygon", "class_painting_area.html#aa409492ac26483d618bb33616f2e3f81", null ], [ "setPolygonDataToActive", "class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577", null ], [ "setRenderSettings", "class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd", null ], diff --git a/docs/html/class_unit_test-members.html b/docs/html/class_unit_test-members.html index 327e459..f73ac07 100644 --- a/docs/html/class_unit_test-members.html +++ b/docs/html/class_unit_test-members.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/class_unit_test.html b/docs/html/class_unit_test.html index 1dc432c..76b0527 100644 --- a/docs/html/class_unit_test.html +++ b/docs/html/class_unit_test.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/classes.html b/docs/html/classes.html index d4317da..fdddb71 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -90,40 +90,44 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) - - - - - - + - - - - - - - - - - - - - + + + + + + + + + + - - + + + - - - + + + + + + + + + + + + + +
  i  
IntelliRasterImage   IntelliToolLine   
  l  
-
  t  
-
IntelliRenderSettings   IntelliRenderSettings    IntelliToolPen   
IntelliColorPicker   IntelliShapedImage   IntelliToolPlainTool   LayerObject   Triangle   
IntelliImage   IntelliTool   IntelliToolPolygon   
  p  
  u  
-
IntelliInputDialog   
IntelliShapedImage   IntelliToolPlainTool   
IntelliColorPicker   IntelliTool   IntelliToolPolygon   PaintingArea   
IntelliImage    IntelliToolCircle    IntelliToolRectangle   
IntelliPhotoGui   
  t  
+
IntelliInputDialog    IntelliToolFloodFill    IntelliToolsettings   PaintingArea   UnitTest   
IntelliPhotoGui   IntelliToolGradient   
  l  
+
Triangle   
IntelliRasterImage   IntelliToolLine   
  u  
+
LayerObject   
UnitTest   
i | l | p | t | u
diff --git a/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html b/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html index 42b1eb9..30beea4 100644 --- a/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html +++ b/docs/html/dir_13830bfc3dd6736fe878600c9081919f.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html b/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html index cc900dc..7bf2701 100644 --- a/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html +++ b/docs/html/dir_4e4e2e75df7fa6971448b424c011c8b5.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 9c40348..f9bcbab 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html index 2f8e471..1ee21b8 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -101,6 +101,10 @@ Files   file  IntelliToolFloodFill.h [code]   +file  IntelliToolGradient.cpp [code] +  +file  IntelliToolGradient.h [code] +  file  IntelliToolLine.cpp [code]   file  IntelliToolLine.h [code] diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js index c69fb83..73f5795 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js @@ -12,6 +12,10 @@ var dir_858355f3357c73763e566ff49d1e6a7a = [ "IntelliToolFloodFill.h", "_intelli_tool_flood_fill_8h.html", [ [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", "class_intelli_tool_flood_fill" ] ] ], + [ "IntelliToolGradient.cpp", "_intelli_tool_gradient_8cpp.html", null ], + [ "IntelliToolGradient.h", "_intelli_tool_gradient_8h.html", [ + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", "class_intelli_tool_gradient" ] + ] ], [ "IntelliToolLine.cpp", "_intelli_tool_line_8cpp.html", null ], [ "IntelliToolLine.h", "_intelli_tool_line_8h.html", [ [ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ] diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html index 3b1d7c3..e14c959 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html b/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html index f88d128..3b4f4ff 100644 --- a/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html +++ b/docs/html/dir_fdbdd9841f9a730f284bb666ff3d8cfe.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/files.html b/docs/html/files.html index 3329e83..9113ec2 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -122,16 +122,18 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });  IntelliToolCircle.h  IntelliToolFloodFill.cpp  IntelliToolFloodFill.h - IntelliToolLine.cpp - IntelliToolLine.h - IntelliToolPen.cpp - IntelliToolPen.h - IntelliToolPlain.cpp - IntelliToolPlain.h - IntelliToolPolygon.cpp - IntelliToolPolygon.h - IntelliToolRectangle.cpp - IntelliToolRectangle.h + IntelliToolGradient.cpp + IntelliToolGradient.h + IntelliToolLine.cpp + IntelliToolLine.h + IntelliToolPen.cpp + IntelliToolPen.h + IntelliToolPlain.cpp + IntelliToolPlain.h + IntelliToolPolygon.cpp + IntelliToolPolygon.h + IntelliToolRectangle.cpp + IntelliToolRectangle.h  main.cpp  mainUnitTest.cpp  tst_unittest.cpp diff --git a/docs/html/functions.html b/docs/html/functions.html index 16b4bdc..1fd5e67 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/functions_b.html b/docs/html/functions_b.html index e8d3943..cea168f 100644 --- a/docs/html/functions_b.html +++ b/docs/html/functions_b.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
diff --git a/docs/html/functions_c.html b/docs/html/functions_c.html index a559475..2a7c71e 100644 --- a/docs/html/functions_c.html +++ b/docs/html/functions_c.html @@ -26,7 +26,7 @@
IntelliPhoto -  0.6 +  0.7
@@ -121,6 +121,9 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
  • createFloodFillTool() : PaintingArea
  • +
  • createGradientTool() +: PaintingArea +
  • createLineTool() : PaintingArea
  • diff --git a/docs/html/functions_d.html b/docs/html/functions_d.html index 6aff460..3b4caae 100644 --- a/docs/html/functions_d.html +++ b/docs/html/functions_d.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.6 +  0.7
    @@ -97,6 +97,9 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
  • drawPixel() : IntelliImage
  • +
  • drawPixelOntoActive() +: PaintingArea +
  • drawPlain() : IntelliImage
  • diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html index e98418d..91071f9 100644 --- a/docs/html/functions_enum.html +++ b/docs/html/functions_enum.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.6 +  0.7
    diff --git a/docs/html/functions_f.html b/docs/html/functions_f.html index 7caa3ed..cfb2878 100644 --- a/docs/html/functions_f.html +++ b/docs/html/functions_f.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.6 +  0.7
    diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 633e9f3..310d9d1 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -26,7 +26,7 @@
    IntelliPhoto -  0.6 +  0.7
    @@ -121,6 +121,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • createFloodFillTool() : PaintingArea
  • +
  • createGradientTool() +: PaintingArea +
  • createLineTool() : PaintingArea
  • @@ -152,6 +155,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • drawPixel() : IntelliImage
  • +
  • drawPixelOntoActive() +: PaintingArea +
  • drawPlain() : IntelliImage
  • @@ -190,6 +196,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • getImageOfActiveLayer() : PaintingArea
  • +
  • getIndexOfActiveLayer() +: PaintingArea +
  • getInnerAlpha() : IntelliToolsettings
  • @@ -211,9 +220,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • getMaxWidth() : PaintingArea
  • -
  • getNumberOfActiveLayer() -: PaintingArea -
  • getPixelColor() : IntelliImage
  • @@ -225,8 +231,8 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliImage , IntelliShapedImage -
  • getPolygonDataOfRealLayer() -: PaintingArea +
  • getPolygonDataOfActiveLayer() +: PaintingArea
  • getRenderSettings() : PaintingArea @@ -240,8 +246,8 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • getTypeOfImage() : IntelliImage
  • -
  • getTypeOfImageRealLayer() -: PaintingArea +
  • getTypeOfImageActiveLayer() +: PaintingArea
  • getWidth() : IntelliImage @@ -253,6 +259,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl

    - h -

      +
    • historyadd() +: PaintingArea +
    • historyGoBack() : PaintingArea
    • @@ -293,6 +302,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
    • IntelliToolFloodFill() : IntelliToolFloodFill
    • +
    • IntelliToolGradient() +: IntelliToolGradient +
    • IntelliToolLine() : IntelliToolLine
    • @@ -354,6 +366,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -364,6 +377,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -374,6 +388,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -384,6 +399,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -394,6 +410,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -404,6 +421,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -437,6 +455,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
    • save() : PaintingArea
    • +
    • setCanvasDimensions() +: PaintingArea +
    • setFastRendering() : IntelliRenderSettings
    • @@ -455,15 +476,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
    • setLayerAlpha() : PaintingArea
    • -
    • setLayerDimensions() -: PaintingArea -
    • setLineWidth() : IntelliToolsettings
    • -
    • setPixelToActive() -: PaintingArea -
    • setPolygon() : IntelliImage , IntelliRasterImage @@ -542,6 +557,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
    • ~IntelliToolFloodFill() : IntelliToolFloodFill
    • +
    • ~IntelliToolGradient() +: IntelliToolGradient +
    • ~IntelliToolLine() : IntelliToolLine
    • diff --git a/docs/html/functions_g.html b/docs/html/functions_g.html index 0cc1029..177e968 100644 --- a/docs/html/functions_g.html +++ b/docs/html/functions_g.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -113,6 +113,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
    • getImageOfActiveLayer() : PaintingArea
    • +
    • getIndexOfActiveLayer() +: PaintingArea +
    • getInnerAlpha() : IntelliToolsettings
    • @@ -134,9 +137,6 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
    • getMaxWidth() : PaintingArea
    • -
    • getNumberOfActiveLayer() -: PaintingArea -
    • getPixelColor() : IntelliImage
    • @@ -148,8 +148,8 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : IntelliImage , IntelliShapedImage -
    • getPolygonDataOfRealLayer() -: PaintingArea +
    • getPolygonDataOfActiveLayer() +: PaintingArea
    • getRenderSettings() : PaintingArea @@ -163,8 +163,8 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
    • getTypeOfImage() : IntelliImage
    • -
    • getTypeOfImageRealLayer() -: PaintingArea +
    • getTypeOfImageActiveLayer() +: PaintingArea
    • getWidth() : IntelliImage diff --git a/docs/html/functions_h.html b/docs/html/functions_h.html index 19efa6c..43b0267 100644 --- a/docs/html/functions_h.html +++ b/docs/html/functions_h.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -91,6 +91,9 @@ $(document).ready(function(){initNavTree('functions_h.html',''); initResizable()
    • heightOffset : LayerObject
    • +
    • historyadd() +: PaintingArea +
    • historyGoBack() : PaintingArea
    • diff --git a/docs/html/functions_i.html b/docs/html/functions_i.html index 4a5af78..5a4c8ad 100644 --- a/docs/html/functions_i.html +++ b/docs/html/functions_i.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -121,6 +121,9 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
    • IntelliToolFloodFill() : IntelliToolFloodFill
    • +
    • IntelliToolGradient() +: IntelliToolGradient +
    • IntelliToolLine() : IntelliToolLine
    • diff --git a/docs/html/functions_l.html b/docs/html/functions_l.html index d84b074..8e10476 100644 --- a/docs/html/functions_l.html +++ b/docs/html/functions_l.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_m.html b/docs/html/functions_m.html index f2062e7..a36d9f9 100644 --- a/docs/html/functions_m.html +++ b/docs/html/functions_m.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_o.html b/docs/html/functions_o.html index 307d9b1..9bc25bc 100644 --- a/docs/html/functions_o.html +++ b/docs/html/functions_o.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -89,6 +89,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -99,6 +100,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -109,6 +111,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -119,6 +122,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -129,6 +133,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool @@ -139,6 +144,7 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable() : IntelliTool , IntelliToolCircle , IntelliToolFloodFill +, IntelliToolGradient , IntelliToolLine , IntelliToolPen , IntelliToolPlainTool diff --git a/docs/html/functions_p.html b/docs/html/functions_p.html index 8e0db63..4f61eda 100644 --- a/docs/html/functions_p.html +++ b/docs/html/functions_p.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_r.html b/docs/html/functions_r.html index 160d0fb..6b59d0e 100644 --- a/docs/html/functions_r.html +++ b/docs/html/functions_r.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_s.html b/docs/html/functions_s.html index c7dde47..1cbb7e2 100644 --- a/docs/html/functions_s.html +++ b/docs/html/functions_s.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
    • save() : PaintingArea
    • +
    • setCanvasDimensions() +: PaintingArea +
    • setFastRendering() : IntelliRenderSettings
    • @@ -106,15 +109,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
    • setLayerAlpha() : PaintingArea
    • -
    • setLayerDimensions() -: PaintingArea -
    • setLineWidth() : IntelliToolsettings
    • -
    • setPixelToActive() -: PaintingArea -
    • setPolygon() : IntelliImage , IntelliRasterImage diff --git a/docs/html/functions_t.html b/docs/html/functions_t.html index 41239c5..518dd57 100644 --- a/docs/html/functions_t.html +++ b/docs/html/functions_t.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_u.html b/docs/html/functions_u.html index 076052d..12e864d 100644 --- a/docs/html/functions_u.html +++ b/docs/html/functions_u.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index b87f28e..6f3f5c4 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_w.html b/docs/html/functions_w.html index b8848a7..05fbe34 100644 --- a/docs/html/functions_w.html +++ b/docs/html/functions_w.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/functions_~.html b/docs/html/functions_~.html index 462f987..4d8f4f4 100644 --- a/docs/html/functions_~.html +++ b/docs/html/functions_~.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -106,6 +106,9 @@ $(document).ready(function(){initNavTree('functions_~.html',''); initResizable()
    • ~IntelliToolFloodFill() : IntelliToolFloodFill
    • +
    • ~IntelliToolGradient() +: IntelliToolGradient +
    • ~IntelliToolLine() : IntelliToolLine
    • diff --git a/docs/html/globals.html b/docs/html/globals.html index 87b4ebc..d1c576f 100644 --- a/docs/html/globals.html +++ b/docs/html/globals.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/globals_defs.html b/docs/html/globals_defs.html index 86188c2..1619505 100644 --- a/docs/html/globals_defs.html +++ b/docs/html/globals_defs.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/globals_enum.html b/docs/html/globals_enum.html index 46404d7..25cac97 100644 --- a/docs/html/globals_enum.html +++ b/docs/html/globals_enum.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/globals_func.html b/docs/html/globals_func.html index c7dfdaf..f23ab4f 100644 --- a/docs/html/globals_func.html +++ b/docs/html/globals_func.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 5bcaf58..1fc9652 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -92,26 +92,27 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable();  CIntelliImageAn abstract class which manages the basic IntelliImage operations  CIntelliRasterImageThe IntelliRasterImage manages a RASTERIMAGE  CIntelliShapedImageThe IntelliShapedImage manages a Shapedimage - CIntelliRenderSettings + CIntelliRenderSettingsWhich manages the render Settings  CIntelliToolAn abstract class that manages the basic events, like mouse clicks or scrolls events  CIntelliToolCircleTool to draw a circle  CIntelliToolFloodFillTool to flood FIll a certian area - CIntelliToolLineThe IntelliToolFloodFill class represents a tool to draw a line - CIntelliToolPenTool to draw a line - CIntelliToolPlainToolTool to fill the whole canvas with one color - CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms - CIntelliToolRectangleTool to draw a rectangle - CIntelliToolsettings - CLayerObjectThe LayerObject struct holds all the information needed to construct a layer - CQDialog - CIntelliInputDialog - CQLabel - CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project - CQMainWindow - CIntelliPhotoGuiThe IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program - CQObject - CUnitTest - CTriangleThe Triangle struct holds the 3 vertices of a triangle + CIntelliToolGradientThat represents a gradient call + CIntelliToolLineThe IntelliToolFloodFill class represents a tool to draw a line + CIntelliToolPenTool to draw a line + CIntelliToolPlainToolTool to fill the whole canvas with one color + CIntelliToolPolygonThe IntelliToolPolygon managed the Drawing of Polygonforms + CIntelliToolRectangleTool to draw a rectangle + CIntelliToolsettingsManaging the settings of the tools, independent of an existing tool + CLayerObjectThe LayerObject struct holds all the information needed to construct a layer + CQDialog + CIntelliInputDialogCustomized Input Dialog to get Integers + CQLabel + CPaintingAreaManages the methods and stores information about the current painting area, which is the currently opened project + CQMainWindow + CIntelliPhotoGuiThe IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program + CQObject + CUnitTest + CTriangleThe Triangle struct holds the 3 vertices of a triangle diff --git a/docs/html/hierarchy.js b/docs/html/hierarchy.js index 6f255e4..3abff8f 100644 --- a/docs/html/hierarchy.js +++ b/docs/html/hierarchy.js @@ -10,6 +10,7 @@ var hierarchy = [ "IntelliTool", "class_intelli_tool.html", [ [ "IntelliToolCircle", "class_intelli_tool_circle.html", null ], [ "IntelliToolFloodFill", "class_intelli_tool_flood_fill.html", null ], + [ "IntelliToolGradient", "class_intelli_tool_gradient.html", null ], [ "IntelliToolLine", "class_intelli_tool_line.html", null ], [ "IntelliToolPen", "class_intelli_tool_pen.html", null ], [ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", null ], diff --git a/docs/html/index.html b/docs/html/index.html index 04bbfe3..0dcc8a0 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/main_8cpp.html b/docs/html/main_8cpp.html index 66f51bb..d4bc2c0 100644 --- a/docs/html/main_8cpp.html +++ b/docs/html/main_8cpp.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/main_8cpp_source.html b/docs/html/main_8cpp_source.html index 32ab499..4fd8147 100644 --- a/docs/html/main_8cpp_source.html +++ b/docs/html/main_8cpp_source.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/main_unit_test_8cpp.html b/docs/html/main_unit_test_8cpp.html index 86ec70a..8b49873 100644 --- a/docs/html/main_unit_test_8cpp.html +++ b/docs/html/main_unit_test_8cpp.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/main_unit_test_8cpp_source.html b/docs/html/main_unit_test_8cpp_source.html index 68576d7..016d333 100644 --- a/docs/html/main_unit_test_8cpp_source.html +++ b/docs/html/main_unit_test_8cpp_source.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/namespace_intelli_datamanager.html b/docs/html/namespace_intelli_datamanager.html index 69399c0..c8522e9 100644 --- a/docs/html/namespace_intelli_datamanager.html +++ b/docs/html/namespace_intelli_datamanager.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -92,8 +92,10 @@ $(document).ready(function(){initNavTree('namespace_intelli_datamanager.html',''

      Functions

      bool loadProject (PaintingArea *Canvas, QString filePath="unnamed.idf") + loadProject loads a project from a file, closes current project. More...
        bool saveProject (PaintingArea *Canvas, QString filePath="unnamed.idf") + saveProject saves the current project to a file. More...
       

      Function Documentation

      @@ -123,6 +125,16 @@ Functions
      +

      loadProject loads a project from a file, closes current project.

      +
      Parameters
      + + + +
      Canvas- Reference to the used Canvas.
      filePath- Filepath to the project which should be opened.
      +
      +
      +
      Returns
      True if everything worked, false otherwise.
      +

      Definition at line 50 of file IntelliDatamanager.cpp.

      @@ -153,6 +165,16 @@ Functions
      +

      saveProject saves the current project to a file.

      +
      Parameters
      + + + +
      Canvas- Reference to the used Canvas.
      filePath- Filepath to the project which should be saved.
      +
      +
      +
      Returns
      True if everything worked, false otherwise.
      +

      Definition at line 4 of file IntelliDatamanager.cpp.

      diff --git a/docs/html/namespace_intelli_triangulation.html b/docs/html/namespace_intelli_triangulation.html index 1504aa9..d8948c2 100644 --- a/docs/html/namespace_intelli_triangulation.html +++ b/docs/html/namespace_intelli_triangulation.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/namespacemembers.html b/docs/html/namespacemembers.html index ed82827..47dfb5a 100644 --- a/docs/html/namespacemembers.html +++ b/docs/html/namespacemembers.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/namespacemembers_func.html b/docs/html/namespacemembers_func.html index e6dfb5e..b11217f 100644 --- a/docs/html/namespacemembers_func.html +++ b/docs/html/namespacemembers_func.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/namespaces.html b/docs/html/namespaces.html index 45ce647..2ac439f 100644 --- a/docs/html/namespaces.html +++ b/docs/html/namespaces.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/navtreedata.js b/docs/html/navtreedata.js index 34771ae..666ea19 100644 --- a/docs/html/navtreedata.js +++ b/docs/html/navtreedata.js @@ -56,7 +56,7 @@ var NAVTREE = var NAVTREEINDEX = [ "_intelli_color_picker_8cpp.html", -"class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271" +"class_intelli_tool_rectangle.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index 0280c00..750f380 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -49,26 +49,30 @@ var NAVTREEINDEX0 = "_intelli_tool_flood_fill_8cpp_source.html":[2,0,0,4,4], "_intelli_tool_flood_fill_8h.html":[2,0,0,4,5], "_intelli_tool_flood_fill_8h_source.html":[2,0,0,4,5], -"_intelli_tool_line_8cpp.html":[2,0,0,4,6], -"_intelli_tool_line_8cpp_source.html":[2,0,0,4,6], -"_intelli_tool_line_8h.html":[2,0,0,4,7], -"_intelli_tool_line_8h_source.html":[2,0,0,4,7], -"_intelli_tool_pen_8cpp.html":[2,0,0,4,8], -"_intelli_tool_pen_8cpp_source.html":[2,0,0,4,8], -"_intelli_tool_pen_8h.html":[2,0,0,4,9], -"_intelli_tool_pen_8h_source.html":[2,0,0,4,9], -"_intelli_tool_plain_8cpp.html":[2,0,0,4,10], -"_intelli_tool_plain_8cpp_source.html":[2,0,0,4,10], -"_intelli_tool_plain_8h.html":[2,0,0,4,11], -"_intelli_tool_plain_8h_source.html":[2,0,0,4,11], -"_intelli_tool_polygon_8cpp.html":[2,0,0,4,12], -"_intelli_tool_polygon_8cpp_source.html":[2,0,0,4,12], -"_intelli_tool_polygon_8h.html":[2,0,0,4,13], -"_intelli_tool_polygon_8h_source.html":[2,0,0,4,13], -"_intelli_tool_rectangle_8cpp.html":[2,0,0,4,14], -"_intelli_tool_rectangle_8cpp_source.html":[2,0,0,4,14], -"_intelli_tool_rectangle_8h.html":[2,0,0,4,15], -"_intelli_tool_rectangle_8h_source.html":[2,0,0,4,15], +"_intelli_tool_gradient_8cpp.html":[2,0,0,4,6], +"_intelli_tool_gradient_8cpp_source.html":[2,0,0,4,6], +"_intelli_tool_gradient_8h.html":[2,0,0,4,7], +"_intelli_tool_gradient_8h_source.html":[2,0,0,4,7], +"_intelli_tool_line_8cpp.html":[2,0,0,4,8], +"_intelli_tool_line_8cpp_source.html":[2,0,0,4,8], +"_intelli_tool_line_8h.html":[2,0,0,4,9], +"_intelli_tool_line_8h_source.html":[2,0,0,4,9], +"_intelli_tool_pen_8cpp.html":[2,0,0,4,10], +"_intelli_tool_pen_8cpp_source.html":[2,0,0,4,10], +"_intelli_tool_pen_8h.html":[2,0,0,4,11], +"_intelli_tool_pen_8h_source.html":[2,0,0,4,11], +"_intelli_tool_plain_8cpp.html":[2,0,0,4,12], +"_intelli_tool_plain_8cpp_source.html":[2,0,0,4,12], +"_intelli_tool_plain_8h.html":[2,0,0,4,13], +"_intelli_tool_plain_8h_source.html":[2,0,0,4,13], +"_intelli_tool_polygon_8cpp.html":[2,0,0,4,14], +"_intelli_tool_polygon_8cpp_source.html":[2,0,0,4,14], +"_intelli_tool_polygon_8h.html":[2,0,0,4,15], +"_intelli_tool_polygon_8h_source.html":[2,0,0,4,15], +"_intelli_tool_rectangle_8cpp.html":[2,0,0,4,16], +"_intelli_tool_rectangle_8cpp_source.html":[2,0,0,4,16], +"_intelli_tool_rectangle_8h.html":[2,0,0,4,17], +"_intelli_tool_rectangle_8h_source.html":[2,0,0,4,17], "_intelli_toolsettings_8cpp.html":[2,0,0,2,6], "_intelli_toolsettings_8cpp_source.html":[2,0,0,2,6], "_intelli_toolsettings_8h.html":[2,0,0,2,7], @@ -163,13 +167,14 @@ var NAVTREEINDEX0 = "class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c":[1,0,7,5], "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f":[1,0,7,0], "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491":[1,0,7,0,0], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7":[1,0,7,0,2], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7":[1,0,7,0,3], "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93":[1,0,7,0,1], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a":[1,0,7,0,6], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693":[1,0,7,0,7], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678":[1,0,7,0,3], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc":[1,0,7,0,5], -"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5":[1,0,7,0,4], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a":[1,0,7,0,7], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f":[1,0,7,0,2], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693":[1,0,7,0,8], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678":[1,0,7,0,4], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc":[1,0,7,0,6], +"class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5":[1,0,7,0,5], "class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574":[1,0,7,10], "class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca":[1,0,7,16], "class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f":[1,0,7,17], @@ -200,54 +205,49 @@ var NAVTREEINDEX0 = "class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961":[1,0,9,2], "class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991":[1,0,9,7], "class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4":[1,0,9,5], -"class_intelli_tool_line.html":[1,0,10], -"class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc":[1,0,10,0], -"class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846":[1,0,10,2], -"class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2":[1,0,10,6], -"class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3":[1,0,10,5], -"class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125":[1,0,10,7], -"class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b":[1,0,10,4], -"class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482":[1,0,10,3], -"class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2":[1,0,10,1], -"class_intelli_tool_pen.html":[1,0,11], -"class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce":[1,0,11,5], -"class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2":[1,0,11,4], -"class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205":[1,0,11,2], -"class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d":[1,0,11,0], -"class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d":[1,0,11,3], -"class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13":[1,0,11,6], -"class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818":[1,0,11,1], -"class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a":[1,0,11,7], -"class_intelli_tool_plain_tool.html":[1,0,12], -"class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8":[1,0,12,6], -"class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2":[1,0,12,0], -"class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658":[1,0,12,1], -"class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9":[1,0,12,2], -"class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400":[1,0,12,3], -"class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1":[1,0,12,5], -"class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c":[1,0,12,4], -"class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d":[1,0,12,7], -"class_intelli_tool_polygon.html":[1,0,13], -"class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499":[1,0,13,1], -"class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922":[1,0,13,4], -"class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b":[1,0,13,6], -"class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21":[1,0,13,3], -"class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5":[1,0,13,0], -"class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17":[1,0,13,7], -"class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427":[1,0,13,5], -"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,13,2], -"class_intelli_tool_rectangle.html":[1,0,14], -"class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c":[1,0,14,7], -"class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8":[1,0,14,5], -"class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b":[1,0,14,4], -"class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1":[1,0,14,1], -"class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43":[1,0,14,3], -"class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f":[1,0,14,6], -"class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c":[1,0,14,0], -"class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d":[1,0,14,2], -"class_intelli_toolsettings.html":[1,0,15], -"class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69":[1,0,15,0], -"class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f":[1,0,15,5], -"class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56":[1,0,15,1], -"class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4":[1,0,15,2] +"class_intelli_tool_gradient.html":[1,0,10], +"class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834":[1,0,10,6], +"class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a":[1,0,10,7], +"class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1":[1,0,10,2], +"class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11":[1,0,10,3], +"class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539":[1,0,10,1], +"class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203":[1,0,10,0], +"class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36":[1,0,10,5], +"class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e":[1,0,10,4], +"class_intelli_tool_line.html":[1,0,11], +"class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc":[1,0,11,0], +"class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846":[1,0,11,2], +"class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2":[1,0,11,6], +"class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3":[1,0,11,5], +"class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125":[1,0,11,7], +"class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b":[1,0,11,4], +"class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482":[1,0,11,3], +"class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2":[1,0,11,1], +"class_intelli_tool_pen.html":[1,0,12], +"class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce":[1,0,12,5], +"class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2":[1,0,12,4], +"class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205":[1,0,12,2], +"class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d":[1,0,12,0], +"class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d":[1,0,12,3], +"class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13":[1,0,12,6], +"class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818":[1,0,12,1], +"class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a":[1,0,12,7], +"class_intelli_tool_plain_tool.html":[1,0,13], +"class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8":[1,0,13,6], +"class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2":[1,0,13,0], +"class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658":[1,0,13,1], +"class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9":[1,0,13,2], +"class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400":[1,0,13,3], +"class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1":[1,0,13,5], +"class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c":[1,0,13,4], +"class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d":[1,0,13,7], +"class_intelli_tool_polygon.html":[1,0,14], +"class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499":[1,0,14,1], +"class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922":[1,0,14,4], +"class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b":[1,0,14,6], +"class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21":[1,0,14,3], +"class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5":[1,0,14,0], +"class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17":[1,0,14,7], +"class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427":[1,0,14,5], +"class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d":[1,0,14,2] }; diff --git a/docs/html/navtreeindex1.js b/docs/html/navtreeindex1.js index 6944368..8ed62c2 100644 --- a/docs/html/navtreeindex1.js +++ b/docs/html/navtreeindex1.js @@ -1,62 +1,78 @@ var NAVTREEINDEX1 = { -"class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271":[1,0,15,4], -"class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3":[1,0,15,3], -"class_painting_area.html":[1,0,17], -"class_painting_area.html#a0b22e18069b524f3e75857d203baf256":[1,0,17,8], -"class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029":[1,0,17,3], -"class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed":[1,0,17,47], -"class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b":[1,0,17,12], -"class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba":[1,0,17,19], -"class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e":[1,0,17,45], -"class_painting_area.html#a240c33a7875addac86080cdfb0db036a":[1,0,17,9], -"class_painting_area.html#a24280454ebb80db7feba2fd621513353":[1,0,17,22], -"class_painting_area.html#a2444acb9a61038fbe0206498d0cae011":[1,0,17,39], -"class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466":[1,0,17,7], -"class_painting_area.html#a35b5df914acb608cc29717659793359c":[1,0,17,31], -"class_painting_area.html#a3de83443d2d5cf460ff48d0602070938":[1,0,17,11], -"class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df":[1,0,17,4], -"class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7":[1,0,17,35], -"class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423":[1,0,17,17], -"class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460":[1,0,17,0], -"class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd":[1,0,17,13], -"class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4":[1,0,17,46], -"class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd":[1,0,17,43], -"class_painting_area.html#a675ee91b26b1c58be6d833f279d81597":[1,0,17,26], -"class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4":[1,0,17,27], -"class_painting_area.html#a6bd7eac7e2080b64336e58d0ecf93c71":[1,0,17,40], -"class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055":[1,0,17,38], -"class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec":[1,0,17,44], -"class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9":[1,0,17,37], -"class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90":[1,0,17,23], -"class_painting_area.html#a88c7e759aa8375a56129791645f46ea5":[1,0,17,34], -"class_painting_area.html#a91abd5e92acc5226a21ffc9e0ea36235":[1,0,17,25], -"class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353":[1,0,17,10], -"class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630":[1,0,17,15], -"class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5":[1,0,17,29], -"class_painting_area.html#aa2463d4f403224086acab02903ae407e":[1,0,17,36], -"class_painting_area.html#aa32adc113f77031945f73e33051931e8":[1,0,17,1], -"class_painting_area.html#aa409492ac26483d618bb33616f2e3f81":[1,0,17,41], -"class_painting_area.html#aa811d142df9239ae248679bd70ad6da7":[1,0,17,20], -"class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577":[1,0,17,42], -"class_painting_area.html#abc2f798744f1dc805a651731eb1692ea":[1,0,17,48], -"class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd":[1,0,17,2], -"class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15":[1,0,17,30], -"class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4":[1,0,17,16], -"class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7":[1,0,17,33], -"class_painting_area.html#acab11ad35d07e9081203d8217d2c0855":[1,0,17,18], -"class_painting_area.html#acff4563d006fda491469bd41778d07eb":[1,0,17,6], -"class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097":[1,0,17,24], -"class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a":[1,0,17,32], -"class_painting_area.html#ae261acaaa346610dfed489dbac17e789":[1,0,17,5], -"class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8":[1,0,17,21], -"class_painting_area.html#aecc72f0f5971244205194934ff721546":[1,0,17,28], -"class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491":[1,0,17,14], -"class_unit_test.html":[1,0,19], -"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,19,0], -"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,19,2], -"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,19,1], -"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,19,3], +"class_intelli_tool_rectangle.html":[1,0,15], +"class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c":[1,0,15,7], +"class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8":[1,0,15,5], +"class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b":[1,0,15,4], +"class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1":[1,0,15,1], +"class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43":[1,0,15,3], +"class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f":[1,0,15,6], +"class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c":[1,0,15,0], +"class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d":[1,0,15,2], +"class_intelli_toolsettings.html":[1,0,16], +"class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69":[1,0,16,0], +"class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f":[1,0,16,5], +"class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56":[1,0,16,1], +"class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4":[1,0,16,2], +"class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271":[1,0,16,4], +"class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3":[1,0,16,3], +"class_painting_area.html":[1,0,18], +"class_painting_area.html#a0b22e18069b524f3e75857d203baf256":[1,0,18,8], +"class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029":[1,0,18,3], +"class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed":[1,0,18,49], +"class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b":[1,0,18,13], +"class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba":[1,0,18,22], +"class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e":[1,0,18,47], +"class_painting_area.html#a240c33a7875addac86080cdfb0db036a":[1,0,18,10], +"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#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#a675ee91b26b1c58be6d833f279d81597":[1,0,18,28], +"class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4":[1,0,18,30], +"class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055":[1,0,18,42], +"class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec":[1,0,18,46], +"class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9":[1,0,18,41], +"class_painting_area.html#a88c7e759aa8375a56129791645f46ea5":[1,0,18,37], +"class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353":[1,0,18,11], +"class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630":[1,0,18,16], +"class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5":[1,0,18,32], +"class_painting_area.html#aa2463d4f403224086acab02903ae407e":[1,0,18,39], +"class_painting_area.html#aa32adc113f77031945f73e33051931e8":[1,0,18,1], +"class_painting_area.html#aa409492ac26483d618bb33616f2e3f81":[1,0,18,43], +"class_painting_area.html#aa811d142df9239ae248679bd70ad6da7":[1,0,18,23], +"class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577":[1,0,18,44], +"class_painting_area.html#abc2f798744f1dc805a651731eb1692ea":[1,0,18,50], +"class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd":[1,0,18,2], +"class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15":[1,0,18,33], +"class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4":[1,0,18,18], +"class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7":[1,0,18,36], +"class_painting_area.html#acab11ad35d07e9081203d8217d2c0855":[1,0,18,20], +"class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f":[1,0,18,29], +"class_painting_area.html#acff4563d006fda491469bd41778d07eb":[1,0,18,6], +"class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097":[1,0,18,26], +"class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831":[1,0,18,9], +"class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a":[1,0,18,35], +"class_painting_area.html#ae261acaaa346610dfed489dbac17e789":[1,0,18,5], +"class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576":[1,0,18,25], +"class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8":[1,0,18,24], +"class_painting_area.html#aecc72f0f5971244205194934ff721546":[1,0,18,31], +"class_painting_area.html#af1b7be20235139e4909086696ea74cf7":[1,0,18,17], +"class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491":[1,0,18,15], +"class_unit_test.html":[1,0,20], +"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,20,2], +"class_unit_test.html#a67ddaff817b55a624741d32550052f4b":[1,0,20,0], +"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,20,1], +"class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf":[1,0,20,3], "classes.html":[1,1], "dir_13830bfc3dd6736fe878600c9081919f.html":[2,0,0,3], "dir_4e4e2e75df7fa6971448b424c011c8b5.html":[2,0,0,0], @@ -65,8 +81,8 @@ var NAVTREEINDEX1 = "dir_8de6078cba2a961961818cf80b28fd4f.html":[2,0,0,2], "dir_fdbdd9841f9a730f284bb666ff3d8cfe.html":[2,0,0,1], "files.html":[2,0], -"functions.html":[1,3,0,0], "functions.html":[1,3,0], +"functions.html":[1,3,0,0], "functions_b.html":[1,3,0,1], "functions_c.html":[1,3,0,2], "functions_d.html":[1,3,0,3], @@ -104,19 +120,19 @@ var NAVTREEINDEX1 = "namespacemembers_func.html":[0,1,1], "namespaces.html":[0,0], "pages.html":[], -"struct_layer_object.html":[1,0,16], -"struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc":[1,0,16,4], -"struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0":[1,0,16,0], -"struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a":[1,0,16,1], -"struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56":[1,0,16,2], -"struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96":[1,0,16,7], -"struct_layer_object.html#ae0003fb815e50ed587a9897988befc90":[1,0,16,3], -"struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83":[1,0,16,5], -"struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897":[1,0,16,6], -"struct_triangle.html":[1,0,18], -"struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b":[1,0,18,0], -"struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7":[1,0,18,1], -"struct_triangle.html#addb8aaab314d79f3617acca01e12872a":[1,0,18,2], +"struct_layer_object.html":[1,0,17], +"struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc":[1,0,17,4], +"struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0":[1,0,17,0], +"struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a":[1,0,17,1], +"struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56":[1,0,17,2], +"struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96":[1,0,17,7], +"struct_layer_object.html#ae0003fb815e50ed587a9897988befc90":[1,0,17,3], +"struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83":[1,0,17,5], +"struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897":[1,0,17,6], +"struct_triangle.html":[1,0,19], +"struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b":[1,0,19,0], +"struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7":[1,0,19,1], +"struct_triangle.html#addb8aaab314d79f3617acca01e12872a":[1,0,19,2], "tst__unittest_8cpp.html":[2,0,0,7], "tst__unittest_8cpp_source.html":[2,0,0,7] }; diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 1a874fb..27bec62 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,6 +1,6 @@ var searchData= [ - ['unittest_187',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], - ['updategui_188',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_189',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_193',['UnitTest',['../class_unit_test.html',1,'UnitTest'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_194',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_195',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index 8546872..aa0541e 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -1,6 +1,6 @@ var searchData= [ - ['wheelevent_190',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], - ['width_191',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_192',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['wheelevent_196',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]], + ['width_197',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_198',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js index 5308458..b1d9a13 100644 --- a/docs/html/search/all_12.js +++ b/docs/html/search/all_12.js @@ -1,18 +1,19 @@ var searchData= [ - ['_7eintellicolorpicker_193',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_194',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_195',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_196',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_197',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_198',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_199',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_200',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_201',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_202',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_203',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_204',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_205',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_206',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], - ['_7eunittest_207',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] + ['_7eintellicolorpicker_199',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_200',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_201',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_202',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_203',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_204',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_205',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_206',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_207',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_208',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_209',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_210',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_211',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_212',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_213',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_214',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js index 8cbb3f5..dd342a2 100644 --- a/docs/html/search/all_2.js +++ b/docs/html/search/all_2.js @@ -13,9 +13,10 @@ var searchData= ['copy_18',['copy',['../class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e',1,'IntelliRasterImage::copy()'],['../class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05',1,'IntelliShapedImage::copy()']]], ['createcircletool_19',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], ['createfloodfilltool_20',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], - ['createlinetool_21',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_22',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_23',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], - ['createpolygontool_24',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], - ['createrectangletool_25',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] + ['creategradienttool_21',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_22',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_23',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_24',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_25',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_26',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_3.js b/docs/html/search/all_3.js index 7583853..76a4d20 100644 --- a/docs/html/search/all_3.js +++ b/docs/html/search/all_3.js @@ -1,9 +1,10 @@ var searchData= [ - ['deletealllayers_26',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], - ['deletelayer_27',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], - ['drawline_28',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_29',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawplain_30',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_31',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletealllayers_27',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_28',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_29',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_30',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_31',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_32',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_33',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js index 11a85e5..a298432 100644 --- a/docs/html/search/all_4.js +++ b/docs/html/search/all_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['fastrenderering_32',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]], - ['floodfill_33',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] + ['fastrenderering_34',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]], + ['floodfill_35',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js index 9c3c2d1..fdd5574 100644 --- a/docs/html/search/all_5.js +++ b/docs/html/search/all_5.js @@ -1,30 +1,31 @@ var searchData= [ - ['getdeepcopy_34',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], - ['getdisplayable_35',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], - ['getfirstcolor_36',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], - ['getheight_37',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], - ['getheightofactive_38',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], - ['getimagedata_39',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], - ['getimagedataofactivelayer_40',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], - ['getimageofactivelayer_41',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], - ['getinneralpha_42',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], - ['getint_43',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], - ['getisdrawing_44',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], - ['getlayerbundle_45',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], - ['getlinewidth_46',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], - ['getmaxheight_47',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], - ['getmaxwidth_48',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], - ['getnumberofactivelayer_49',['getNumberOfActiveLayer',['../class_painting_area.html#a24280454ebb80db7feba2fd621513353',1,'PaintingArea']]], - ['getpixelcolor_50',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygon_51',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], - ['getpolygondata_52',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getpolygondataofreallayer_53',['getPolygonDataOfRealLayer',['../class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90',1,'PaintingArea']]], - ['getrendersettings_54',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], - ['getsecondcolor_55',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], - ['gettooltype_56',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], - ['gettypeofimage_57',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], - ['gettypeofimagereallayer_58',['getTypeOfImageRealLayer',['../class_painting_area.html#a91abd5e92acc5226a21ffc9e0ea36235',1,'PaintingArea']]], - ['getwidth_59',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], - ['getwidthofactive_60',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] + ['getdeepcopy_36',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_37',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_38',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_39',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_40',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_41',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_42',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_43',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_44',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_45',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_46',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_47',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_48',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_49',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_50',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_51',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_52',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_53',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_54',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_55',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_56',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_57',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_58',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_59',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_60',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_61',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_62',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]], + ['gradient_63',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index d13f807..abc17cc 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -1,7 +1,8 @@ var searchData= [ - ['height_61',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], - ['heightoffset_62',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]], - ['historygoback_63',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], - ['historygoforward_64',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] + ['height_64',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_65',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]], + ['historyadd_66',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_67',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_68',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index ec772e5..32e0788 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,65 +1,68 @@ var searchData= [ - ['image_65',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_66',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['imagetype_67',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], - ['intellicolorpicker_68',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], - ['intellicolorpicker_2ecpp_69',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], - ['intellicolorpicker_2eh_70',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellidatamanager_71',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], - ['intellidatamanager_2ecpp_72',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], - ['intellidatamanager_2eh_73',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], - ['intelliimage_74',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], - ['intelliimage_2ecpp_75',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_76',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliinputdialog_77',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'IntelliInputDialog'],['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog::IntelliInputDialog()']]], - ['intelliinputdialog_2ecpp_78',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], - ['intelliinputdialog_2eh_79',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], - ['intelliphotogui_80',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], - ['intelliphotogui_2ecpp_81',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_82',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_83',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage::IntelliRasterImage()']]], - ['intellirasterimage_2ecpp_84',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_85',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellirendersettings_86',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'IntelliRenderSettings'],['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings::IntelliRenderSettings()']]], - ['intellirendersettings_2ecpp_87',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], - ['intellirendersettings_2eh_88',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], - ['intellishapedimage_89',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage::IntelliShapedImage()']]], - ['intellishapedimage_2ecpp_90',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_91',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_92',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool::IntelliTool()']]], - ['intellitool_2ecpp_93',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_94',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_95',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle::IntelliToolCircle()']]], - ['intellitoolcircle_2ecpp_96',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_97',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_98',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], - ['intellitoolfloodfill_2ecpp_99',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_100',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolline_101',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine::IntelliToolLine()']]], - ['intellitoolline_2ecpp_102',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_103',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_104',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen::IntelliToolPen()']]], - ['intellitoolpen_2ecpp_105',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_106',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_107',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_108',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolplaintool_109',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], - ['intellitoolpolygon_110',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon::IntelliToolPolygon()']]], - ['intellitoolpolygon_2ecpp_111',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_112',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_113',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle::IntelliToolRectangle()']]], - ['intellitoolrectangle_2ecpp_114',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_115',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['intellitoolsettings_116',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'IntelliToolsettings'],['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings::IntelliToolsettings()']]], - ['intellitoolsettings_2ecpp_117',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], - ['intellitoolsettings_2eh_118',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], - ['intellitriangulation_119',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]], - ['intellitriangulation_2ecpp_120',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], - ['intellitriangulation_2eh_121',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]], - ['isdrawing_122',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]], - ['isfastrenderering_123',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], - ['isfastrendering_124',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], - ['isinpolygon_125',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], - ['isintriangle_126',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] + ['image_69',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_70',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['imagetype_71',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]], + ['intellicolorpicker_72',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'IntelliColorPicker'],['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker::IntelliColorPicker()']]], + ['intellicolorpicker_2ecpp_73',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_74',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_75',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellidatamanager_2ecpp_76',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_77',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_78',['IntelliImage',['../class_intelli_image.html',1,'IntelliImage'],['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage::IntelliImage()']]], + ['intelliimage_2ecpp_79',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_80',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_81',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'IntelliInputDialog'],['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog::IntelliInputDialog()']]], + ['intelliinputdialog_2ecpp_82',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_83',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_84',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'IntelliPhotoGui'],['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui::IntelliPhotoGui()']]], + ['intelliphotogui_2ecpp_85',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_86',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_87',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'IntelliRasterImage'],['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage::IntelliRasterImage()']]], + ['intellirasterimage_2ecpp_88',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_89',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_90',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'IntelliRenderSettings'],['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings::IntelliRenderSettings()']]], + ['intellirendersettings_2ecpp_91',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_92',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_93',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'IntelliShapedImage'],['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage::IntelliShapedImage()']]], + ['intellishapedimage_2ecpp_94',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_95',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_96',['IntelliTool',['../class_intelli_tool.html',1,'IntelliTool'],['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool::IntelliTool()']]], + ['intellitool_2ecpp_97',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_98',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_99',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'IntelliToolCircle'],['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle::IntelliToolCircle()']]], + ['intellitoolcircle_2ecpp_100',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_101',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_102',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'IntelliToolFloodFill'],['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill::IntelliToolFloodFill()']]], + ['intellitoolfloodfill_2ecpp_103',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_104',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_105',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'IntelliToolGradient'],['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient::IntelliToolGradient()']]], + ['intellitoolgradient_2ecpp_106',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_107',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_108',['IntelliToolLine',['../class_intelli_tool_line.html',1,'IntelliToolLine'],['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine::IntelliToolLine()']]], + ['intellitoolline_2ecpp_109',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_110',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_111',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'IntelliToolPen'],['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen::IntelliToolPen()']]], + ['intellitoolpen_2ecpp_112',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_113',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_114',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_115',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolplaintool_116',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'IntelliToolPlainTool'],['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool::IntelliToolPlainTool()']]], + ['intellitoolpolygon_117',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'IntelliToolPolygon'],['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon::IntelliToolPolygon()']]], + ['intellitoolpolygon_2ecpp_118',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_119',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_120',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'IntelliToolRectangle'],['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle::IntelliToolRectangle()']]], + ['intellitoolrectangle_2ecpp_121',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_122',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_123',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'IntelliToolsettings'],['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings::IntelliToolsettings()']]], + ['intellitoolsettings_2ecpp_124',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_125',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_126',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]], + ['intellitriangulation_2ecpp_127',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_128',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]], + ['isdrawing_129',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]], + ['isfastrenderering_130',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_131',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_132',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_133',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] ]; diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index 265168a..baab99a 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['layerobject_127',['LayerObject',['../struct_layer_object.html',1,'LayerObject'],['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], - ['line_128',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]], - ['loadimage_129',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], - ['loadproject_130',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] + ['layerobject_134',['LayerObject',['../struct_layer_object.html',1,'LayerObject'],['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['line_135',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]], + ['loadimage_136',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_137',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index 04b2e19..76d4400 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -1,11 +1,11 @@ var searchData= [ - ['main_131',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['main_2ecpp_132',['main.cpp',['../main_8cpp.html',1,'']]], - ['mainunittest_2ecpp_133',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], - ['mousemoveevent_134',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_135',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_136',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_137',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_138',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_138',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['main_2ecpp_139',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_140',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]], + ['mousemoveevent_141',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_142',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_143',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_144',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_145',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index 558db72..2e0e9b9 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['none_139',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] + ['none_146',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 91a875a..16eb85a 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_140',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_141',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_142',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_143',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_144',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_145',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_146',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_147',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_148',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_149',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_150',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_151',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_152',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_153',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 9af0a1d..91f3ec4 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,12 +1,12 @@ var searchData= [ - ['paintevent_147',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_148',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], - ['paintingarea_2ecpp_149',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_150',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], - ['pen_151',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['pi_152',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], - ['plain_153',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_154',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], - ['polygondata_155',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['paintevent_154',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_155',['PaintingArea',['../class_painting_area.html',1,'PaintingArea'],['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea::PaintingArea()']]], + ['paintingarea_2ecpp_156',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_157',['PaintingArea.h',['../_painting_area_8h.html',1,'']]], + ['pen_158',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['pi_159',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]], + ['plain_160',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_161',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]], + ['polygondata_162',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index 0445796..a51bf9e 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,6 +1,6 @@ var searchData= [ - ['rasterimage_156',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], - ['rectangle_157',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], - ['resizeimage_158',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['rasterimage_163',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_164',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]], + ['resizeimage_165',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index 5713cd5..7663685 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,26 +1,25 @@ var searchData= [ - ['save_159',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['saveproject_160',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setfastrendering_161',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_162',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_163',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_164',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_165',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_166',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlayerdimensions_167',['setLayerDimensions',['../class_painting_area.html#a2444acb9a61038fbe0206498d0cae011',1,'PaintingArea']]], - ['setlinewidth_168',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpixeltoactive_169',['setPixelToActive',['../class_painting_area.html#a6bd7eac7e2080b64336e58d0ecf93c71',1,'PaintingArea']]], - ['setpolygon_170',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setpolygondatatoactive_171',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], - ['setrendersettings_172',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_173',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_174',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['shapedimage_175',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]], - ['sign_176',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_177',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_178',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_179',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_180',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_181',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_166',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_167',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_168',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_169',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_170',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_171',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_172',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_173',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_174',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_175',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_176',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_177',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_178',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_179',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_180',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['shapedimage_181',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]], + ['sign_182',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_183',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_184',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_185',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_186',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_187',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index 037e584..95ce2e5 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,8 +1,8 @@ var searchData= [ - ['toolsettings_182',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['tooltype_183',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], - ['triangle_184',['Triangle',['../struct_triangle.html',1,'']]], - ['tst_5funittest_2ecpp_185',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], - ['typeofimage_186',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_188',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['tooltype_189',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]], + ['triangle_190',['Triangle',['../struct_triangle.html',1,'']]], + ['tst_5funittest_2ecpp_191',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]], + ['typeofimage_192',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/classes_0.js b/docs/html/search/classes_0.js index 16123f6..6e08262 100644 --- a/docs/html/search/classes_0.js +++ b/docs/html/search/classes_0.js @@ -1,19 +1,20 @@ var searchData= [ - ['intellicolorpicker_208',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], - ['intelliimage_209',['IntelliImage',['../class_intelli_image.html',1,'']]], - ['intelliinputdialog_210',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], - ['intelliphotogui_211',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], - ['intellirasterimage_212',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], - ['intellirendersettings_213',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], - ['intellishapedimage_214',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], - ['intellitool_215',['IntelliTool',['../class_intelli_tool.html',1,'']]], - ['intellitoolcircle_216',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], - ['intellitoolfloodfill_217',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], - ['intellitoolline_218',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], - ['intellitoolpen_219',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], - ['intellitoolplaintool_220',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], - ['intellitoolpolygon_221',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], - ['intellitoolrectangle_222',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], - ['intellitoolsettings_223',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] + ['intellicolorpicker_215',['IntelliColorPicker',['../class_intelli_color_picker.html',1,'']]], + ['intelliimage_216',['IntelliImage',['../class_intelli_image.html',1,'']]], + ['intelliinputdialog_217',['IntelliInputDialog',['../class_intelli_input_dialog.html',1,'']]], + ['intelliphotogui_218',['IntelliPhotoGui',['../class_intelli_photo_gui.html',1,'']]], + ['intellirasterimage_219',['IntelliRasterImage',['../class_intelli_raster_image.html',1,'']]], + ['intellirendersettings_220',['IntelliRenderSettings',['../class_intelli_render_settings.html',1,'']]], + ['intellishapedimage_221',['IntelliShapedImage',['../class_intelli_shaped_image.html',1,'']]], + ['intellitool_222',['IntelliTool',['../class_intelli_tool.html',1,'']]], + ['intellitoolcircle_223',['IntelliToolCircle',['../class_intelli_tool_circle.html',1,'']]], + ['intellitoolfloodfill_224',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html',1,'']]], + ['intellitoolgradient_225',['IntelliToolGradient',['../class_intelli_tool_gradient.html',1,'']]], + ['intellitoolline_226',['IntelliToolLine',['../class_intelli_tool_line.html',1,'']]], + ['intellitoolpen_227',['IntelliToolPen',['../class_intelli_tool_pen.html',1,'']]], + ['intellitoolplaintool_228',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html',1,'']]], + ['intellitoolpolygon_229',['IntelliToolPolygon',['../class_intelli_tool_polygon.html',1,'']]], + ['intellitoolrectangle_230',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html',1,'']]], + ['intellitoolsettings_231',['IntelliToolsettings',['../class_intelli_toolsettings.html',1,'']]] ]; diff --git a/docs/html/search/classes_1.js b/docs/html/search/classes_1.js index 865744a..8deafad 100644 --- a/docs/html/search/classes_1.js +++ b/docs/html/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['layerobject_224',['LayerObject',['../struct_layer_object.html',1,'']]] + ['layerobject_232',['LayerObject',['../struct_layer_object.html',1,'']]] ]; diff --git a/docs/html/search/classes_2.js b/docs/html/search/classes_2.js index 8e25604..dad78c5 100644 --- a/docs/html/search/classes_2.js +++ b/docs/html/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['paintingarea_225',['PaintingArea',['../class_painting_area.html',1,'']]] + ['paintingarea_233',['PaintingArea',['../class_painting_area.html',1,'']]] ]; diff --git a/docs/html/search/classes_3.js b/docs/html/search/classes_3.js index c0fa3d4..0ada2ee 100644 --- a/docs/html/search/classes_3.js +++ b/docs/html/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['triangle_226',['Triangle',['../struct_triangle.html',1,'']]] + ['triangle_234',['Triangle',['../struct_triangle.html',1,'']]] ]; diff --git a/docs/html/search/classes_4.js b/docs/html/search/classes_4.js index 168580a..acd76d1 100644 --- a/docs/html/search/classes_4.js +++ b/docs/html/search/classes_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['unittest_227',['UnitTest',['../class_unit_test.html',1,'']]] + ['unittest_235',['UnitTest',['../class_unit_test.html',1,'']]] ]; diff --git a/docs/html/search/defines_0.js b/docs/html/search/defines_0.js index 46b47dd..91d04f8 100644 --- a/docs/html/search/defines_0.js +++ b/docs/html/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['pi_434',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] + ['pi_449',['pi',['../_intelli_triangulation_8cpp.html#a1daf785e3f68d293c7caa1c756d5cb74',1,'IntelliTriangulation.cpp']]] ]; diff --git a/docs/html/search/enums_0.js b/docs/html/search/enums_0.js index 418f00f..f493f28 100644 --- a/docs/html/search/enums_0.js +++ b/docs/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['imagetype_422',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] + ['imagetype_436',['ImageType',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0',1,'IntelliImage.h']]] ]; diff --git a/docs/html/search/enums_1.js b/docs/html/search/enums_1.js index 0fcac70..17714f6 100644 --- a/docs/html/search/enums_1.js +++ b/docs/html/search/enums_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['tooltype_423',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] + ['tooltype_437',['Tooltype',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_0.js b/docs/html/search/enumvalues_0.js index 43f6fe3..40de1b3 100644 --- a/docs/html/search/enumvalues_0.js +++ b/docs/html/search/enumvalues_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['circle_424',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] + ['circle_438',['CIRCLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa0af50777920c1401ab975cab64c4d491',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_1.js b/docs/html/search/enumvalues_1.js index 7a79a5b..14eada2 100644 --- a/docs/html/search/enumvalues_1.js +++ b/docs/html/search/enumvalues_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['floodfill_425',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] + ['floodfill_439',['FLOODFILL',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa526904ea67131c56718f9882518b5d93',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_2.js b/docs/html/search/enumvalues_2.js index 8254d01..d737ec3 100644 --- a/docs/html/search/enumvalues_2.js +++ b/docs/html/search/enumvalues_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['line_426',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] + ['gradient_440',['GRADIENT',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa90f70ea2675c36bd9b0b44a79f37a41f',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_3.js b/docs/html/search/enumvalues_3.js index 931da76..1b89798 100644 --- a/docs/html/search/enumvalues_3.js +++ b/docs/html/search/enumvalues_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['none_427',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] + ['line_441',['LINE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa17b8ef2c330f1430e00c9de5469fc7e7',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_4.js b/docs/html/search/enumvalues_4.js index 4c9844c..ec80303 100644 --- a/docs/html/search/enumvalues_4.js +++ b/docs/html/search/enumvalues_4.js @@ -1,6 +1,4 @@ var searchData= [ - ['pen_428',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], - ['plain_429',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], - ['polygon_430',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] + ['none_442',['NONE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_5.js b/docs/html/search/enumvalues_5.js index c3994d2..e6c2912 100644 --- a/docs/html/search/enumvalues_5.js +++ b/docs/html/search/enumvalues_5.js @@ -1,5 +1,6 @@ var searchData= [ - ['rasterimage_431',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], - ['rectangle_432',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] + ['pen_443',['PEN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678',1,'IntelliTool']]], + ['plain_444',['PLAIN',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5',1,'IntelliTool']]], + ['polygon_445',['POLYGON',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_6.js b/docs/html/search/enumvalues_6.js index 4daefac..9888fa1 100644 --- a/docs/html/search/enumvalues_6.js +++ b/docs/html/search/enumvalues_6.js @@ -1,4 +1,5 @@ var searchData= [ - ['shapedimage_433',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]] + ['rasterimage_446',['RASTERIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0add5823fd73c42c0154fa2abbd70283b9',1,'IntelliImage.h']]], + ['rectangle_447',['RECTANGLE',['../class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a',1,'IntelliTool']]] ]; diff --git a/docs/html/search/enumvalues_7.html b/docs/html/search/enumvalues_7.html new file mode 100644 index 0000000..5d5ce7e --- /dev/null +++ b/docs/html/search/enumvalues_7.html @@ -0,0 +1,30 @@ + + + + + + + + + +
      +
      Loading...
      +
      + +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/docs/html/search/enumvalues_7.js b/docs/html/search/enumvalues_7.js new file mode 100644 index 0000000..c52e40b --- /dev/null +++ b/docs/html/search/enumvalues_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['shapedimage_448',['SHAPEDIMAGE',['../_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ac065b60ec4cf443808263527bdc0df37',1,'IntelliImage.h']]] +]; diff --git a/docs/html/search/files_0.js b/docs/html/search/files_0.js index 71329b8..7a75c60 100644 --- a/docs/html/search/files_0.js +++ b/docs/html/search/files_0.js @@ -1,39 +1,41 @@ var searchData= [ - ['intellicolorpicker_2ecpp_230',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], - ['intellicolorpicker_2eh_231',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], - ['intellidatamanager_2ecpp_232',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], - ['intellidatamanager_2eh_233',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], - ['intelliimage_2ecpp_234',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], - ['intelliimage_2eh_235',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], - ['intelliinputdialog_2ecpp_236',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], - ['intelliinputdialog_2eh_237',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], - ['intelliphotogui_2ecpp_238',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], - ['intelliphotogui_2eh_239',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], - ['intellirasterimage_2ecpp_240',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], - ['intellirasterimage_2eh_241',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], - ['intellirendersettings_2ecpp_242',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], - ['intellirendersettings_2eh_243',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], - ['intellishapedimage_2ecpp_244',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], - ['intellishapedimage_2eh_245',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], - ['intellitool_2ecpp_246',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], - ['intellitool_2eh_247',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], - ['intellitoolcircle_2ecpp_248',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], - ['intellitoolcircle_2eh_249',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], - ['intellitoolfloodfill_2ecpp_250',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], - ['intellitoolfloodfill_2eh_251',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], - ['intellitoolline_2ecpp_252',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], - ['intellitoolline_2eh_253',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], - ['intellitoolpen_2ecpp_254',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], - ['intellitoolpen_2eh_255',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], - ['intellitoolplain_2ecpp_256',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], - ['intellitoolplain_2eh_257',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], - ['intellitoolpolygon_2ecpp_258',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], - ['intellitoolpolygon_2eh_259',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], - ['intellitoolrectangle_2ecpp_260',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], - ['intellitoolrectangle_2eh_261',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], - ['intellitoolsettings_2ecpp_262',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], - ['intellitoolsettings_2eh_263',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], - ['intellitriangulation_2ecpp_264',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], - ['intellitriangulation_2eh_265',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] + ['intellicolorpicker_2ecpp_238',['IntelliColorPicker.cpp',['../_intelli_color_picker_8cpp.html',1,'']]], + ['intellicolorpicker_2eh_239',['IntelliColorPicker.h',['../_intelli_color_picker_8h.html',1,'']]], + ['intellidatamanager_2ecpp_240',['IntelliDatamanager.cpp',['../_intelli_datamanager_8cpp.html',1,'']]], + ['intellidatamanager_2eh_241',['IntelliDatamanager.h',['../_intelli_datamanager_8h.html',1,'']]], + ['intelliimage_2ecpp_242',['IntelliImage.cpp',['../_intelli_image_8cpp.html',1,'']]], + ['intelliimage_2eh_243',['IntelliImage.h',['../_intelli_image_8h.html',1,'']]], + ['intelliinputdialog_2ecpp_244',['IntelliInputDialog.cpp',['../_intelli_input_dialog_8cpp.html',1,'']]], + ['intelliinputdialog_2eh_245',['IntelliInputDialog.h',['../_intelli_input_dialog_8h.html',1,'']]], + ['intelliphotogui_2ecpp_246',['IntelliPhotoGui.cpp',['../_intelli_photo_gui_8cpp.html',1,'']]], + ['intelliphotogui_2eh_247',['IntelliPhotoGui.h',['../_intelli_photo_gui_8h.html',1,'']]], + ['intellirasterimage_2ecpp_248',['IntelliRasterImage.cpp',['../_intelli_raster_image_8cpp.html',1,'']]], + ['intellirasterimage_2eh_249',['IntelliRasterImage.h',['../_intelli_raster_image_8h.html',1,'']]], + ['intellirendersettings_2ecpp_250',['IntelliRenderSettings.cpp',['../_intelli_render_settings_8cpp.html',1,'']]], + ['intellirendersettings_2eh_251',['IntelliRenderSettings.h',['../_intelli_render_settings_8h.html',1,'']]], + ['intellishapedimage_2ecpp_252',['IntelliShapedImage.cpp',['../_intelli_shaped_image_8cpp.html',1,'']]], + ['intellishapedimage_2eh_253',['IntelliShapedImage.h',['../_intelli_shaped_image_8h.html',1,'']]], + ['intellitool_2ecpp_254',['IntelliTool.cpp',['../_intelli_tool_8cpp.html',1,'']]], + ['intellitool_2eh_255',['IntelliTool.h',['../_intelli_tool_8h.html',1,'']]], + ['intellitoolcircle_2ecpp_256',['IntelliToolCircle.cpp',['../_intelli_tool_circle_8cpp.html',1,'']]], + ['intellitoolcircle_2eh_257',['IntelliToolCircle.h',['../_intelli_tool_circle_8h.html',1,'']]], + ['intellitoolfloodfill_2ecpp_258',['IntelliToolFloodFill.cpp',['../_intelli_tool_flood_fill_8cpp.html',1,'']]], + ['intellitoolfloodfill_2eh_259',['IntelliToolFloodFill.h',['../_intelli_tool_flood_fill_8h.html',1,'']]], + ['intellitoolgradient_2ecpp_260',['IntelliToolGradient.cpp',['../_intelli_tool_gradient_8cpp.html',1,'']]], + ['intellitoolgradient_2eh_261',['IntelliToolGradient.h',['../_intelli_tool_gradient_8h.html',1,'']]], + ['intellitoolline_2ecpp_262',['IntelliToolLine.cpp',['../_intelli_tool_line_8cpp.html',1,'']]], + ['intellitoolline_2eh_263',['IntelliToolLine.h',['../_intelli_tool_line_8h.html',1,'']]], + ['intellitoolpen_2ecpp_264',['IntelliToolPen.cpp',['../_intelli_tool_pen_8cpp.html',1,'']]], + ['intellitoolpen_2eh_265',['IntelliToolPen.h',['../_intelli_tool_pen_8h.html',1,'']]], + ['intellitoolplain_2ecpp_266',['IntelliToolPlain.cpp',['../_intelli_tool_plain_8cpp.html',1,'']]], + ['intellitoolplain_2eh_267',['IntelliToolPlain.h',['../_intelli_tool_plain_8h.html',1,'']]], + ['intellitoolpolygon_2ecpp_268',['IntelliToolPolygon.cpp',['../_intelli_tool_polygon_8cpp.html',1,'']]], + ['intellitoolpolygon_2eh_269',['IntelliToolPolygon.h',['../_intelli_tool_polygon_8h.html',1,'']]], + ['intellitoolrectangle_2ecpp_270',['IntelliToolRectangle.cpp',['../_intelli_tool_rectangle_8cpp.html',1,'']]], + ['intellitoolrectangle_2eh_271',['IntelliToolRectangle.h',['../_intelli_tool_rectangle_8h.html',1,'']]], + ['intellitoolsettings_2ecpp_272',['IntelliToolsettings.cpp',['../_intelli_toolsettings_8cpp.html',1,'']]], + ['intellitoolsettings_2eh_273',['IntelliToolsettings.h',['../_intelli_toolsettings_8h.html',1,'']]], + ['intellitriangulation_2ecpp_274',['IntelliTriangulation.cpp',['../_intelli_triangulation_8cpp.html',1,'']]], + ['intellitriangulation_2eh_275',['IntelliTriangulation.h',['../_intelli_triangulation_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js index 31e051b..7fd2c39 100644 --- a/docs/html/search/files_1.js +++ b/docs/html/search/files_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['main_2ecpp_266',['main.cpp',['../main_8cpp.html',1,'']]], - ['mainunittest_2ecpp_267',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] + ['main_2ecpp_276',['main.cpp',['../main_8cpp.html',1,'']]], + ['mainunittest_2ecpp_277',['mainUnitTest.cpp',['../main_unit_test_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js index c7a198e..6cf5345 100644 --- a/docs/html/search/files_2.js +++ b/docs/html/search/files_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintingarea_2ecpp_268',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], - ['paintingarea_2eh_269',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] + ['paintingarea_2ecpp_278',['PaintingArea.cpp',['../_painting_area_8cpp.html',1,'']]], + ['paintingarea_2eh_279',['PaintingArea.h',['../_painting_area_8h.html',1,'']]] ]; diff --git a/docs/html/search/files_3.js b/docs/html/search/files_3.js index dd72fba..0acfd2d 100644 --- a/docs/html/search/files_3.js +++ b/docs/html/search/files_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['tst_5funittest_2ecpp_270',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] + ['tst_5funittest_2ecpp_280',['tst_unittest.cpp',['../tst__unittest_8cpp.html',1,'']]] ]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index d680e26..a7c6fbc 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['addlayer_271',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], - ['addlayerat_272',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]] + ['addlayer_281',['addLayer',['../class_painting_area.html#abd5e3e4d3f2f026383d0a275dc55cbbd',1,'PaintingArea']]], + ['addlayerat_282',['addLayerAt',['../class_painting_area.html#a1274e60a912d2f1dfabcdd1b767fb029',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index dad549a..4150c2e 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,17 +1,18 @@ var searchData= [ - ['calculatetriangles_273',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], - ['calculatevisiblity_274',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], - ['closeevent_275',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], - ['colorpickersetfirstcolor_276',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], - ['colorpickersetsecondcolor_277',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], - ['colorpickerswapcolors_278',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], - ['copy_279',['copy',['../class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e',1,'IntelliRasterImage::copy()'],['../class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05',1,'IntelliShapedImage::copy()']]], - ['createcircletool_280',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], - ['createfloodfilltool_281',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], - ['createlinetool_282',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], - ['createpentool_283',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], - ['createplaintool_284',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], - ['createpolygontool_285',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], - ['createrectangletool_286',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] + ['calculatetriangles_283',['calculateTriangles',['../namespace_intelli_triangulation.html#acdaf1ed598e868b25e9e06d580da32e5',1,'IntelliTriangulation']]], + ['calculatevisiblity_284',['calculateVisiblity',['../class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2',1,'IntelliImage::calculateVisiblity()'],['../class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60',1,'IntelliRasterImage::calculateVisiblity()']]], + ['closeevent_285',['closeEvent',['../class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13',1,'IntelliPhotoGui']]], + ['colorpickersetfirstcolor_286',['colorPickerSetFirstColor',['../class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df',1,'PaintingArea']]], + ['colorpickersetsecondcolor_287',['colorPickerSetSecondColor',['../class_painting_area.html#ae261acaaa346610dfed489dbac17e789',1,'PaintingArea']]], + ['colorpickerswapcolors_288',['colorPickerSwapColors',['../class_painting_area.html#acff4563d006fda491469bd41778d07eb',1,'PaintingArea']]], + ['copy_289',['copy',['../class_intelli_raster_image.html#a6c27fa0d323a1a81d0c4c93c9161f81e',1,'IntelliRasterImage::copy()'],['../class_intelli_shaped_image.html#aee38adc7db9e3fd40e083247219bef05',1,'IntelliShapedImage::copy()']]], + ['createcircletool_290',['createCircleTool',['../class_painting_area.html#a2d9f4b3585f7dd1acb11f432ca503466',1,'PaintingArea']]], + ['createfloodfilltool_291',['createFloodFillTool',['../class_painting_area.html#a0b22e18069b524f3e75857d203baf256',1,'PaintingArea']]], + ['creategradienttool_292',['createGradientTool',['../class_painting_area.html#ad8636e986fdcdd3146f9f72d3cdb1831',1,'PaintingArea']]], + ['createlinetool_293',['createLineTool',['../class_painting_area.html#a240c33a7875addac86080cdfb0db036a',1,'PaintingArea']]], + ['createpentool_294',['createPenTool',['../class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353',1,'PaintingArea']]], + ['createplaintool_295',['createPlainTool',['../class_painting_area.html#a3de83443d2d5cf460ff48d0602070938',1,'PaintingArea']]], + ['createpolygontool_296',['createPolygonTool',['../class_painting_area.html#a13c2f94644bea9c2d3123d0b7898f34b',1,'PaintingArea']]], + ['createrectangletool_297',['createRectangleTool',['../class_painting_area.html#a5b04ce62ce024e307f54e0281f7ae4bd',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index 53b209e..fd659e3 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,9 +1,10 @@ var searchData= [ - ['deletealllayers_287',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], - ['deletelayer_288',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], - ['drawline_289',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], - ['drawpixel_290',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], - ['drawplain_291',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], - ['drawpoint_292',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] + ['deletealllayers_298',['deleteAllLayers',['../class_painting_area.html#af4701dee7ce672d91ed1e80cdd1e7491',1,'PaintingArea']]], + ['deletelayer_299',['deleteLayer',['../class_painting_area.html#a9b7dc8b8dc0b301ce58206aa76fb1630',1,'PaintingArea']]], + ['drawline_300',['drawLine',['../class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31',1,'IntelliImage']]], + ['drawpixel_301',['drawPixel',['../class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056',1,'IntelliImage']]], + ['drawpixelontoactive_302',['drawPixelOntoActive',['../class_painting_area.html#af1b7be20235139e4909086696ea74cf7',1,'PaintingArea']]], + ['drawplain_303',['drawPlain',['../class_intelli_image.html#a6be622810dc2bc756054bb5769becb06',1,'IntelliImage']]], + ['drawpoint_304',['drawPoint',['../class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js index 3c61aa3..e0b420c 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,30 +1,30 @@ var searchData= [ - ['getdeepcopy_293',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], - ['getdisplayable_294',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], - ['getfirstcolor_295',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], - ['getheight_296',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], - ['getheightofactive_297',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], - ['getimagedata_298',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], - ['getimagedataofactivelayer_299',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], - ['getimageofactivelayer_300',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], - ['getinneralpha_301',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], - ['getint_302',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], - ['getisdrawing_303',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], - ['getlayerbundle_304',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], - ['getlinewidth_305',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], - ['getmaxheight_306',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], - ['getmaxwidth_307',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], - ['getnumberofactivelayer_308',['getNumberOfActiveLayer',['../class_painting_area.html#a24280454ebb80db7feba2fd621513353',1,'PaintingArea']]], - ['getpixelcolor_309',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], - ['getpolygon_310',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], - ['getpolygondata_311',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], - ['getpolygondataofreallayer_312',['getPolygonDataOfRealLayer',['../class_painting_area.html#a7ae21fd031ee1c04f92e042e86be0a90',1,'PaintingArea']]], - ['getrendersettings_313',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], - ['getsecondcolor_314',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], - ['gettooltype_315',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], - ['gettypeofimage_316',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], - ['gettypeofimagereallayer_317',['getTypeOfImageRealLayer',['../class_painting_area.html#a91abd5e92acc5226a21ffc9e0ea36235',1,'PaintingArea']]], - ['getwidth_318',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], - ['getwidthofactive_319',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] + ['getdeepcopy_305',['getDeepCopy',['../class_intelli_image.html#af6381067bdf565669f856bb589008ae9',1,'IntelliImage::getDeepCopy()'],['../class_intelli_raster_image.html#a8f901301b106504de3c27308ade897dc',1,'IntelliRasterImage::getDeepCopy()'],['../class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337',1,'IntelliShapedImage::getDeepCopy()']]], + ['getdisplayable_306',['getDisplayable',['../class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d',1,'IntelliImage::getDisplayable(const QSize &displaySize, int alpha)=0'],['../class_intelli_image.html#a9d4daf3c48c64695105689f61c21bae0',1,'IntelliImage::getDisplayable(int alpha=255)=0'],['../class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884',1,'IntelliRasterImage::getDisplayable(const QSize &displaySize, int alpha) override'],['../class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f',1,'IntelliRasterImage::getDisplayable(int alpha=255) override'],['../class_intelli_shaped_image.html#a68cf374247c16f07fd84d50e4cd05630',1,'IntelliShapedImage::getDisplayable(const QSize &displaySize, int alpha=255) override'],['../class_intelli_shaped_image.html#ac6a99e1a96134073bceea252b37636cc',1,'IntelliShapedImage::getDisplayable(int alpha=255) override']]], + ['getfirstcolor_307',['getFirstColor',['../class_intelli_color_picker.html#aeb08029a0c946ed0402c9c11a91965b1',1,'IntelliColorPicker']]], + ['getheight_308',['getHeight',['../class_intelli_image.html#a895bbe107ad2958aca6eebf9af3eb7f1',1,'IntelliImage']]], + ['getheightofactive_309',['getHeightOfActive',['../class_painting_area.html#ac576f58aad03b4dcd47611b6a4b9abb4',1,'PaintingArea']]], + ['getimagedata_310',['getImageData',['../class_intelli_image.html#ad66fbe380ffe0e073a8cd760f8285fe3',1,'IntelliImage']]], + ['getimagedataofactivelayer_311',['getImageDataOfActiveLayer',['../class_painting_area.html#a4f484ff3ca7ae202ab57a00f52551423',1,'PaintingArea']]], + ['getimageofactivelayer_312',['getImageOfActiveLayer',['../class_painting_area.html#acab11ad35d07e9081203d8217d2c0855',1,'PaintingArea']]], + ['getindexofactivelayer_313',['getIndexOfActiveLayer',['../class_painting_area.html#a2ea1108ae4e4be995c4df0d378c536e7',1,'PaintingArea']]], + ['getinneralpha_314',['getInnerAlpha',['../class_intelli_toolsettings.html#a96d267baa782a32784dbeb1b7cd68cc4',1,'IntelliToolsettings']]], + ['getint_315',['getInt',['../class_intelli_input_dialog.html#a480ac2f5b8f7b9bc1cd7b30df84c2a62',1,'IntelliInputDialog']]], + ['getisdrawing_316',['getIsDrawing',['../class_intelli_tool.html#af90f0965efbc5c25126691e998f39ca3',1,'IntelliTool']]], + ['getlayerbundle_317',['getLayerBundle',['../class_painting_area.html#a1452c4bf2ebf188d8af019a862f3d8ba',1,'PaintingArea']]], + ['getlinewidth_318',['getLineWidth',['../class_intelli_toolsettings.html#abb3ee5a9c8a379167060799d275e65c3',1,'IntelliToolsettings']]], + ['getmaxheight_319',['getMaxHeight',['../class_painting_area.html#aa811d142df9239ae248679bd70ad6da7',1,'PaintingArea']]], + ['getmaxwidth_320',['getMaxWidth',['../class_painting_area.html#aeb082c1cda3edb6b68d8ee45cf4822f8',1,'PaintingArea']]], + ['getpixelcolor_321',['getPixelColor',['../class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f',1,'IntelliImage']]], + ['getpolygon_322',['getPolygon',['../class_intelli_raster_image.html#af19828176178cc1dece5160d726d946e',1,'IntelliRasterImage::getPolygon()'],['../class_intelli_shaped_image.html#aeff4b2331f4244f170c70526d8ca819b',1,'IntelliShapedImage::getPolygon()']]], + ['getpolygondata_323',['getPolygonData',['../class_intelli_image.html#aaf9f3e8db8666850024bee9aad9966ba',1,'IntelliImage::getPolygonData()'],['../class_intelli_shaped_image.html#ae4518c7f5a105cc4f33fabb60c794a93',1,'IntelliShapedImage::getPolygonData()']]], + ['getpolygondataofactivelayer_324',['getPolygonDataOfActiveLayer',['../class_painting_area.html#ae6eb9b269cdee993dbabd066e4679576',1,'PaintingArea']]], + ['getrendersettings_325',['getRenderSettings',['../class_painting_area.html#ad631e87a1e7fe2b60f546b0f34995097',1,'PaintingArea']]], + ['getsecondcolor_326',['getSecondColor',['../class_intelli_color_picker.html#ab41abe8fb7e184db2c33e792f09792e0',1,'IntelliColorPicker']]], + ['gettooltype_327',['getTooltype',['../class_intelli_tool.html#adf5c06ad2b2c0d745fb68cf80e7e5694',1,'IntelliTool']]], + ['gettypeofimage_328',['getTypeOfImage',['../class_intelli_image.html#af6b09c8d1d6b54a7e8a4e7286f3e503f',1,'IntelliImage']]], + ['gettypeofimageactivelayer_329',['getTypeOfImageActiveLayer',['../class_painting_area.html#a63cfff9cd4bc04e0b62d4c76cbf87395',1,'PaintingArea']]], + ['getwidth_330',['getWidth',['../class_intelli_image.html#aea7b5f173968b330ef034bedb9426520',1,'IntelliImage']]], + ['getwidthofactive_331',['getWidthOfActive',['../class_painting_area.html#a675ee91b26b1c58be6d833f279d81597',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 6d2300b..9280718 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,5 +1,6 @@ var searchData= [ - ['historygoback_320',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], - ['historygoforward_321',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] + ['historyadd_332',['historyadd',['../class_painting_area.html#acf20e3f5f74a239e6f9b7e2e1200295f',1,'PaintingArea']]], + ['historygoback_333',['historyGoBack',['../class_painting_area.html#a6a6083ca9fece2b185b592f941a91aa4',1,'PaintingArea']]], + ['historygoforward_334',['historyGoForward',['../class_painting_area.html#aecc72f0f5971244205194934ff721546',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index b6fb2de..25a65f1 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,23 +1,24 @@ var searchData= [ - ['intellicolorpicker_322',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], - ['intelliimage_323',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], - ['intelliinputdialog_324',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], - ['intelliphotogui_325',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], - ['intellirasterimage_326',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], - ['intellirendersettings_327',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], - ['intellishapedimage_328',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], - ['intellitool_329',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], - ['intellitoolcircle_330',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], - ['intellitoolfloodfill_331',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], - ['intellitoolline_332',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], - ['intellitoolpen_333',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], - ['intellitoolplaintool_334',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], - ['intellitoolpolygon_335',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], - ['intellitoolrectangle_336',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], - ['intellitoolsettings_337',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], - ['isfastrenderering_338',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], - ['isfastrendering_339',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], - ['isinpolygon_340',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], - ['isintriangle_341',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] + ['intellicolorpicker_335',['IntelliColorPicker',['../class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae',1,'IntelliColorPicker']]], + ['intelliimage_336',['IntelliImage',['../class_intelli_image.html#a2c6632ff35ee0a7094a8a289eb3a8652',1,'IntelliImage']]], + ['intelliinputdialog_337',['IntelliInputDialog',['../class_intelli_input_dialog.html#aa276ec605b08b19d70c54654cc606cc5',1,'IntelliInputDialog']]], + ['intelliphotogui_338',['IntelliPhotoGui',['../class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0',1,'IntelliPhotoGui']]], + ['intellirasterimage_339',['IntelliRasterImage',['../class_intelli_raster_image.html#ae779b571372296f1922af818ba003413',1,'IntelliRasterImage']]], + ['intellirendersettings_340',['IntelliRenderSettings',['../class_intelli_render_settings.html#a4a01de6e5e8e516a7eae51d6f1f66529',1,'IntelliRenderSettings']]], + ['intellishapedimage_341',['IntelliShapedImage',['../class_intelli_shaped_image.html#ae2e612a1fa52d7f878b34a7a7022d8e9',1,'IntelliShapedImage']]], + ['intellitool_342',['IntelliTool',['../class_intelli_tool.html#a08ef094271ce6248b42f888472463526',1,'IntelliTool']]], + ['intellitoolcircle_343',['IntelliToolCircle',['../class_intelli_tool_circle.html#a835327842fb71cb6a505e260ac5b69c8',1,'IntelliToolCircle']]], + ['intellitoolfloodfill_344',['IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a0b283b1b0135ff909a7199be9da9c076',1,'IntelliToolFloodFill']]], + ['intellitoolgradient_345',['IntelliToolGradient',['../class_intelli_tool_gradient.html#ad29617596a4dcf09aa8bcc633d627203',1,'IntelliToolGradient']]], + ['intellitoolline_346',['IntelliToolLine',['../class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc',1,'IntelliToolLine']]], + ['intellitoolpen_347',['IntelliToolPen',['../class_intelli_tool_pen.html#a9f885143d6bb7adda3dcd3707d59e14d',1,'IntelliToolPen']]], + ['intellitoolplaintool_348',['IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a816bcd6aea046994420969bed8b139d2',1,'IntelliToolPlainTool']]], + ['intellitoolpolygon_349',['IntelliToolPolygon',['../class_intelli_tool_polygon.html#a63b8c7514a87d4608533fbb557ee0db5',1,'IntelliToolPolygon']]], + ['intellitoolrectangle_350',['IntelliToolRectangle',['../class_intelli_tool_rectangle.html#ada06457247d5b173888a9a520b31ec5c',1,'IntelliToolRectangle']]], + ['intellitoolsettings_351',['IntelliToolsettings',['../class_intelli_toolsettings.html#a5560602964ab95380967d63ab7ec6e69',1,'IntelliToolsettings']]], + ['isfastrenderering_352',['isFastRenderering',['../class_intelli_render_settings.html#a38fd592c4948d2e47b95bb6fabc34073',1,'IntelliRenderSettings']]], + ['isfastrendering_353',['isFastRendering',['../class_intelli_image.html#a47941bed3060d8df5f2edce8c7f046cb',1,'IntelliImage']]], + ['isinpolygon_354',['isInPolygon',['../namespace_intelli_triangulation.html#ac276696f29d141ed34614c1c3b1c040f',1,'IntelliTriangulation']]], + ['isintriangle_355',['isInTriangle',['../namespace_intelli_triangulation.html#ac150fee67fd41a451bd2592f10e00197',1,'IntelliTriangulation']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index 5af1a37..44d490d 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,6 +1,6 @@ var searchData= [ - ['layerobject_342',['LayerObject',['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], - ['loadimage_343',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], - ['loadproject_344',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] + ['layerobject_356',['LayerObject',['../struct_layer_object.html#a0c4519287423c097acb2a0764913f7d0',1,'LayerObject::LayerObject()'],['../struct_layer_object.html#a2b8ffdba5ec6fb69eb6f59e97aced98a',1,'LayerObject::LayerObject(const LayerObject &layer)']]], + ['loadimage_357',['loadImage',['../class_intelli_image.html#ae231800aba38c96074bbe9bb6e341d4e',1,'IntelliImage']]], + ['loadproject_358',['loadProject',['../namespace_intelli_datamanager.html#a41920e07aa9e0b2756323779f7fe8de2',1,'IntelliDatamanager']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index 26c0af1..7243a62 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,9 +1,9 @@ var searchData= [ - ['main_345',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], - ['mousemoveevent_346',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], - ['mousepressevent_347',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], - ['mousereleaseevent_348',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], - ['moveactivelayer_349',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], - ['movepositionactive_350',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] + ['main_359',['main',['../main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97',1,'main.cpp']]], + ['mousemoveevent_360',['mouseMoveEvent',['../class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5',1,'PaintingArea']]], + ['mousepressevent_361',['mousePressEvent',['../class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15',1,'PaintingArea']]], + ['mousereleaseevent_362',['mouseReleaseEvent',['../class_painting_area.html#a35b5df914acb608cc29717659793359c',1,'PaintingArea']]], + ['moveactivelayer_363',['moveActiveLayer',['../class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a',1,'PaintingArea']]], + ['movepositionactive_364',['movePositionActive',['../class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index 7880a8f..1c10ddd 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,10 +1,10 @@ var searchData= [ - ['onmouseleftpressed_351',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], - ['onmouseleftreleased_352',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], - ['onmousemoved_353',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], - ['onmouserightpressed_354',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], - ['onmouserightreleased_355',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], - ['onwheelscrolled_356',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], - ['open_357',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] + ['onmouseleftpressed_365',['onMouseLeftPressed',['../class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c',1,'IntelliTool::onMouseLeftPressed()'],['../class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639',1,'IntelliToolCircle::onMouseLeftPressed()'],['../class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961',1,'IntelliToolFloodFill::onMouseLeftPressed()'],['../class_intelli_tool_gradient.html#a47700908dab413203d06d64175a12cc1',1,'IntelliToolGradient::onMouseLeftPressed()'],['../class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846',1,'IntelliToolLine::onMouseLeftPressed()'],['../class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205',1,'IntelliToolPen::onMouseLeftPressed()'],['../class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9',1,'IntelliToolPlainTool::onMouseLeftPressed()'],['../class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d',1,'IntelliToolPolygon::onMouseLeftPressed()'],['../class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d',1,'IntelliToolRectangle::onMouseLeftPressed()']]], + ['onmouseleftreleased_366',['onMouseLeftReleased',['../class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b',1,'IntelliTool::onMouseLeftReleased()'],['../class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3',1,'IntelliToolCircle::onMouseLeftReleased()'],['../class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c',1,'IntelliToolFloodFill::onMouseLeftReleased()'],['../class_intelli_tool_gradient.html#a6bbe09b64d8cd69e5ff64a3344725b11',1,'IntelliToolGradient::onMouseLeftReleased()'],['../class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482',1,'IntelliToolLine::onMouseLeftReleased()'],['../class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d',1,'IntelliToolPen::onMouseLeftReleased()'],['../class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400',1,'IntelliToolPlainTool::onMouseLeftReleased()'],['../class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21',1,'IntelliToolPolygon::onMouseLeftReleased()'],['../class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43',1,'IntelliToolRectangle::onMouseLeftReleased()']]], + ['onmousemoved_367',['onMouseMoved',['../class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639',1,'IntelliTool::onMouseMoved()'],['../class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b',1,'IntelliToolCircle::onMouseMoved()'],['../class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668',1,'IntelliToolFloodFill::onMouseMoved()'],['../class_intelli_tool_gradient.html#aff3ccbecb7a33514765fdb44c7ce9e4e',1,'IntelliToolGradient::onMouseMoved()'],['../class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b',1,'IntelliToolLine::onMouseMoved()'],['../class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2',1,'IntelliToolPen::onMouseMoved()'],['../class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c',1,'IntelliToolPlainTool::onMouseMoved()'],['../class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922',1,'IntelliToolPolygon::onMouseMoved()'],['../class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b',1,'IntelliToolRectangle::onMouseMoved()']]], + ['onmouserightpressed_368',['onMouseRightPressed',['../class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966',1,'IntelliTool::onMouseRightPressed()'],['../class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429',1,'IntelliToolCircle::onMouseRightPressed()'],['../class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4',1,'IntelliToolFloodFill::onMouseRightPressed()'],['../class_intelli_tool_gradient.html#aed5ad1f718d53034d944ff8f1e8f9f36',1,'IntelliToolGradient::onMouseRightPressed()'],['../class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3',1,'IntelliToolLine::onMouseRightPressed()'],['../class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce',1,'IntelliToolPen::onMouseRightPressed()'],['../class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1',1,'IntelliToolPlainTool::onMouseRightPressed()'],['../class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427',1,'IntelliToolPolygon::onMouseRightPressed()'],['../class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8',1,'IntelliToolRectangle::onMouseRightPressed()']]], + ['onmouserightreleased_369',['onMouseRightReleased',['../class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0',1,'IntelliTool::onMouseRightReleased()'],['../class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c',1,'IntelliToolCircle::onMouseRightReleased()'],['../class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892',1,'IntelliToolFloodFill::onMouseRightReleased()'],['../class_intelli_tool_gradient.html#a04315a520c97541d76e7723a07e0a834',1,'IntelliToolGradient::onMouseRightReleased()'],['../class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2',1,'IntelliToolLine::onMouseRightReleased()'],['../class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13',1,'IntelliToolPen::onMouseRightReleased()'],['../class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8',1,'IntelliToolPlainTool::onMouseRightReleased()'],['../class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b',1,'IntelliToolPolygon::onMouseRightReleased()'],['../class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f',1,'IntelliToolRectangle::onMouseRightReleased()']]], + ['onwheelscrolled_370',['onWheelScrolled',['../class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574',1,'IntelliTool::onWheelScrolled()'],['../class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506',1,'IntelliToolCircle::onWheelScrolled()'],['../class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991',1,'IntelliToolFloodFill::onWheelScrolled()'],['../class_intelli_tool_gradient.html#a11f77ac474b697ebb6bc185560437f6a',1,'IntelliToolGradient::onWheelScrolled()'],['../class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125',1,'IntelliToolLine::onWheelScrolled()'],['../class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a',1,'IntelliToolPen::onWheelScrolled()'],['../class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d',1,'IntelliToolPlainTool::onWheelScrolled()'],['../class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17',1,'IntelliToolPolygon::onWheelScrolled()'],['../class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c',1,'IntelliToolRectangle::onWheelScrolled()']]], + ['open_371',['open',['../class_painting_area.html#a88c7e759aa8375a56129791645f46ea5',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index 0eb1a73..8286b76 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,5 +1,5 @@ var searchData= [ - ['paintevent_358',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], - ['paintingarea_359',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] + ['paintevent_372',['paintEvent',['../class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7',1,'PaintingArea']]], + ['paintingarea_373',['PaintingArea',['../class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index 001058a..f3ff82c 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['resizeimage_360',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] + ['resizeimage_374',['resizeImage',['../class_intelli_image.html#a177403ab9585d4ba31984a644c54d310',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index 5ceca88..f512a67 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,25 +1,24 @@ var searchData= [ - ['save_361',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], - ['saveproject_362',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], - ['setfastrendering_363',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], - ['setfirstcolor_364',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], - ['setimagedata_365',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], - ['setinneralpha_366',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], - ['setlayeractive_367',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], - ['setlayeralpha_368',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], - ['setlayerdimensions_369',['setLayerDimensions',['../class_painting_area.html#a2444acb9a61038fbe0206498d0cae011',1,'PaintingArea']]], - ['setlinewidth_370',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], - ['setpixeltoactive_371',['setPixelToActive',['../class_painting_area.html#a6bd7eac7e2080b64336e58d0ecf93c71',1,'PaintingArea']]], - ['setpolygon_372',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], - ['setpolygondatatoactive_373',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], - ['setrendersettings_374',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], - ['setsecondcolor_375',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], - ['settoolwidth_376',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], - ['sign_377',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], - ['slotactivatelayer_378',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], - ['slotcloseevent_379',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], - ['slotdeleteactivelayer_380',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], - ['sloteingabe_381',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], - ['swapcolors_382',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] + ['save_375',['save',['../class_painting_area.html#aa2463d4f403224086acab02903ae407e',1,'PaintingArea']]], + ['saveproject_376',['saveProject',['../namespace_intelli_datamanager.html#ac02f6f47ff8785ad9d49588baaca3d54',1,'IntelliDatamanager']]], + ['setcanvasdimensions_377',['setCanvasDimensions',['../class_painting_area.html#a3bfc63de27c54f3edf9feb3af538343c',1,'PaintingArea']]], + ['setfastrendering_378',['setFastRendering',['../class_intelli_render_settings.html#a5ffb878b77e5d448ffe4eb03a8397ac2',1,'IntelliRenderSettings']]], + ['setfirstcolor_379',['setFirstColor',['../class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8',1,'IntelliColorPicker']]], + ['setimagedata_380',['setImageData',['../class_intelli_image.html#ab09c64e7559f3db32ca3b20ba6339268',1,'IntelliImage']]], + ['setinneralpha_381',['setInnerAlpha',['../class_intelli_toolsettings.html#a9a61f3de61efeba2287f8b32941f4271',1,'IntelliToolsettings']]], + ['setlayeractive_382',['setLayerActive',['../class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9',1,'PaintingArea']]], + ['setlayeralpha_383',['setLayerAlpha',['../class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055',1,'PaintingArea']]], + ['setlinewidth_384',['setLineWidth',['../class_intelli_toolsettings.html#a73fa94c85c6c2fdc1a33975a33304a6f',1,'IntelliToolsettings']]], + ['setpolygon_385',['setPolygon',['../class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309',1,'IntelliImage::setPolygon()'],['../class_intelli_raster_image.html#a6462fa5f94c5e64e9e1f0c4658e0507b',1,'IntelliRasterImage::setPolygon()'],['../class_intelli_shaped_image.html#a4b69d75de7a3b85032482982f249458e',1,'IntelliShapedImage::setPolygon()'],['../class_painting_area.html#aa409492ac26483d618bb33616f2e3f81',1,'PaintingArea::setPolygon()']]], + ['setpolygondatatoactive_386',['setPolygonDataToActive',['../class_painting_area.html#aac7d7bca37e0d7c7d077b65224795577',1,'PaintingArea']]], + ['setrendersettings_387',['setRenderSettings',['../class_painting_area.html#a63be0831e5b6ceb8cc622d83aa28f0bd',1,'PaintingArea']]], + ['setsecondcolor_388',['setSecondColor',['../class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931',1,'IntelliColorPicker']]], + ['settoolwidth_389',['setToolWidth',['../class_intelli_photo_gui.html#a343f8ebf5d27b7242208747de6c92497',1,'IntelliPhotoGui']]], + ['sign_390',['sign',['../namespace_intelli_triangulation.html#af9af549a7faff35a74c1265b290ea0ca',1,'IntelliTriangulation']]], + ['slotactivatelayer_391',['slotActivateLayer',['../class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec',1,'PaintingArea']]], + ['slotcloseevent_392',['slotCloseEvent',['../class_intelli_input_dialog.html#ae59e68446caab323945ea725f69e89b0',1,'IntelliInputDialog']]], + ['slotdeleteactivelayer_393',['slotDeleteActiveLayer',['../class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e',1,'PaintingArea']]], + ['sloteingabe_394',['slotEingabe',['../class_intelli_input_dialog.html#a23f837147e6aab3d8e0aff9d0f7012bd',1,'IntelliInputDialog']]], + ['swapcolors_395',['swapColors',['../class_intelli_color_picker.html#aec499265ae28ce1b54be88222e74292e',1,'IntelliColorPicker']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index 117acc9..53e4779 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,6 +1,6 @@ var searchData= [ - ['unittest_383',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], - ['updategui_384',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], - ['updaterenderersetting_385',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] + ['unittest_396',['UnitTest',['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()'],['../class_unit_test.html#a67ddaff817b55a624741d32550052f4b',1,'UnitTest::UnitTest()']]], + ['updategui_397',['UpdateGui',['../class_intelli_photo_gui.html#a1dbef8d4688227aa9455aea52db00bf4',1,'IntelliPhotoGui']]], + ['updaterenderersetting_398',['updateRendererSetting',['../class_intelli_image.html#ae4dbaefabce4ec5bec37f5b95e2f62e2',1,'IntelliImage']]] ]; diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js index 1ed7642..75d60d9 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,4 +1,4 @@ var searchData= [ - ['wheelevent_386',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] + ['wheelevent_399',['wheelEvent',['../class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4',1,'PaintingArea']]] ]; diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js index e27cd95..c1ffa0c 100644 --- a/docs/html/search/functions_e.js +++ b/docs/html/search/functions_e.js @@ -1,18 +1,19 @@ var searchData= [ - ['_7eintellicolorpicker_387',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], - ['_7eintelliimage_388',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], - ['_7eintellirasterimage_389',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], - ['_7eintellishapedimage_390',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], - ['_7eintellitool_391',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], - ['_7eintellitoolcircle_392',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], - ['_7eintellitoolfloodfill_393',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], - ['_7eintellitoolline_394',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], - ['_7eintellitoolpen_395',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], - ['_7eintellitoolplaintool_396',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], - ['_7eintellitoolpolygon_397',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], - ['_7eintellitoolrectangle_398',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], - ['_7eintellitoolsettings_399',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], - ['_7epaintingarea_400',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], - ['_7eunittest_401',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] + ['_7eintellicolorpicker_400',['~IntelliColorPicker',['../class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff',1,'IntelliColorPicker']]], + ['_7eintelliimage_401',['~IntelliImage',['../class_intelli_image.html#ac398bfa9ddd3185508a1e36ee15d80cc',1,'IntelliImage']]], + ['_7eintellirasterimage_402',['~IntelliRasterImage',['../class_intelli_raster_image.html#a844a2b58c43f7e01f2ca116286371bc8',1,'IntelliRasterImage']]], + ['_7eintellishapedimage_403',['~IntelliShapedImage',['../class_intelli_shaped_image.html#a43d63d8a814852d377ee2030658fbab9',1,'IntelliShapedImage']]], + ['_7eintellitool_404',['~IntelliTool',['../class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2',1,'IntelliTool']]], + ['_7eintellitoolcircle_405',['~IntelliToolCircle',['../class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954',1,'IntelliToolCircle']]], + ['_7eintellitoolfloodfill_406',['~IntelliToolFloodFill',['../class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba',1,'IntelliToolFloodFill']]], + ['_7eintellitoolgradient_407',['~IntelliToolGradient',['../class_intelli_tool_gradient.html#a7d5c812815872b7e394e36362358b539',1,'IntelliToolGradient']]], + ['_7eintellitoolline_408',['~IntelliToolLine',['../class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2',1,'IntelliToolLine']]], + ['_7eintellitoolpen_409',['~IntelliToolPen',['../class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818',1,'IntelliToolPen']]], + ['_7eintellitoolplaintool_410',['~IntelliToolPlainTool',['../class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658',1,'IntelliToolPlainTool']]], + ['_7eintellitoolpolygon_411',['~IntelliToolPolygon',['../class_intelli_tool_polygon.html#a087cbf2254010989df6106a357471499',1,'IntelliToolPolygon']]], + ['_7eintellitoolrectangle_412',['~IntelliToolRectangle',['../class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1',1,'IntelliToolRectangle']]], + ['_7eintellitoolsettings_413',['~IntelliToolsettings',['../class_intelli_toolsettings.html#a927e50594a459c952d06acd34c0eff56',1,'IntelliToolsettings']]], + ['_7epaintingarea_414',['~PaintingArea',['../class_painting_area.html#aa32adc113f77031945f73e33051931e8',1,'PaintingArea']]], + ['_7eunittest_415',['~UnitTest',['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()'],['../class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf',1,'UnitTest::~UnitTest()']]] ]; diff --git a/docs/html/search/namespaces_0.js b/docs/html/search/namespaces_0.js index 1eb2052..91456d0 100644 --- a/docs/html/search/namespaces_0.js +++ b/docs/html/search/namespaces_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['intellidatamanager_228',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], - ['intellitriangulation_229',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] + ['intellidatamanager_236',['IntelliDatamanager',['../namespace_intelli_datamanager.html',1,'']]], + ['intellitriangulation_237',['IntelliTriangulation',['../namespace_intelli_triangulation.html',1,'']]] ]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index d716a11..8c5d1bd 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -7,7 +7,7 @@ var indexSectionsWithContent = 4: "acdghilmoprsuw~", 5: "abcfhiptw", 6: "it", - 7: "cflnprs", + 7: "cfglnprs", 8: "p" }; diff --git a/docs/html/search/variables_0.js b/docs/html/search/variables_0.js index 3ce4bd0..6d575f8 100644 --- a/docs/html/search/variables_0.js +++ b/docs/html/search/variables_0.js @@ -1,8 +1,8 @@ var searchData= [ - ['a_402',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], - ['activelayer_403',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], - ['activetype_404',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], - ['alpha_405',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], - ['area_406',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] + ['a_416',['A',['../struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b',1,'Triangle']]], + ['activelayer_417',['activeLayer',['../class_intelli_tool.html#aedccdad01b2bc6ec84fad3582251ff5d',1,'IntelliTool']]], + ['activetype_418',['ActiveType',['../class_intelli_tool.html#a631388999f36013628e13b9de87a6f7b',1,'IntelliTool']]], + ['alpha_419',['alpha',['../struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56',1,'LayerObject']]], + ['area_420',['Area',['../class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_1.js b/docs/html/search/variables_1.js index 8e4fbd8..084680f 100644 --- a/docs/html/search/variables_1.js +++ b/docs/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['b_407',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] + ['b_421',['B',['../struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7',1,'Triangle']]] ]; diff --git a/docs/html/search/variables_2.js b/docs/html/search/variables_2.js index b29041f..81caaee 100644 --- a/docs/html/search/variables_2.js +++ b/docs/html/search/variables_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['c_408',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], - ['canvas_409',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], - ['colorpicker_410',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] + ['c_422',['C',['../struct_triangle.html#addb8aaab314d79f3617acca01e12872a',1,'Triangle']]], + ['canvas_423',['Canvas',['../class_intelli_tool.html#a144d469cc03584f501194529a1b53c77',1,'IntelliTool']]], + ['colorpicker_424',['colorPicker',['../class_painting_area.html#a132535c4e16052c1472cf1b9f3e096ed',1,'PaintingArea::colorPicker()'],['../class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef',1,'IntelliTool::colorPicker()']]] ]; diff --git a/docs/html/search/variables_3.js b/docs/html/search/variables_3.js index dbb6a70..66376a9 100644 --- a/docs/html/search/variables_3.js +++ b/docs/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['fastrenderering_411',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] + ['fastrenderering_425',['fastRenderering',['../class_intelli_image.html#aa63d34c7932113d021653980ee018671',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_4.js b/docs/html/search/variables_4.js index e14ca07..36426b4 100644 --- a/docs/html/search/variables_4.js +++ b/docs/html/search/variables_4.js @@ -1,5 +1,5 @@ var searchData= [ - ['height_412',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], - ['heightoffset_413',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] + ['height_426',['height',['../struct_layer_object.html#ae0003fb815e50ed587a9897988befc90',1,'LayerObject']]], + ['heightoffset_427',['heightOffset',['../struct_layer_object.html#a08bacdcd64a0ae0eb5376f55329954bc',1,'LayerObject']]] ]; diff --git a/docs/html/search/variables_5.js b/docs/html/search/variables_5.js index ff08882..e269799 100644 --- a/docs/html/search/variables_5.js +++ b/docs/html/search/variables_5.js @@ -1,6 +1,6 @@ var searchData= [ - ['image_414',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], - ['imagedata_415',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], - ['isdrawing_416',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] + ['image_428',['image',['../struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83',1,'LayerObject']]], + ['imagedata_429',['imageData',['../class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2',1,'IntelliImage']]], + ['isdrawing_430',['isDrawing',['../class_intelli_tool.html#a555aa8a74992327f740dd69b3bb0ccca',1,'IntelliTool']]] ]; diff --git a/docs/html/search/variables_6.js b/docs/html/search/variables_6.js index a7ffecc..c95e56f 100644 --- a/docs/html/search/variables_6.js +++ b/docs/html/search/variables_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['polygondata_417',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] + ['polygondata_431',['polygonData',['../class_intelli_shaped_image.html#a727d19ce314c0874be6b0633a3a603c8',1,'IntelliShapedImage']]] ]; diff --git a/docs/html/search/variables_7.js b/docs/html/search/variables_7.js index b1d7f1e..d455425 100644 --- a/docs/html/search/variables_7.js +++ b/docs/html/search/variables_7.js @@ -1,5 +1,5 @@ var searchData= [ - ['toolsettings_418',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], - ['typeofimage_419',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] + ['toolsettings_432',['Toolsettings',['../class_painting_area.html#abc2f798744f1dc805a651731eb1692ea',1,'PaintingArea::Toolsettings()'],['../class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f',1,'IntelliTool::Toolsettings()']]], + ['typeofimage_433',['TypeOfImage',['../class_intelli_image.html#ac460f75e1fa7e44b00a65e7fddac5b80',1,'IntelliImage']]] ]; diff --git a/docs/html/search/variables_8.js b/docs/html/search/variables_8.js index 3dd3c0a..34c35a5 100644 --- a/docs/html/search/variables_8.js +++ b/docs/html/search/variables_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['width_420',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], - ['widthoffset_421',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] + ['width_434',['width',['../struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897',1,'LayerObject']]], + ['widthoffset_435',['widthOffset',['../struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96',1,'LayerObject']]] ]; diff --git a/docs/html/struct_layer_object-members.html b/docs/html/struct_layer_object-members.html index cb50987..c99aa32 100644 --- a/docs/html/struct_layer_object-members.html +++ b/docs/html/struct_layer_object-members.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/struct_layer_object.html b/docs/html/struct_layer_object.html index ab0d6bd..431bbd6 100644 --- a/docs/html/struct_layer_object.html +++ b/docs/html/struct_layer_object.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -144,7 +144,7 @@ Public Attributes
      -

      Definition at line 22 of file PaintingArea.cpp.

      +

      Definition at line 23 of file PaintingArea.cpp.

      @@ -164,7 +164,7 @@ Public Attributes
      -

      Definition at line 26 of file PaintingArea.cpp.

      +

      Definition at line 27 of file PaintingArea.cpp.

      diff --git a/docs/html/struct_triangle-members.html b/docs/html/struct_triangle-members.html index a2dd0b5..c45831a 100644 --- a/docs/html/struct_triangle-members.html +++ b/docs/html/struct_triangle-members.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/struct_triangle.html b/docs/html/struct_triangle.html index 3a29f34..8a3a68e 100644 --- a/docs/html/struct_triangle.html +++ b/docs/html/struct_triangle.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/tst__unittest_8cpp.html b/docs/html/tst__unittest_8cpp.html index 5b92983..6dd0e71 100644 --- a/docs/html/tst__unittest_8cpp.html +++ b/docs/html/tst__unittest_8cpp.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      diff --git a/docs/html/tst__unittest_8cpp_source.html b/docs/html/tst__unittest_8cpp_source.html index 442adb9..d07a191 100644 --- a/docs/html/tst__unittest_8cpp_source.html +++ b/docs/html/tst__unittest_8cpp_source.html @@ -26,7 +26,7 @@
      IntelliPhoto -  0.6 +  0.7
      @@ -1782,23 +1782,23 @@ $(document).ready(function(){initNavTree('tst__unittest_8cpp_source.html',''); i
      1697 #include "tst_unittest.moc"
      -
      void createCircleTool()
      +
      void createCircleTool()
      createCircleTool creates a Circle Tool.
      virtual void onMouseRightPressed(int x, int y)
      A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
      Definition: IntelliTool.cpp:19
      QColor getFirstColor() const
      A function to read the primary selected color.
      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
      -
      void createRectangleTool()
      +
      void createRectangleTool()
      createRectangleTool creates a Rectangle Tool.
      virtual void onMouseLeftPressed(int x, int y)
      A function managing the left click Pressed of a Mouse. Resetting the current draw....
      Definition: IntelliTool.cpp:30
      -
      void setLayerAlpha(int idx, int alpha)
      The setAlphaOfLayer method sets the alpha value of a specific layer.
      +
      void setLayerAlpha(int idx, int alpha)
      The setAlphaOfLayer method sets the alpha value of a specific layer.
      -
      void setLayerActive(int idx)
      The setLayerToActive method marks a specific layer as active.
      +
      void setLayerActive(int idx)
      The setLayerToActive method marks a specific layer as active.
      std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
      A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
      -
      void deleteLayer(int idx, bool isTool=false)
      The deleteLayer method removes a layer at a given idx.
      +
      void deleteLayer(int idx, bool isTool=false)
      The deleteLayer method removes a layer at a given idx.
      The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
      void setSecondColor(QColor Color)
      A function to set the secondary color.
      @@ -1806,14 +1806,14 @@ $(document).ready(function(){initNavTree('tst__unittest_8cpp_source.html',''); i
      The IntelliShapedImage manages a Shapedimage.
      -
      void createPlainTool()
      +
      void createPlainTool()
      createPlainTool creates a Plain Tool.
      The PaintingArea class manages the methods and stores information about the current painting area,...
      Definition: PaintingArea.h:57
      -
      void createPenTool()
      +
      void createPenTool()
      createPenTool creates a Pen Tool.
      QColor getSecondColor() const
      A function to read the secondary selected color.
      The IntelliToolRectangle class represents a tool to draw a rectangle.
      -
      void createLineTool()
      +
      void createLineTool()
      createLineTool creates a Line Tool.
      The IntelliToolPen class represents a tool to draw a line.
      virtual void onMouseRightReleased(int x, int y)
      A function managing the right click Released of a Mouse. Merging the Canvas to Active....
      Definition: IntelliTool.cpp:26
      @@ -1822,11 +1822,11 @@ $(document).ready(function(){initNavTree('tst__unittest_8cpp_source.html',''); i
      void setFirstColor(QColor Color)
      A function to set the primary color.
      -
      void createPolygonTool()
      -
      void moveActiveLayer(int idx)
      The moveActiveLayer moves the active layer to a specific position in the layer stack.
      -
      IntelliColorPicker colorPicker
      Definition: PaintingArea.h:223
      +
      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
      -
      void createFloodFillTool()
      +
      void createFloodFillTool()
      createFloodFillTool creates a Floodfill Tool.
      The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
      diff --git a/src/GUI/IntelliInputDialog.h b/src/GUI/IntelliInputDialog.h index 9d89ca7..95c41f4 100644 --- a/src/GUI/IntelliInputDialog.h +++ b/src/GUI/IntelliInputDialog.h @@ -16,7 +16,7 @@ class IntelliInputDialog : public QDialog { Q_OBJECT public: - /*! +/*! * \brief IntelliInputDialog is the baisc constructor to for the InputDialog * \param Title - Title of the Input Dialog. * \param Label - A Label for the Iput Dialog, to show further information. diff --git a/src/GUI/IntelliPhotoGui.cpp b/src/GUI/IntelliPhotoGui.cpp index 08f53bd..fd1936d 100644 --- a/src/GUI/IntelliPhotoGui.cpp +++ b/src/GUI/IntelliPhotoGui.cpp @@ -105,7 +105,7 @@ void IntelliPhotoGui::slotCreateNewRasterLayer(){ // Create New Layer if (ok1&&ok2) { paintingArea->addLayer(width,height,0,0,255,ImageType::RASTERIMAGE); - paintingArea->historyadd(); + paintingArea->historyadd(); UpdateGui(); } } @@ -125,7 +125,7 @@ void IntelliPhotoGui::slotCreateNewShapedLayer(){ // Create New Layer if (ok1&&ok2) { paintingArea->addLayer(width, height, 0, 0,255, ImageType::SHAPEDIMAGE); - paintingArea->historyadd(); + paintingArea->historyadd(); UpdateGui(); } } @@ -162,7 +162,7 @@ void IntelliPhotoGui::slotDeleteLayer(){ // Create New Layer if(ok1) { paintingArea->deleteLayer(layerNumber - 1); - paintingArea->historyadd(); + paintingArea->historyadd(); UpdateGui(); } } @@ -335,7 +335,7 @@ void IntelliPhotoGui::slotEnterPressed(){ void IntelliPhotoGui::slotResetToolButtons(){ CircleButton->setChecked(false); FloodFillButton->setChecked(false); - GradientButton->setChecked(false); + GradientButton->setChecked(false); LineButton->setChecked(false); PenButton->setChecked(false); PlainButton->setChecked(false); @@ -389,8 +389,8 @@ void IntelliPhotoGui::createActions(){ actionSaveAs.append(action); } - // Set exporter to actions - QAction*pngSaveAction = new QAction("PNG-8...", this); + // Set exporter to actions + QAction*pngSaveAction = new QAction("PNG-8...", this); pngSaveAction->setData("PNG"); // When clicked call IntelliPhotoGui::save() connect(pngSaveAction, SIGNAL(triggered()), this, SLOT(slotSave())); @@ -419,7 +419,7 @@ void IntelliPhotoGui::createActions(){ connect(actionCreateNewShapedLayer, SIGNAL(triggered()), this, SLOT(slotCreateNewShapedLayer())); // Delete New Layer action and tie to IntelliPhotoGui::deleteLayer() - actionDeleteLayer = new QAction(tr("&Delete Layer"), this); + actionDeleteLayer = new QAction(tr("&Delete Layer"), this); actionDeleteLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_D)); connect(actionDeleteLayer, SIGNAL(triggered()), this, SLOT(slotDeleteLayer())); @@ -428,52 +428,52 @@ void IntelliPhotoGui::createActions(){ connect(actionChangeDim, SIGNAL(triggered()), this, SLOT(slotChangeDim())); connect(dimCanvas, SIGNAL(clicked()), this, SLOT(slotChangeDim())); - actionSetActiveLayer = new QAction(tr("&Set Active"), this); + actionSetActiveLayer = new QAction(tr("&Set Active"), this); actionSetActiveLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_A)); connect(actionSetActiveLayer, SIGNAL(triggered()), this, SLOT(slotSetActiveLayer())); - actionSetActiveAlpha = new QAction(tr("&Set Alpha"), this); + actionSetActiveAlpha = new QAction(tr("&Set Alpha"), this); actionSetActiveAlpha->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_A)); connect(actionSetActiveAlpha, SIGNAL(triggered()), this, SLOT(slotSetActiveAlpha())); - actionSetPolygon = new QAction(tr("&Set Polygon Data"), this); + actionSetPolygon = new QAction(tr("&Set Polygon Data"), this); actionSetPolygon->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_P)); connect(actionSetPolygon, SIGNAL(triggered()), this, SLOT(slotSetPolygon())); - actionMovePositionUp = new QAction(tr("&Move Up"), this); + actionMovePositionUp = new QAction(tr("&Move Up"), this); actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up)); connect(actionMovePositionUp, SIGNAL(triggered()), this, SLOT(slotPositionMoveUp())); - actionMovePositionDown = new QAction(tr("&Move Down"), this); + actionMovePositionDown = new QAction(tr("&Move Down"), this); actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down)); connect(actionMovePositionDown, SIGNAL(triggered()), this, SLOT(slotPositionMoveDown())); - actionMovePositionLeft = new QAction(tr("&Move Left"), this); + actionMovePositionLeft = new QAction(tr("&Move Left"), this); actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left)); connect(actionMovePositionLeft, SIGNAL(triggered()), this, SLOT(slotPositionMoveLeft())); - actionMovePositionRight = new QAction(tr("&Move Right"), this); + actionMovePositionRight = new QAction(tr("&Move Right"), this); actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right)); connect(actionMovePositionRight, SIGNAL(triggered()), this, SLOT(slotPositionMoveRight())); - actionMoveLayerUp = new QAction(tr("&Move Forth"), this); + actionMoveLayerUp = new QAction(tr("&Move Forth"), this); actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up)); connect(actionMoveLayerUp, SIGNAL(triggered()), this, SLOT(slotMoveLayerUp())); - actionMoveLayerDown = new QAction(tr("&Move Back"), this); + actionMoveLayerDown = new QAction(tr("&Move Back"), this); actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down)); connect(actionMoveLayerDown, SIGNAL(triggered()), this, SLOT(slotMoveLayerDown())); - // Create Update RenderSettings Actions here - actionUpdateFastRenderSettingsOn = new QAction(tr("&On"), this); - actionUpdateFastRenderSettingsOn->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_A)); - connect(actionUpdateFastRenderSettingsOn, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOn())); + // Create Update RenderSettings Actions here + actionUpdateFastRenderSettingsOn = new QAction(tr("&On"), this); + actionUpdateFastRenderSettingsOn->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_A)); + connect(actionUpdateFastRenderSettingsOn, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOn())); - actionUpdateFastRenderSettingsOff = new QAction(tr("&Off"), this); - actionUpdateFastRenderSettingsOff->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_D)); - connect(actionUpdateFastRenderSettingsOff, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOff())); + actionUpdateFastRenderSettingsOff = new QAction(tr("&Off"), this); + actionUpdateFastRenderSettingsOff->setShortcut(QKeySequence(Qt::ALT + Qt::SHIFT + +Qt::Key_D)); + connect(actionUpdateFastRenderSettingsOff, SIGNAL(triggered()),this, SLOT(slotUpdateFastRenderSettingsOff())); - // Create Color Actions here + // Create Color Actions here actionColorPickerFirstColor = new QAction(tr("&Main"), this); actionColorPickerFirstColor->setShortcut(QKeySequence(Qt::ALT + Qt::Key_N)); connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor())); @@ -489,81 +489,81 @@ void IntelliPhotoGui::createActions(){ connect(actionColorSwap, SIGNAL(triggered()), this, SLOT(slotSwapColor())); connect(SwitchColorButton, SIGNAL(clicked()), this, SLOT(slotSwapColor())); - // Create Tool actions down here + // Create Tool actions down here actionCreatePlainTool = new QAction(tr("&Plain"), this); actionCreatePlainTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_P)); - connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreatePlainTool, SIGNAL(triggered()), this, SLOT(slotCreatePlainTool())); actionCreatePenTool = new QAction(tr("&Pen"),this); actionCreatePenTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_S)); - connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreatePenTool, SIGNAL(triggered()), this, SLOT(slotCreatePenTool())); actionCreateLineTool = new QAction(tr("&Line"), this); actionCreateLineTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_L)); - connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreateLineTool, SIGNAL(triggered()), this, SLOT(slotCreateLineTool())); actionCreateCircleTool = new QAction(tr("&Circle"), this); actionCreateCircleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_C)); - connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreateCircleTool, SIGNAL(triggered()), this, SLOT(slotCreateCircleTool())); actionCreateRectangleTool = new QAction(tr("&Rectangle"), this); actionCreateRectangleTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_R)); - connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreateRectangleTool, SIGNAL(triggered()), this, SLOT(slotCreateRectangleTool())); actionCreatePolygonTool = new QAction(tr("&Polygon"), this); actionCreatePolygonTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_V)); - connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreatePolygonTool, SIGNAL(triggered()), this, SLOT(slotCreatePolygonTool())); actionCreateFloodFillTool = new QAction(tr("&FloodFill"), this); actionCreateFloodFillTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_F)); - connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreateFloodFillTool, SIGNAL(triggered()), this, SLOT(slotCreateFloodFillTool())); actionCreateGradientTool = new QAction(tr("&Gradient"),this); - actionCreateGradientTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_G)); - connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); + actionCreateGradientTool->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::SHIFT + Qt::Key_G)); + connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotResetToolButtons())); connect(actionCreateGradientTool, SIGNAL(triggered()), this, SLOT(slotCreateGradientTool())); // Create about action and tie to IntelliPhotoGui::about() - actionAboutDialog = new QAction(tr("&About"), this); + actionAboutDialog = new QAction(tr("&About"), this); connect(actionAboutDialog, SIGNAL(triggered()), this, SLOT(slotAboutDialog())); // Create about Qt action and tie to IntelliPhotoGui::aboutQt() - actionAboutQtDialog = new QAction(tr("About &Qt"), this); + actionAboutQtDialog = new QAction(tr("About &Qt"), this); connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt())); connect(EditLineWidth, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed())); connect(EditLineInnerAlpha, SIGNAL(returnPressed()), this, SLOT(slotEnterPressed())); - connect(CircleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(CircleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(CircleButton, SIGNAL(clicked()), this, SLOT(slotCreateCircleTool())); - connect(FloodFillButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(FloodFillButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(FloodFillButton, SIGNAL(clicked()), this, SLOT(slotCreateFloodFillTool())); - connect(GradientButton, SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(GradientButton, SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(GradientButton, SIGNAL(clicked()), this, SLOT(slotCreateGradientTool())); - connect(LineButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(LineButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(LineButton, SIGNAL(clicked()), this, SLOT(slotCreateLineTool())); - connect(PenButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(PenButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(PenButton, SIGNAL(clicked()), this, SLOT(slotCreatePenTool())); - connect(PlainButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(PlainButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(PlainButton, SIGNAL(clicked()), this, SLOT(slotCreatePlainTool())); - connect(PolygonButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(PolygonButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(PolygonButton, SIGNAL(clicked()), this, SLOT(slotCreatePolygonTool())); - connect(RectangleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); + connect(RectangleButton,SIGNAL(pressed()), this, SLOT(slotResetToolButtons())); connect(RectangleButton, SIGNAL(clicked()), this, SLOT(slotCreateRectangleTool())); actionSetWidth = new QAction(tr("&Set Width"),this); @@ -574,11 +574,11 @@ void IntelliPhotoGui::createActions(){ actionSetInnerAlpha->setShortcut(QKeySequence(Qt::ALT + Qt::Key_A)); connect(actionSetInnerAlpha, SIGNAL(triggered()), this, SLOT(slotSetInnerAlpha())); - actionGoBack = new QAction(tr("&Undo"),this); + actionGoBack = new QAction(tr("&Undo"),this); actionGoBack->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Z)); connect(actionGoBack, SIGNAL(triggered()), this, SLOT(slotGoBack())); - actionGoForward = new QAction(tr("&Redo"),this); + actionGoForward = new QAction(tr("&Redo"),this); actionGoForward->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Y)); connect(actionGoForward, SIGNAL(triggered()), this, SLOT(slotGoForward())); } @@ -586,31 +586,31 @@ void IntelliPhotoGui::createActions(){ // Create the menubar void IntelliPhotoGui::createMenus(){ // Create Save As option and the list of file types - saveAsMenu = new QMenu(tr("&Export As"), this); + saveAsMenu = new QMenu(tr("&Export As"), this); foreach (QAction * action, actionSaveAs) saveAsMenu->addAction(action); - // Attach all actions to file menu + // Attach all actions to file menu fileMenu = new QMenu(tr("&File"), this); fileMenu->addAction(actionOpen); fileMenu->addMenu(saveAsMenu); fileMenu->addSeparator(); fileMenu->addAction(actionExit); - // Attach the save project option to file menu - QAction*projectSaveAction = new QAction("Save Project", this); - projectSaveAction->setData("idf"); - connect(projectSaveAction, SIGNAL(triggered()), this, SLOT(slotSave())); - projectSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S)); - fileMenu->addAction(projectSaveAction); + // Attach the save project option to file menu + QAction*projectSaveAction = new QAction("Save Project", this); + projectSaveAction->setData("idf"); + connect(projectSaveAction, SIGNAL(triggered()), this, SLOT(slotSave())); + projectSaveAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S)); + fileMenu->addAction(projectSaveAction); - // Attach all actions to Render Settings + // Attach all actions to Render Settings renderMenu = new QMenu(tr("&Fast Renderer"), this); - renderMenu->addAction(actionUpdateFastRenderSettingsOn); - renderMenu->addAction(actionUpdateFastRenderSettingsOff); + renderMenu->addAction(actionUpdateFastRenderSettingsOn); + renderMenu->addAction(actionUpdateFastRenderSettingsOff); - // Attach all Layer Creations to Menu - layerCreationMenu = new QMenu(tr("&Create Layer"), this); + // Attach all Layer Creations to Menu + layerCreationMenu = new QMenu(tr("&Create Layer"), this); layerCreationMenu->addAction(actionCreateNewRasterLayer); layerCreationMenu->addAction(actionCreateNewShapedLayer); @@ -622,7 +622,7 @@ void IntelliPhotoGui::createMenus(){ layerMenu->addAction(actionSetActiveLayer); layerMenu->addAction(actionSetPolygon); layerMenu->addSeparator(); - layerMenu->addAction(actionMovePositionUp); + layerMenu->addAction(actionMovePositionUp); layerMenu->addAction(actionMovePositionDown); layerMenu->addAction(actionMovePositionLeft); layerMenu->addAction(actionMovePositionRight); @@ -631,14 +631,14 @@ void IntelliPhotoGui::createMenus(){ layerMenu->addSeparator(); layerMenu->addAction(actionDeleteLayer); - // Attach all Color Options + // Attach all Color Options colorMenu = new QMenu(tr("&Color"), this); colorMenu->addAction(actionColorPickerFirstColor); colorMenu->addAction(actionColorPickerSecondColor); colorMenu->addAction(actionColorSwap); - // Attach all Tool Creation Actions - toolCreationMenu = new QMenu(tr("&Tool Selection"), this); + // Attach all Tool Creation Actions + toolCreationMenu = new QMenu(tr("&Tool Selection"), this); toolCreationMenu->addAction(actionCreateCircleTool); toolCreationMenu->addAction(actionCreateFloodFillTool); toolCreationMenu->addAction(actionCreateGradientTool); @@ -648,20 +648,20 @@ void IntelliPhotoGui::createMenus(){ toolCreationMenu->addAction(actionCreatePolygonTool); toolCreationMenu->addAction(actionCreateRectangleTool); - // Attach all Tool Setting Actions - toolSettingsMenu = new QMenu(tr("&Tool Settings"), this); + // Attach all Tool Setting Actions + toolSettingsMenu = new QMenu(tr("&Tool Settings"), this); toolSettingsMenu->addAction(actionSetWidth); toolSettingsMenu->addAction(actionSetInnerAlpha); - // Attach all Tool Options + // Attach all Tool Options toolMenu = new QMenu(tr("&Tools"), this); toolMenu->addMenu(toolCreationMenu); - toolMenu->addMenu(toolSettingsMenu); + toolMenu->addMenu(toolSettingsMenu); // Attach all actions to Options optionMenu = new QMenu(tr("&Options"), this); optionMenu->addAction(actionGoBack); - optionMenu->addAction(actionGoForward); + optionMenu->addAction(actionGoForward); optionMenu->addSeparator(); optionMenu->addMenu(renderMenu); optionMenu->addAction(actionChangeDim); @@ -674,9 +674,9 @@ void IntelliPhotoGui::createMenus(){ // Add menu items to the menubar menuBar()->addMenu(fileMenu); menuBar()->addMenu(optionMenu); - menuBar()->addMenu(layerMenu); - menuBar()->addMenu(toolMenu); - menuBar()->addMenu(colorMenu); + menuBar()->addMenu(layerMenu); + menuBar()->addMenu(toolMenu); + menuBar()->addMenu(colorMenu); menuBar()->addMenu(helpMenu); } @@ -694,10 +694,10 @@ void IntelliPhotoGui::createGui(){ paintingArea = new PaintingArea(1280, 720); paintingArea->guiReference = this; - QScreen *screen = QGuiApplication::primaryScreen(); - QRect screenGeometry = screen->geometry(); - Buttonsize.setWidth(screenGeometry.width()/20); - Buttonsize.setHeight(screenGeometry.height()/20); + QScreen*screen = QGuiApplication::primaryScreen(); + QRect screenGeometry = screen->geometry(); + Buttonsize.setWidth(screenGeometry.width() / 20); + Buttonsize.setHeight(screenGeometry.height() / 20); preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg"); CircleButton = new QPushButton(); @@ -713,12 +713,12 @@ void IntelliPhotoGui::createGui(){ FloodFillButton->setIconSize(Buttonsize); FloodFillButton->setCheckable(true); - preview = QPixmap(":/Icons/Buttons/icons/gradient-tool.svg"); - GradientButton = new QPushButton(); - GradientButton->setFixedSize(Buttonsize); - GradientButton->setIcon(preview); - GradientButton->setIconSize(Buttonsize); - GradientButton->setCheckable(true); + preview = QPixmap(":/Icons/Buttons/icons/gradient-tool.svg"); + GradientButton = new QPushButton(); + GradientButton->setFixedSize(Buttonsize); + GradientButton->setIcon(preview); + GradientButton->setIconSize(Buttonsize); + GradientButton->setCheckable(true); preview = QPixmap(":/Icons/Buttons/icons/line-tool.svg"); LineButton = new QPushButton(); @@ -791,10 +791,10 @@ void IntelliPhotoGui::createGui(){ SwitchColorButton->setIcon(preview); SwitchColorButton->setIconSize(QSize(Buttonsize.width() * 2,Buttonsize.height())); - ActiveLayerLabel = new QLabel(); + ActiveLayerLabel = new QLabel(); QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1); - ActiveLayerLabel->setText(string); - ActiveLayerLabel->setFixedSize(Buttonsize.width() * 2 + 10,(Buttonsize.height() * 2) / 3); + ActiveLayerLabel->setText(string); + ActiveLayerLabel->setFixedSize(Buttonsize.width() * 2 + 10,(Buttonsize.height() * 2) / 3); IntelliImage* activePicture = paintingArea->getImageOfActiveLayer(); if(activePicture) { @@ -845,7 +845,7 @@ void IntelliPhotoGui::createGui(){ mainLayout->addWidget(FirstColorButton,9,2,1,1); mainLayout->addWidget(SecondColorButton,9,3,1,1); mainLayout->addWidget(SwitchColorButton,10,2,1,2); - mainLayout->addWidget(ActiveLayerLabel,11,2,1,2); + mainLayout->addWidget(ActiveLayerLabel,11,2,1,2); mainLayout->addWidget(ActiveLayerImageLabel,12,2,1,2); mainLayout->addWidget(dimActive,13,2,1,2); mainLayout->addWidget(dimCanvas,14,2,1,2); @@ -931,7 +931,7 @@ void IntelliPhotoGui::setToolWidth(int value){ void IntelliPhotoGui::UpdateGui(){ QString string = QString("Active Layer: %1").arg(paintingArea->getIndexOfActiveLayer() + 1); - ActiveLayerLabel->setText(string); + ActiveLayerLabel->setText(string); IntelliImage* activePicture = paintingArea->getImageOfActiveLayer(); if(activePicture) { @@ -956,7 +956,7 @@ void IntelliPhotoGui::UpdateGui(){ if(paintingArea->layerBundle.size() != 0) { string = QString("%1x%2").arg(paintingArea->layerBundle[static_cast (paintingArea->getIndexOfActiveLayer())].width).arg(paintingArea->layerBundle[static_cast - (paintingArea->getIndexOfActiveLayer())].height); + (paintingArea->getIndexOfActiveLayer())].height); dimActive->setText(string); } else{ diff --git a/src/Image/IntelliImage.cpp b/src/Image/IntelliImage.cpp index b37ee29..3ff8b13 100644 --- a/src/Image/IntelliImage.cpp +++ b/src/Image/IntelliImage.cpp @@ -115,13 +115,13 @@ void IntelliImage::drawLine(const QPoint &p1, const QPoint& p2, const QColor& co } void IntelliImage::drawPlain(const QColor& color){ - if(fastRenderering) { - this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32); - } + if(fastRenderering) { + this->imageData = this->imageData.convertToFormat(QImage::Format_ARGB32); + } imageData.fill(color); - if(fastRenderering) { - this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8); - } + if(fastRenderering) { + this->imageData = this->imageData.convertToFormat(QImage::Format_Indexed8); + } } QColor IntelliImage::getPixelColor(QPoint& point){ diff --git a/src/Image/IntelliRasterImage.cpp b/src/Image/IntelliRasterImage.cpp index a806616..9891b66 100644 --- a/src/Image/IntelliRasterImage.cpp +++ b/src/Image/IntelliRasterImage.cpp @@ -23,7 +23,7 @@ IntelliRasterImage::~IntelliRasterImage(){ } IntelliImage* IntelliRasterImage::getDeepCopy(){ - IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false); + IntelliRasterImage* raster = new IntelliRasterImage(imageData.width(), imageData.height(), false); raster->imageData.fill(Qt::transparent); raster->TypeOfImage = ImageType::RASTERIMAGE; return raster; diff --git a/src/Image/IntelliShapedImage.cpp b/src/Image/IntelliShapedImage.cpp index 69013b9..93b2a2b 100644 --- a/src/Image/IntelliShapedImage.cpp +++ b/src/Image/IntelliShapedImage.cpp @@ -12,7 +12,7 @@ IntelliShapedImage::IntelliShapedImage(int width, int height, bool fastRendererO IntelliShapedImage* IntelliShapedImage::copy(const IntelliShapedImage& image){ this->TypeOfImage = ImageType::SHAPEDIMAGE; - IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), this->fastRenderering); + IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), this->fastRenderering); shaped->imageData.copy(0,0,image.getWidth(),image.getWidth()); return shaped; } @@ -26,7 +26,7 @@ QImage IntelliShapedImage::getDisplayable(int alpha){ } IntelliImage* IntelliShapedImage::getDeepCopy(){ - IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), false); + IntelliShapedImage* shaped = new IntelliShapedImage(imageData.width(), imageData.height(), false); shaped->setPolygon(this->polygonData); shaped->imageData.fill(Qt::transparent); shaped->TypeOfImage = ImageType::SHAPEDIMAGE; diff --git a/src/IntelliHelper/IntelliDatamanager.cpp b/src/IntelliHelper/IntelliDatamanager.cpp index faf29ce..e465778 100644 --- a/src/IntelliHelper/IntelliDatamanager.cpp +++ b/src/IntelliHelper/IntelliDatamanager.cpp @@ -94,7 +94,7 @@ bool IntelliDatamanager::loadProject(PaintingArea* Canvas, QString filePath){ } Canvas->setRenderSettings(static_cast(rendersetting)); openFile.close(); - Canvas->historyadd(); + Canvas->historyadd(); return true; } diff --git a/src/Layer/PaintingArea.cpp b/src/Layer/PaintingArea.cpp index 809c668..ece955e 100644 --- a/src/Layer/PaintingArea.cpp +++ b/src/Layer/PaintingArea.cpp @@ -39,8 +39,8 @@ LayerObject::LayerObject(const LayerObject& layer){ PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent) : QLabel(parent){ - this->Tool = nullptr; - this->setCanvasDimensions(maxWidth, maxHeight); + this->Tool = nullptr; + this->setCanvasDimensions(maxWidth, maxHeight); activeLayer = -1; } @@ -275,8 +275,8 @@ void PaintingArea::createFloodFillTool(){ } void PaintingArea::createGradientTool(){ - delete this->Tool; - Tool = new IntelliToolGradient(this, &colorPicker, &Toolsettings); + delete this->Tool; + Tool = new IntelliToolGradient(this, &colorPicker, &Toolsettings); } int PaintingArea::getWidthOfActive(){ @@ -509,30 +509,30 @@ void PaintingArea::updateTools(){ void PaintingArea::historyadd(){ - historyPresent++; - if (historyPresent == 100) { + historyPresent++; + if (historyPresent == 100) { historyPresent = 0; } historyMaxFuture = historyPresent; - if (historyPresent == historyMaxPast){ - historyMaxPast++; - if (historyMaxPast == 100){ + if (historyPresent == historyMaxPast) { + historyMaxPast++; + if (historyMaxPast == 100) { historyMaxPast = 0; - } - } - history[static_cast(historyPresent)] = layerBundle; + } + } + history[static_cast(historyPresent)] = layerBundle; } void PaintingArea::historyGoBack(){ if (historyPresent != historyMaxPast) { if (--historyPresent == -1) historyPresent = 99; - if (activeLayer == -1) - activeLayer = 0; - if (layerBundle.size() > history[static_cast(historyPresent)].size()) - activeLayer = static_cast(history[static_cast(historyPresent)].size())-1; - if (history[static_cast(historyPresent)].size() == 0) - activeLayer = -1; + if (activeLayer == -1) + activeLayer = 0; + if (layerBundle.size() > history[static_cast(historyPresent)].size()) + activeLayer = static_cast(history[static_cast(historyPresent)].size()) - 1; + if (history[static_cast(historyPresent)].size() == 0) + activeLayer = -1; layerBundle = history[static_cast(historyPresent)]; } this->guiReference->UpdateGui(); @@ -542,12 +542,12 @@ void PaintingArea::historyGoForward(){ if (historyPresent != historyMaxFuture) { if (++historyPresent == 100) historyPresent = 0; - if (activeLayer == -1) - activeLayer = 0; - if (layerBundle.size() > history[static_cast(historyPresent)].size()) - activeLayer = static_cast(history[static_cast(historyPresent)].size())-1; - if (history[static_cast(historyPresent)].size() == 0) - activeLayer = -1; + if (activeLayer == -1) + activeLayer = 0; + if (layerBundle.size() > history[static_cast(historyPresent)].size()) + activeLayer = static_cast(history[static_cast(historyPresent)].size()) - 1; + if (history[static_cast(historyPresent)].size() == 0) + activeLayer = -1; layerBundle = history[static_cast(historyPresent)]; } this->guiReference->UpdateGui(); diff --git a/src/Layer/PaintingArea.h b/src/Layer/PaintingArea.h index 91f8d20..be0deb7 100644 --- a/src/Layer/PaintingArea.h +++ b/src/Layer/PaintingArea.h @@ -457,8 +457,8 @@ bool createTempTopLayer(int idx); void updateTools(); /*! - * \brief history - an array out of containers to save history actions. - */ + * \brief history - an array out of containers to save history actions. + */ std::vector history[100] = {layerBundle}; /*! diff --git a/src/Tool/IntelliTool.h b/src/Tool/IntelliTool.h index 07abb46..95dac3d 100644 --- a/src/Tool/IntelliTool.h +++ b/src/Tool/IntelliTool.h @@ -23,7 +23,7 @@ public: enum class Tooltype { CIRCLE, FLOODFILL, - GRADIENT, + GRADIENT, LINE, PEN, PLAIN, diff --git a/src/Tool/IntelliToolGradient.cpp b/src/Tool/IntelliToolGradient.cpp index a47f087..9639710 100644 --- a/src/Tool/IntelliToolGradient.cpp +++ b/src/Tool/IntelliToolGradient.cpp @@ -4,128 +4,128 @@ #include IntelliToolGradient::IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings) - : IntelliTool(Area, colorPicker, Toolsettings){ - this->ActiveType = Tooltype::GRADIENT; - this->LineColor = QColor(0,0,0,255); - this->hasMoved = false; + : IntelliTool(Area, colorPicker, Toolsettings){ + this->ActiveType = Tooltype::GRADIENT; + this->LineColor = QColor(0,0,0,255); + this->hasMoved = false; } IntelliToolGradient::~IntelliToolGradient(){ - IntelliTool::onMouseRightPressed(0,0); + IntelliTool::onMouseRightPressed(0,0); } void IntelliToolGradient::onMouseLeftPressed(int x, int y){ - IntelliTool::onMouseLeftPressed(x,y); - doubleStartPoint[0] = static_cast(x); - doubleStartPoint[1] = static_cast(y); - startPoint = QPoint(x,y); - endPoint = QPoint(x,y); - VectorStartEnd[0] = 0; - VectorStartEnd[1] = 0; - Canvas->image->drawPixel(startPoint,LineColor); + IntelliTool::onMouseLeftPressed(x,y); + doubleStartPoint[0] = static_cast(x); + doubleStartPoint[1] = static_cast(y); + startPoint = QPoint(x,y); + endPoint = QPoint(x,y); + VectorStartEnd[0] = 0; + VectorStartEnd[1] = 0; + Canvas->image->drawPixel(startPoint,LineColor); } void IntelliToolGradient::onMouseRightPressed(int x, int y){ - IntelliTool::onMouseRightPressed(x,y); + IntelliTool::onMouseRightPressed(x,y); } void IntelliToolGradient::onMouseLeftReleased(int x, int y){ - if(hasMoved && this->isDrawing){ - computeGradientLayer(); - IntelliTool::onMouseLeftReleased(x,y); - } + if(hasMoved && this->isDrawing) { + computeGradientLayer(); + IntelliTool::onMouseLeftReleased(x,y); + } } void IntelliToolGradient::onMouseRightReleased(int x, int y){ - IntelliTool::onMouseRightReleased(x,y); + IntelliTool::onMouseRightReleased(x,y); } void IntelliToolGradient::onMouseMoved(int x, int y){ - if(this->isDrawing){ - hasMoved = true; - endPoint = QPoint(x,y); - VectorStartEnd[0] = static_cast(endPoint.x() - startPoint.x()); - VectorStartEnd[1] = static_cast(endPoint.y() - startPoint.y()); - NormalVector[0] = VectorStartEnd[1]; - NormalVector[1] = (-1*VectorStartEnd[0]); - NormalDotNormal = dotProduct(NormalVector,NormalVector); - this->Canvas->image->drawPlain(Qt::transparent); - computeGradientLayer(); - Canvas->image->drawLine(startPoint,endPoint,LineColor,1); - } - IntelliTool::onMouseMoved(x,y); + if(this->isDrawing) { + hasMoved = true; + endPoint = QPoint(x,y); + VectorStartEnd[0] = static_cast(endPoint.x() - startPoint.x()); + VectorStartEnd[1] = static_cast(endPoint.y() - startPoint.y()); + NormalVector[0] = VectorStartEnd[1]; + NormalVector[1] = (-1 * VectorStartEnd[0]); + NormalDotNormal = dotProduct(NormalVector,NormalVector); + this->Canvas->image->drawPlain(Qt::transparent); + computeGradientLayer(); + Canvas->image->drawLine(startPoint,endPoint,LineColor,1); + } + IntelliTool::onMouseMoved(x,y); } void IntelliToolGradient::onWheelScrolled(int value){ - IntelliTool::onWheelScrolled(value); + IntelliTool::onWheelScrolled(value); } void IntelliToolGradient::computeAndDrawPixelColor(QPoint Point){ - double doublePoint[2]; - doublePoint[0] = static_cast(Point.x()); - doublePoint[1] = static_cast(Point.y()); - double doublePointSubA[2]; - doublePointSubA[0] = doublePoint[0] - doubleStartPoint[0]; - doublePointSubA[1] = doublePoint[1] - doubleStartPoint[1]; - double Perpendicular[2]; - double PointSubADotNormal = dotProduct(doublePointSubA,NormalVector); - Perpendicular[0] = doublePoint[0] - (PointSubADotNormal / NormalDotNormal) * NormalVector[0]; - Perpendicular[1] = doublePoint[1] - (PointSubADotNormal / NormalDotNormal) * NormalVector[1]; - double VectorAPoint[2]; - VectorAPoint[0] = static_cast(Perpendicular[0] - doubleStartPoint[0]); - VectorAPoint[1] = static_cast(Perpendicular[1] - doubleStartPoint[1]); - double ratio; - if(((VectorAPoint[0] < 0 && VectorStartEnd[0] < 0) || (VectorAPoint[0] > 0 && VectorStartEnd[0] > 0)) && ((VectorAPoint[1] < 0 && VectorStartEnd[1] < 0) || (VectorAPoint[1] > 0 && VectorStartEnd[1] > 0))) - ratio = lenghtVector(VectorAPoint)/lenghtVector(VectorStartEnd); - else{ - ratio = -1; - } - QColor computedColor; - if(ratio < 0){ - computedColor = colorPicker->getFirstColor(); - } - else if(ratio > 1){ - computedColor = colorPicker->getSecondColor(); - } - else{ - int red; - int green; - int blue; - int alpha; - int red2; - int green2; - int blue2; - int alpha2; - colorPicker->getFirstColor().getRgb(&red,&green,&blue,&alpha); - colorPicker->getSecondColor().getRgb(&red2,&green2,&blue2,&alpha2); - computedColor.setRed(static_cast(ratio * red2 + (1 - ratio) * red)); - computedColor.setGreen(static_cast(ratio * green2 + (1 - ratio) * green)); - computedColor.setBlue(static_cast(ratio * blue2 + (1 - ratio) * blue)); - computedColor.setAlpha(static_cast(ratio * alpha2 + (1 - ratio) * alpha)); - } - Canvas->image->drawPixel(Point,computedColor); + double doublePoint[2]; + doublePoint[0] = static_cast(Point.x()); + doublePoint[1] = static_cast(Point.y()); + double doublePointSubA[2]; + doublePointSubA[0] = doublePoint[0] - doubleStartPoint[0]; + doublePointSubA[1] = doublePoint[1] - doubleStartPoint[1]; + double Perpendicular[2]; + double PointSubADotNormal = dotProduct(doublePointSubA,NormalVector); + Perpendicular[0] = doublePoint[0] - (PointSubADotNormal / NormalDotNormal) * NormalVector[0]; + Perpendicular[1] = doublePoint[1] - (PointSubADotNormal / NormalDotNormal) * NormalVector[1]; + double VectorAPoint[2]; + VectorAPoint[0] = static_cast(Perpendicular[0] - doubleStartPoint[0]); + VectorAPoint[1] = static_cast(Perpendicular[1] - doubleStartPoint[1]); + double ratio; + if(((VectorAPoint[0] < 0 && VectorStartEnd[0] < 0) || (VectorAPoint[0] > 0 && VectorStartEnd[0] > 0)) && ((VectorAPoint[1] < 0 && VectorStartEnd[1] < 0) || (VectorAPoint[1] > 0 && VectorStartEnd[1] > 0))) + ratio = lenghtVector(VectorAPoint) / lenghtVector(VectorStartEnd); + else{ + ratio = -1; + } + QColor computedColor; + if(ratio < 0) { + computedColor = colorPicker->getFirstColor(); + } + else if(ratio > 1) { + computedColor = colorPicker->getSecondColor(); + } + else{ + int red; + int green; + int blue; + int alpha; + int red2; + int green2; + int blue2; + int alpha2; + colorPicker->getFirstColor().getRgb(&red,&green,&blue,&alpha); + colorPicker->getSecondColor().getRgb(&red2,&green2,&blue2,&alpha2); + computedColor.setRed(static_cast(ratio * red2 + (1 - ratio) * red)); + computedColor.setGreen(static_cast(ratio * green2 + (1 - ratio) * green)); + computedColor.setBlue(static_cast(ratio * blue2 + (1 - ratio) * blue)); + computedColor.setAlpha(static_cast(ratio * alpha2 + (1 - ratio) * alpha)); + } + Canvas->image->drawPixel(Point,computedColor); } double IntelliToolGradient::dotProduct(double Vector1[2], double Vector2[2]){ - return static_cast(Vector1[0]*Vector2[0]+Vector1[1]*Vector2[1]); + return static_cast(Vector1[0] * Vector2[0] + Vector1[1] * Vector2[1]); } double IntelliToolGradient::lenghtVector(double Vector[2]){ - return static_cast((sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1]))); + return static_cast((sqrt(Vector[0] * Vector[0] + Vector[1] * Vector[1]))); } void IntelliToolGradient::computeGradientLayer(){ - bool switched = false; - if(Canvas->image->isFastRendering()){ - switched = true; - Canvas->image->updateRendererSetting(false); - } - for(int i = 0; i < activeLayer->height; i++){ - for(int j = 0; j < activeLayer->width; j++){ - computeAndDrawPixelColor(QPoint(j,i)); - } - } - if(switched){ - Canvas->image->updateRendererSetting(true); - } + bool switched = false; + if(Canvas->image->isFastRendering()) { + switched = true; + Canvas->image->updateRendererSetting(false); + } + for(int i = 0; i < activeLayer->height; i++) { + for(int j = 0; j < activeLayer->width; j++) { + computeAndDrawPixelColor(QPoint(j,i)); + } + } + if(switched) { + Canvas->image->updateRendererSetting(true); + } } diff --git a/src/Tool/IntelliToolGradient.h b/src/Tool/IntelliToolGradient.h index caf9b81..7547a61 100644 --- a/src/Tool/IntelliToolGradient.h +++ b/src/Tool/IntelliToolGradient.h @@ -4,129 +4,129 @@ /*! * \brief The IntelliToolGradient class that represents a gradient call */ -class IntelliToolGradient : public IntelliTool{ +class IntelliToolGradient : public IntelliTool { public: - /*! - * \brief IntelliToolGradient basic constructor of the gradient tool. - * \param Area - a reference to the paintingArea - * \param colorPicker - a reference to the colorpicker - * \param Toolsettings - a regerence to the Toolsettings - */ - IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings); +/*! + * \brief IntelliToolGradient basic constructor of the gradient tool. + * \param Area - a reference to the paintingArea + * \param colorPicker - a reference to the colorpicker + * \param Toolsettings - a regerence to the Toolsettings + */ +IntelliToolGradient(PaintingArea* Area, IntelliColorPicker* colorPicker, IntelliToolsettings* Toolsettings); - /*! - * \brief ~IntelliToolGradient basic destructor. - */ - virtual ~IntelliToolGradient() override; +/*! + * \brief ~IntelliToolGradient basic destructor. + */ +virtual ~IntelliToolGradient() override; - /*! - * \brief A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! - * \param x - The x coordinate relative to the active/canvas layer. - * \param y - The y coordinate relative to the active/canvas layer. - */ - virtual void onMouseRightPressed(int x, int y) override; +/*! + * \brief A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! + * \param x - The x coordinate relative to the active/canvas layer. + * \param y - The y coordinate relative to the active/canvas layer. + */ +virtual void onMouseRightPressed(int x, int y) override; - /*! - * \brief A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! - * \param x - The x coordinate relative to the active/canvas layer. - * \param y - The y coordinate relative to the active/canvas layer. - */ - virtual void onMouseRightReleased(int x, int y) override; +/*! + * \brief A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! + * \param x - The x coordinate relative to the active/canvas layer. + * \param y - The y coordinate relative to the active/canvas layer. + */ +virtual void onMouseRightReleased(int x, int y) override; - /*! - * \brief A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! - * \param x - The x coordinate relative to the active/canvas layer. - * \param y - The y coordinate relative to the active/canvas layer. - */ - virtual void onMouseLeftPressed(int x, int y) override; +/*! + * \brief A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! + * \param x - The x coordinate relative to the active/canvas layer. + * \param y - The y coordinate relative to the active/canvas layer. + */ +virtual void onMouseLeftPressed(int x, int y) override; - /*! - * \brief A function managing the left click Released of a Mouse. Call this in child classes! - * \param x - The x coordinate relative to the active/canvas layer. - * \param y - The y coordinate relative to the active/canvas layer. - */ - virtual void onMouseLeftReleased(int x, int y) override; +/*! + * \brief A function managing the left click Released of a Mouse. Call this in child classes! + * \param x - The x coordinate relative to the active/canvas layer. + * \param y - The y coordinate relative to the active/canvas layer. + */ +virtual void onMouseLeftReleased(int x, int y) override; - /*! - * \brief A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! - * \param value - The absolute the scroll has changed. - */ - virtual void onWheelScrolled(int value) override; +/*! + * \brief A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! + * \param value - The absolute the scroll has changed. + */ +virtual void onWheelScrolled(int value) override; - /*! - * \brief A function managing the mouse moved event. Call this in child classes! - * \param x - The x coordinate of the new mouse position. - * \param y - The y coordinate of the new mouse position. - */ - virtual void onMouseMoved(int x, int y) override; +/*! + * \brief A function managing the mouse moved event. Call this in child classes! + * \param x - The x coordinate of the new mouse position. + * \param y - The y coordinate of the new mouse position. + */ +virtual void onMouseMoved(int x, int y) override; private: - /*! - * \brief startPoint of the line - */ - QPoint startPoint; +/*! + * \brief startPoint of the line + */ +QPoint startPoint; - /*! - * \brief endPoint of the line - */ - QPoint endPoint; - /*! - * \brief doubleStartPoint startPoint as double Values - */ - double doubleStartPoint[2]; +/*! + * \brief endPoint of the line + */ +QPoint endPoint; +/*! + * \brief doubleStartPoint startPoint as double Values + */ +double doubleStartPoint[2]; - /*! - * \brief VectorStartEnd a vector between start and end point. - */ - double VectorStartEnd[2]; +/*! + * \brief VectorStartEnd a vector between start and end point. + */ +double VectorStartEnd[2]; - /*! - * \brief NormalVector of the VectorStartEnd - */ - double NormalVector[2]; +/*! + * \brief NormalVector of the VectorStartEnd + */ +double NormalVector[2]; - /*! - * \brief NormalDotNormal dot product of Normal*Normal - */ - double NormalDotNormal; +/*! + * \brief NormalDotNormal dot product of Normal*Normal + */ +double NormalDotNormal; - /*! - * \brief LineColor color of th line. - */ - QColor LineColor; +/*! + * \brief LineColor color of th line. + */ +QColor LineColor; - /*! - * \brief hasMoved indicates a movement - */ - bool hasMoved; +/*! + * \brief hasMoved indicates a movement + */ +bool hasMoved; - /*! - * \brief computeAndDrawPixelColor computes the pixelcolor for a given point and sets it to the image. - * \param Point the point which shoud be computed - */ - void computeAndDrawPixelColor(QPoint Point); +/*! + * \brief computeAndDrawPixelColor computes the pixelcolor for a given point and sets it to the image. + * \param Point the point which shoud be computed + */ +void computeAndDrawPixelColor(QPoint Point); - /*! - * \brief dotProduct calculates the dot product of 2 vetors. - * \param Vector1 - first argument - * \param Vector2 - second argument - * \return returns the dot product. - */ - double dotProduct(double Vector1[2], double Vector2[2]); +/*! + * \brief dotProduct calculates the dot product of 2 vetors. + * \param Vector1 - first argument + * \param Vector2 - second argument + * \return returns the dot product. + */ +double dotProduct(double Vector1[2], double Vector2[2]); - /*! - * \brief lenghtVector returns the length of a vector - * \param Vector - Vector to calculate the length - * \return returns the length of the vector - */ - double lenghtVector(double Vector[2]); +/*! + * \brief lenghtVector returns the length of a vector + * \param Vector - Vector to calculate the length + * \return returns the length of the vector + */ +double lenghtVector(double Vector[2]); - /*! - * \brief computeGradientLayer computes the gradient over all pixels in the image. - */ - void computeGradientLayer(); +/*! + * \brief computeGradientLayer computes the gradient over all pixels in the image. + */ +void computeGradientLayer(); }; #endif // INTELLITOOLGRADIENT_H