diff --git a/docs/html/_intelli_color_picker_8cpp.html b/docs/html/_intelli_color_picker_8cpp.html new file mode 100644 index 0000000..4c18fee --- /dev/null +++ b/docs/html/_intelli_color_picker_8cpp.html @@ -0,0 +1,104 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp File Reference
+
+
+ +

Go to the source code of this file.

+
+
+ + + + diff --git a/docs/html/_intelli_color_picker_8cpp_source.html b/docs/html/_intelli_color_picker_8cpp_source.html new file mode 100644 index 0000000..7d1ff02 --- /dev/null +++ b/docs/html/_intelli_color_picker_8cpp_source.html @@ -0,0 +1,139 @@ + + + + + + + +IntelliPhoto: src/IntelliHelper/IntelliColorPicker.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IntelliColorPicker.cpp
+
+
+Go to the documentation of this file.
1 #include "IntelliColorPicker.h"
+
2 
+ +
4  firstColor = QColor(255,0,0,255);
+
5  secondColor = QColor(0,255,255,255);
+
6 }
+
7 
+ +
9 
+
10 }
+
11 
+ +
13  std::swap(firstColor, secondColor);
+
14 }
+
15 
+ +
17  return this->firstColor;
+
18 }
+
19 
+ +
21  return this->secondColor;
+
22 }
+
23 
+ +
25  this->firstColor = Color;
+
26 }
+
27 
+ +
29  this->secondColor = Color;
+
30 }
+
+
+
IntelliColorPicker::~IntelliColorPicker
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
Definition: IntelliColorPicker.cpp:8
+
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
+
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
+
IntelliColorPicker.h
+
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
+
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
+
IntelliColorPicker::swapColors
void swapColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
+
IntelliColorPicker::IntelliColorPicker
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
Definition: IntelliColorPicker.cpp:3
+ + + + diff --git a/docs/html/_intelli_color_picker_8h_source.html b/docs/html/_intelli_color_picker_8h_source.html index 26bc4f1..7c0b1d8 100644 --- a/docs/html/_intelli_color_picker_8h_source.html +++ b/docs/html/_intelli_color_picker_8h_source.html @@ -93,39 +93,44 @@ $(document).ready(function(){initNavTree('_intelli_color_picker_8h_source.html',
5 #include "QPoint"
6 #include "QColorDialog"
7 
-
11 class IntelliColorPicker {
-
12 public:
-
16 IntelliColorPicker();
-
17 
-
21 virtual ~IntelliColorPicker();
-
22 
-
26 void swapColors();
-
27 
-
32 QColor getFirstColor();
-
33 
-
38 QColor getSecondColor();
-
39 
-
44 void setFirstColor(QColor Color);
-
45 
-
50 void setSecondColor(QColor Color);
-
51 
-
52 private:
-
56 QColor firstColor;
-
57 
-
61 QColor secondColor;
-
62 };
-
63 
-
64 #endif
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+
14 class IntelliColorPicker {
+
15  friend UnitTest;
+
16 public:
+
20 IntelliColorPicker();
+
21 
+
25 virtual ~IntelliColorPicker();
+
26 
+
30 void swapColors();
+
31 
+
36 QColor getFirstColor();
+
37 
+
42 QColor getSecondColor();
+
43 
+
48 void setFirstColor(QColor Color);
+
49 
+
54 void setSecondColor(QColor Color);
+
55 
+
56 private:
+
60 QColor firstColor;
+
61 
+
65 QColor secondColor;
+
66 };
+
67 
+
68 #endif
-
IntelliColorPicker::~IntelliColorPicker
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
Definition: IntelliColorPicker.cpp:8
-
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
-
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
-
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
-
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
-
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
IntelliColorPicker::swapColors
void swapColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
-
IntelliColorPicker::IntelliColorPicker
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
Definition: IntelliColorPicker.cpp:3
+
IntelliColorPicker::~IntelliColorPicker
virtual ~IntelliColorPicker()
IntelliColorPicker destructor clears up his used memory, if there is some.
Definition: IntelliColorPicker.cpp:8
+
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
+
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
+
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
+
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
+
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:14
+
UnitTest
Definition: mainUnitTest.cpp:8
+
IntelliColorPicker::swapColors
void swapColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
+
IntelliColorPicker::IntelliColorPicker
IntelliColorPicker()
IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...
Definition: IntelliColorPicker.cpp:3
-
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:90
+
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:96
IntelliImage.h
IntelliImage::~IntelliImage
virtual ~IntelliImage()=0
An Abstract Destructor.
Definition: IntelliImage.cpp:18
IntelliImage::drawPixel
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
Definition: IntelliImage.cpp:57
IntelliImage::IntelliImage
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
-
IntelliImage::drawPoint
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
Definition: IntelliImage.cpp:74
-
IntelliImage::updateRendererSetting
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
Definition: IntelliImage.cpp:143
-
IntelliImage::fastRenderering
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
-
IntelliImage::getImageData
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
Definition: IntelliImage.cpp:125
+
IntelliImage::drawPoint
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.
Definition: IntelliImage.cpp:77
+
IntelliImage::updateRendererSetting
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
Definition: IntelliImage.cpp:152
+
IntelliImage::fastRenderering
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
IntelliImage::getImageData
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
Definition: IntelliImage.cpp:134
IntelliImage::resizeImage
void resizeImage(QImage *image, const QSize &newSize)
Definition: IntelliImage.cpp:37
-
IntelliImage::setImageData
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
Definition: IntelliImage.cpp:133
-
IntelliImage::getPixelColor
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
Definition: IntelliImage.cpp:117
-
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
+
IntelliImage::setImageData
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
Definition: IntelliImage.cpp:142
+
IntelliImage::getPixelColor
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
Definition: IntelliImage.cpp:126
+
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
IntelliImage::loadImage
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
Definition: IntelliImage.cpp:22
-
IntelliImage::drawPlain
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
Definition: IntelliImage.cpp:107
+
IntelliImage::drawPlain
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
Definition: IntelliImage.cpp:116
-
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:90
+
IntelliImage::drawLine
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.
Definition: IntelliImage.cpp:96
IntelliImage::~IntelliImage
virtual ~IntelliImage()=0
An Abstract Destructor.
Definition: IntelliImage.cpp:18
IntelliRenderSettings.h
IntelliImage::drawPixel
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
Definition: IntelliImage.cpp:57
IntelliImage::getDisplayable
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
IntelliImage::getTypeOfImage
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:134
-
IntelliImage::getPolygonData
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:130
+
IntelliImage::getTypeOfImage
virtual ImageType getTypeOfImage()
Definition: IntelliImage.h:138
+
IntelliImage::getPolygonData
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:134
IntelliImage::IntelliImage
IntelliImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliImage. Given the Image dimensions.
Definition: IntelliImage.cpp:5
-
IntelliImage::drawPoint
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
Definition: IntelliImage.cpp:74
-
IntelliImage::updateRendererSetting
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
Definition: IntelliImage.cpp:143
-
IntelliImage::fastRenderering
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
-
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
IntelliImage::drawPoint
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.
Definition: IntelliImage.cpp:77
+
IntelliImage::updateRendererSetting
virtual void updateRendererSetting(bool fastRendererOn)
updateRendererSetting updates the existing image format to the new format.
Definition: IntelliImage.cpp:152
+
IntelliImage::fastRenderering
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
+
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
IntelliImage::ImageType::SHAPEDIMAGE
@ SHAPEDIMAGE
-
IntelliImage::getImageData
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
Definition: IntelliImage.cpp:125
+
IntelliImage::getImageData
virtual QImage getImageData()
getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!...
Definition: IntelliImage.cpp:134
IntelliImage::resizeImage
void resizeImage(QImage *image, const QSize &newSize)
Definition: IntelliImage.cpp:37
-
IntelliImage::setImageData
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
Definition: IntelliImage.cpp:133
-
IntelliImage::TypeOfImage
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:42
-
IntelliImage::getPixelColor
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
Definition: IntelliImage.cpp:117
+
IntelliImage::setImageData
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
Definition: IntelliImage.cpp:142
+
IntelliImage::TypeOfImage
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
+
IntelliImage::getPixelColor
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
Definition: IntelliImage.cpp:126
IntelliImage::ImageType::RASTERIMAGE
@ RASTERIMAGE
-
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
+
IntelliImage::imageData
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
UnitTest
Definition: mainUnitTest.cpp:8
IntelliImage::loadImage
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
Definition: IntelliImage.cpp:22
-
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
IntelliImage::getDeepCopy
virtual IntelliImage * getDeepCopy()=0
A function that copys all that returns a [allocated] Image.
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
IntelliTriangulation.h
-
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
-
IntelliImage::drawPlain
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
Definition: IntelliImage.cpp:107
+
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
+
IntelliImage::drawPlain
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
Definition: IntelliImage.cpp:116
IntelliImage::setPolygon
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
#include "IntelliInputDialog.h"
-#include <QFile>

Go to the source code of this file.

diff --git a/docs/html/_intelli_input_dialog_8cpp_source.html b/docs/html/_intelli_input_dialog_8cpp_source.html index 3c4b0db..d9ad586 100644 --- a/docs/html/_intelli_input_dialog_8cpp_source.html +++ b/docs/html/_intelli_input_dialog_8cpp_source.html @@ -87,99 +87,97 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8cpp_source.html
Go to the documentation of this file.
1 #include "IntelliInputDialog.h"
-
2 #include <QFile>
-
3 
-
4 
-
5 IntelliInputDialog::IntelliInputDialog(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok)
-
6 {
-
7  this->valueInt = value;
-
8  this->notClosed = ok;
-
9  if(notClosed != nullptr) {
-
10  *notClosed = false;
-
11  }
-
12  createInputBox(Title, Label, value, minValue, maxValue, step);
-
13  createConnections();
-
14  setInputBoxStyle();
-
15  this->exec();
-
16 }
-
17 
-
18 int IntelliInputDialog::getInt(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok){
-
19  IntelliInputDialog dialog(Title, Label, value, minValue, maxValue, step, ok);
-
20  return dialog.valueInt;
-
21 }
-
22 
-
23 void IntelliInputDialog::createInputBox(QString Title, QString Label, int value, int minValue, int maxValue, int step){
-
24  this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
-
25  if(Title == nullptr) {
-
26  this->setWindowTitle("Input Box");
-
27  }
-
28  else{
-
29  this->setWindowTitle(Title);
-
30  }
-
31  this->Layout = new QGridLayout();
-
32  this->ButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
-
33 
-
34  this->InputLabel = new QLabel();
-
35  if(Label == nullptr) {
-
36  this->InputLabel->setText("Width:");
-
37  }
-
38  else{
-
39  this->InputLabel->setText(Label);
-
40  }
-
41  this->InputLabel->setFixedSize(Linesize);
-
42 
-
43  this->Input = new QSpinBox();
-
44  this->Input->setFixedSize(Linesize);
-
45  this->Input->setRange(minValue,maxValue);
-
46  this->Input->setSingleStep(step);
-
47  this->Input->setValue(value);
-
48 
-
49  this->okButton = ButtonBox->button(QDialogButtonBox::Ok);
-
50  this->okButton->setFixedSize(Buttonsize);
-
51  this->okButton->setAutoDefault(false);
-
52  this->okButton->setDefault(false);
-
53 
-
54  this->cancelButton = ButtonBox->button(QDialogButtonBox::Cancel);
-
55  this->cancelButton->setFixedSize(Buttonsize);
-
56  this->cancelButton->setAutoDefault(false);
-
57  this->cancelButton->setDefault(false);
-
58 
-
59  Layout->addWidget(InputLabel,1,1,1,1);
-
60  Layout->addWidget(Input,2,1,1,1);
-
61  Layout->addWidget(ButtonBox,3,1,1,1);
-
62  this->setLayout(Layout);
-
63  this->resize(172,94);
-
64  this->show();
-
65 }
-
66 
-
67 void IntelliInputDialog::createConnections(){
-
68  connect(okButton, SIGNAL(clicked()), this, SLOT(slotEingabe()));
-
69  connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCloseEvent()));
-
70 }
-
71 
-
72 void IntelliInputDialog::setInputBoxStyle(){
-
73  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
-
74 }
-
75 
- -
77  this->close();
-
78 }
-
79 
- -
81  valueInt = QString("%1").arg(Input->value()).toInt();
-
82  if(notClosed != nullptr) {
-
83  *notClosed = true;
-
84  }
-
85  this->close();
-
86 }
+
2 
+
3 IntelliInputDialog::IntelliInputDialog(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok)
+
4 {
+
5  this->valueInt = value;
+
6  this->notClosed = ok;
+
7  if(notClosed != nullptr) {
+
8  *notClosed = false;
+
9  }
+
10  createInputBox(Title, Label, value, minValue, maxValue, step);
+
11  createConnections();
+
12  setInputBoxStyle();
+
13  this->exec();
+
14 }
+
15 
+
16 int IntelliInputDialog::getInt(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok){
+
17  IntelliInputDialog dialog(Title, Label, value, minValue, maxValue, step, ok);
+
18  return dialog.valueInt;
+
19 }
+
20 
+
21 void IntelliInputDialog::createInputBox(QString Title, QString Label, int value, int minValue, int maxValue, int step){
+
22  this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
+
23  if(Title == nullptr) {
+
24  this->setWindowTitle("Input Box");
+
25  }
+
26  else{
+
27  this->setWindowTitle(Title);
+
28  }
+
29  this->Layout = new QGridLayout();
+
30  this->ButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
+
31 
+
32  this->InputLabel = new QLabel();
+
33  if(Label == nullptr) {
+
34  this->InputLabel->setText("Width:");
+
35  }
+
36  else{
+
37  this->InputLabel->setText(Label);
+
38  }
+
39  this->InputLabel->setFixedSize(Linesize);
+
40 
+
41  this->Input = new QSpinBox();
+
42  this->Input->setFixedSize(Linesize);
+
43  this->Input->setRange(minValue,maxValue);
+
44  this->Input->setSingleStep(step);
+
45  this->Input->setValue(value);
+
46 
+
47  this->okButton = ButtonBox->button(QDialogButtonBox::Ok);
+
48  this->okButton->setFixedSize(Buttonsize);
+
49  this->okButton->setAutoDefault(false);
+
50  this->okButton->setDefault(false);
+
51 
+
52  this->cancelButton = ButtonBox->button(QDialogButtonBox::Cancel);
+
53  this->cancelButton->setFixedSize(Buttonsize);
+
54  this->cancelButton->setAutoDefault(false);
+
55  this->cancelButton->setDefault(false);
+
56 
+
57  Layout->addWidget(InputLabel,1,1,1,1);
+
58  Layout->addWidget(Input,2,1,1,1);
+
59  Layout->addWidget(ButtonBox,3,1,1,1);
+
60  this->setLayout(Layout);
+
61  this->resize(172,94);
+
62  this->show();
+
63 }
+
64 
+
65 void IntelliInputDialog::createConnections(){
+
66  connect(okButton, SIGNAL(clicked()), this, SLOT(slotEingabe()));
+
67  connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCloseEvent()));
+
68 }
+
69 
+
70 void IntelliInputDialog::setInputBoxStyle(){
+
71  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
+
72 }
+
73 
+ +
75  this->close();
+
76 }
+
77 
+ +
79  valueInt = QString("%1").arg(Input->value()).toInt();
+
80  if(notClosed != nullptr) {
+
81  *notClosed = true;
+
82  }
+
83  this->close();
+
84 }
-
IntelliInputDialog::slotCloseEvent
void slotCloseEvent()
Definition: IntelliInputDialog.cpp:76
+
IntelliInputDialog::slotCloseEvent
void slotCloseEvent()
Definition: IntelliInputDialog.cpp:74
IntelliInputDialog.h
-
IntelliInputDialog
Definition: IntelliInputDialog.h:6
-
IntelliInputDialog::IntelliInputDialog
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
Definition: IntelliInputDialog.cpp:5
-
IntelliInputDialog::getInt
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
Definition: IntelliInputDialog.cpp:18
-
IntelliInputDialog::slotEingabe
void slotEingabe()
Definition: IntelliInputDialog.cpp:80
+
IntelliInputDialog
Definition: IntelliInputDialog.h:12
+
IntelliInputDialog::IntelliInputDialog
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
Definition: IntelliInputDialog.cpp:3
+
IntelliInputDialog::getInt
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
Definition: IntelliInputDialog.cpp:16
+
IntelliInputDialog::slotEingabe
void slotEingabe()
Definition: IntelliInputDialog.cpp:78
-
#include <QtWidgets>
+
#include <QSize>
+#include <QDialog>
+#include <QLabel>
+#include <QGridLayout>
+#include <QDialogButtonBox>
+#include <QPushButton>
+#include <QSpinBox>

Go to the source code of this file.

diff --git a/docs/html/_intelli_input_dialog_8h_source.html b/docs/html/_intelli_input_dialog_8h_source.html index b2db70e..1e3e363 100644 --- a/docs/html/_intelli_input_dialog_8h_source.html +++ b/docs/html/_intelli_input_dialog_8h_source.html @@ -89,49 +89,54 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8h_source.html', Go to the documentation of this file.
1 #ifndef INTELLIINPUTDIALOG_H
2 #define INTELLIINPUTDIALOG_H
3 
-
4 #include <QtWidgets>
-
5 
-
6 class IntelliInputDialog : public QDialog
-
7 {
-
8 Q_OBJECT
-
9 public:
-
10 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
4 #include <QSize>
+
5 #include <QDialog>
+
6 #include <QLabel>
+
7 #include <QGridLayout>
+
8 #include <QDialogButtonBox>
+
9 #include <QPushButton>
+
10 #include <QSpinBox>
11 
-
12 
-
13 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
-
14 
-
15 public slots:
-
16 void slotCloseEvent();
-
17 void slotEingabe();
+
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 private:
-
20 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
-
21 void createConnections();
-
22 void setInputBoxStyle();
-
23 
-
24 int valueInt;
-
25 
-
26 QGridLayout* Layout;
-
27 QDialogButtonBox* ButtonBox;
-
28 QEventLoop loop;
-
29 bool* notClosed;
-
30 
-
31 const QSize Linesize = QSize(150,20);
-
32 const QSize Buttonsize = QSize(72,20);
-
33 QLabel* InputLabel;
-
34 QSpinBox* Input;
-
35 QPushButton* okButton;
-
36 QPushButton* cancelButton;
-
37 };
-
38 
-
39 #endif // INTELLIINPUTDIALOG_H
+
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 };
+
43 
+
44 #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)
- + + +
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 createCircleTool()
+
void createCircleTool()
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.
-
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.
-
QColor getSecondColor()
A function to read the secondary selected color.
-
void createPlainTool()
+
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.
+
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.
+
QColor getSecondColor()
A function to read the secondary selected color.
+
void createPlainTool()
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:37
-
void createPenTool()
-
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)
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
void createPenTool()
+
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 getNumberOfActiveLayer()
+
int getNumberOfActiveLayer()
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!...
+
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:182
+
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:202
-
QColor getFirstColor()
A function to read the primary selected color.
-
void createFloodFillTool()
+
QColor getFirstColor()
A function to read the primary selected color.
+
void createFloodFillTool()
void setInnerAlpha(int innerAlpha)
-
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
+
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
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.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
+
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:22
+
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
-
#include <QtWidgets>
-#include <QPixmap>
+
#include <QAction>
+#include <QFileDialog>
+#include <QMessageBox>
+#include <QImageWriter>
+#include <QMenu>
+#include <QMenuBar>
#include <QList>
#include <QMainWindow>
#include <QGridLayout>
diff --git a/docs/html/_intelli_photo_gui_8h_source.html b/docs/html/_intelli_photo_gui_8h_source.html index bf41cbc..918ad77 100644 --- a/docs/html/_intelli_photo_gui_8h_source.html +++ b/docs/html/_intelli_photo_gui_8h_source.html @@ -89,197 +89,207 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','') Go to the documentation of this file.
1 #ifndef IntelliPhotoGui_H
2 #define IntelliPhotoGui_H
3 
-
4 #include <QtWidgets>
-
5 #include <QPixmap>
-
6 #include <QList>
-
7 #include <QMainWindow>
-
8 #include <QGridLayout>
-
9 #include <QPushButton>
-
10 #include <QTextEdit>
-
11 #include <QLabel>
-
12 #include <QLineEdit>
-
13 
-
14 #include "IntelliInputDialog.h"
-
15 
-
16 
-
17 // PaintingArea used to paint the image
-
18 class PaintingArea;
-
19 
-
20 class IntelliTool;
+
4 #include <QAction>
+
5 #include <QFileDialog>
+
6 #include <QMessageBox>
+
7 #include <QImageWriter>
+
8 #include <QMenu>
+
9 #include <QMenuBar>
+
10 #include <QList>
+
11 #include <QMainWindow>
+
12 #include <QGridLayout>
+
13 #include <QPushButton>
+
14 #include <QTextEdit>
+
15 #include <QLabel>
+
16 #include <QLineEdit>
+
17 #include "IntelliInputDialog.h"
+
18 
+
19 //for unit testing
+
20 class UnitTest;
21 
-
22 class IntelliColorPicker;
-
23 
-
27 class IntelliPhotoGui : public QMainWindow {
-
28 Q_OBJECT
-
29 public:
- -
34 
-
35 void UpdateGui();
-
36 
-
37 void setToolWidth(int value);
-
38 
-
39 protected:
-
43 void closeEvent(QCloseEvent*event) override;
-
44 
-
45 private slots:
-
46 void slotOpen();
-
47 void slotSave();
-
48 
-
49 // layer slots here
-
50 void slotCreateNewRasterLayer();
-
51 void slotCreateNewShapedLayer();
-
52 void slotDeleteLayer();
-
53 void slotSetActiveLayer();
-
54 void slotSetActiveAlpha();
-
55 void slotSetPolygon();
-
56 void slotPositionMoveUp();
-
57 void slotPositionMoveDown();
-
58 void slotPositionMoveLeft();
-
59 void slotPositionMoveRight();
-
60 void slotMoveLayerUp();
-
61 void slotMoveLayerDown();
-
62 
-
63 void slotUpdateRenderSettingsOn();
-
64 void slotUpdateRenderSettingsOff();
-
65 
-
66 void slotSetFirstColor();
-
67 void slotSetSecondColor();
-
68 void slotSwapColor();
-
69 
-
70 void slotCreatePenTool();
-
71 void slotCreatePlainTool();
-
72 void slotCreateLineTool();
-
73 void slotCreateRectangleTool();
-
74 void slotCreateCircleTool();
-
75 void slotCreatePolygonTool();
-
76 void slotCreateFloodFillTool();
-
77 
-
78 void slotAboutDialog();
-
79 
-
80 void slotEnterPressed();
-
81 
-
82 void slotSetWidth();
-
83 void slotSetInnerAlpha();
-
84 
-
85 void slotResetTools();
+
22 // PaintingArea used to paint the image
+
23 class PaintingArea;
+
24 
+
25 class IntelliTool;
+
26 
+
27 class IntelliColorPicker;
+
28 
+
32 class IntelliPhotoGui : public QMainWindow {
+
33 friend UnitTest;
+
34 // Declares our class as a QObject which is the base class
+
35 // for all Qt objects
+
36 // QObjects handle events
+
37 Q_OBJECT
+
38 public:
+ +
43 
+
44 void UpdateGui();
+
45 
+
46 void setToolWidth(int value);
+
47 
+
48 protected:
+
52 void closeEvent(QCloseEvent*event) override;
+
53 
+
54 private slots:
+
55 void slotOpen();
+
56 void slotSave();
+
57 
+
58 // layer slots here
+
59 void slotCreateNewRasterLayer();
+
60 void slotCreateNewShapedLayer();
+
61 void slotDeleteLayer();
+
62 void slotSetActiveLayer();
+
63 void slotSetActiveAlpha();
+
64 void slotSetPolygon();
+
65 void slotPositionMoveUp();
+
66 void slotPositionMoveDown();
+
67 void slotPositionMoveLeft();
+
68 void slotPositionMoveRight();
+
69 void slotMoveLayerUp();
+
70 void slotMoveLayerDown();
+
71 
+
72 void slotUpdateRenderSettingsOn();
+
73 void slotUpdateRenderSettingsOff();
+
74 
+
75 void slotSetFirstColor();
+
76 void slotSetSecondColor();
+
77 void slotSwapColor();
+
78 
+
79 void slotCreatePenTool();
+
80 void slotCreatePlainTool();
+
81 void slotCreateLineTool();
+
82 void slotCreateRectangleTool();
+
83 void slotCreateCircleTool();
+
84 void slotCreatePolygonTool();
+
85 void slotCreateFloodFillTool();
86 
-
87 private:
-
88 void createActions();
-
89 void createMenus();
-
90 void createGui();
-
91 // Set the style of the GUI
-
92 void setIntelliStyle();
+
87 void slotAboutDialog();
+
88 
+
89 void slotEnterPressed();
+
90 
+
91 void slotSetWidth();
+
92 void slotSetInnerAlpha();
93 
-
94 // Will check if changes have occurred since last save
-
95 bool maybeSave();
-
96 // Opens the Save dialog and saves
-
97 bool saveFile(const QByteArray &fileFormat);
-
98 
-
99 void setDefaultToolValue();
-
100 
-
101 // What we'll draw on
-
102 PaintingArea* paintingArea;
-
103 
-
104 const QSize Buttonsize = QSize(35,35);
-
105 QPixmap preview;
-
106 QPushButton* CircleButton;
-
107 QPushButton* FloodFillButton;
-
108 QPushButton* LineButton;
-
109 QPushButton* PenButton;
-
110 QPushButton* PlainButton;
-
111 QPushButton* PolygonButton;
-
112 QPushButton* RectangleButton;
-
113 QLabel* WidthLine;
-
114 QLabel* innerAlphaLine;
-
115 QLineEdit* EditLineWidth;
-
116 QLineEdit* EditLineInnerAlpha;
-
117 QIntValidator* ValidatorLineWidth;
-
118 QIntValidator* ValidatorInnerAlpha;
-
119 
-
120 QPushButton* FirstColorButton;
-
121 QPushButton* SecondColorButton;
-
122 QPushButton* SwitchColorButton;
-
123 
-
124 QLabel* ActiveLayerLine;
-
125 QLabel* ActiveLayerImageLabel;
-
126 
-
127 // The menu widgets
-
128 QMenu*saveAsMenu;
-
129 QMenu*fileMenu;
-
130 QMenu*renderMenu;
-
131 QMenu*optionMenu;
-
132 QMenu*layerCreationMenu;
-
133 QMenu*layerMenu;
-
134 QMenu*colorMenu;
-
135 QMenu*toolCreationMenu;
-
136 QMenu*toolSettingsMenu;
-
137 QMenu*toolMenu;
-
138 QMenu*helpMenu;
-
139 
-
140 // All the actions that can occur
-
141 // meta image actions (need further modularisation)
-
142 QAction*actionOpen;
-
143 QAction*actionExit;
-
144 
-
145 //Rendersetting actions
-
146 QAction*actionUpdateRenderSettingsOn;
-
147 QAction*actionUpdateRenderSettingsOff;
+
94 void slotResetTools();
+
95 
+
96 private:
+
97 void createActions();
+
98 void createMenus();
+
99 void createGui();
+
100 // Set the style of the GUI
+
101 void setIntelliStyle();
+
102 
+
103 // Will check if changes have occurred since last save
+
104 bool maybeSave();
+
105 // Opens the Save dialog and saves
+
106 bool saveFile(const QByteArray &fileFormat);
+
107 
+
108 void setDefaultToolValue();
+
109 
+
110 // What we'll draw on
+
111 PaintingArea* paintingArea;
+
112 
+
113 const QSize Buttonsize = QSize(35,35);
+
114 QPixmap preview;
+
115 QPushButton* CircleButton;
+
116 QPushButton* FloodFillButton;
+
117 QPushButton* LineButton;
+
118 QPushButton* PenButton;
+
119 QPushButton* PlainButton;
+
120 QPushButton* PolygonButton;
+
121 QPushButton* RectangleButton;
+
122 QLabel* WidthLine;
+
123 QLabel* innerAlphaLine;
+
124 QLineEdit* EditLineWidth;
+
125 QLineEdit* EditLineInnerAlpha;
+
126 QIntValidator* ValidatorLineWidth;
+
127 QIntValidator* ValidatorInnerAlpha;
+
128 
+
129 QPushButton* FirstColorButton;
+
130 QPushButton* SecondColorButton;
+
131 QPushButton* SwitchColorButton;
+
132 
+
133 QLabel* ActiveLayerLine;
+
134 QLabel* ActiveLayerImageLabel;
+
135 
+
136 // The menu widgets
+
137 QMenu*saveAsMenu;
+
138 QMenu*fileMenu;
+
139 QMenu*renderMenu;
+
140 QMenu*optionMenu;
+
141 QMenu*layerCreationMenu;
+
142 QMenu*layerMenu;
+
143 QMenu*colorMenu;
+
144 QMenu*toolCreationMenu;
+
145 QMenu*toolSettingsMenu;
+
146 QMenu*toolMenu;
+
147 QMenu*helpMenu;
148 
-
149 // color Picker actions
-
150 QAction*actionColorPickerFirstColor;
-
151 QAction*actionColorPickerSecondColor;
-
152 QAction*actionColorSwap;
+
149 // All the actions that can occur
+
150 // meta image actions (need further modularisation)
+
151 QAction* actionOpen;
+
152 QAction* actionExit;
153 
-
154 // tool actions
-
155 QAction*actionCreatePenTool;
-
156 QAction*actionCreatePlainTool;
-
157 QAction*actionCreateLineTool;
-
158 QAction*actionCreateRectangleTool;
-
159 QAction*actionCreateCircleTool;
-
160 QAction*actionCreatePolygonTool;
-
161 QAction*actionCreateFloodFillTool;
+
154 //Rendersetting actions
+
155 QAction*actionUpdateRenderSettingsOn;
+
156 QAction*actionUpdateRenderSettingsOff;
+
157 
+
158 // color Picker actions
+
159 QAction* actionColorPickerFirstColor;
+
160 QAction* actionColorPickerSecondColor;
+
161 QAction* actionColorSwap;
162 
-
163 // dialog actions
-
164 QAction*actionAboutDialog;
-
165 QAction*actionAboutQtDialog;
-
166 
-
167 // layer change actions
-
168 QAction* actionCreateNewRasterLayer;
-
169 QAction* actionCreateNewShapedLayer;
-
170 QAction* actionDeleteLayer;
-
171 QAction* actionSetActiveLayer;
-
172 QAction* actionSetActiveAlpha;
-
173 QAction* actionSetPolygon;
-
174 QAction* actionMovePositionUp;
-
175 QAction* actionMovePositionDown;
-
176 QAction* actionMovePositionLeft;
-
177 QAction* actionMovePositionRight;
-
178 QAction* actionMoveLayerUp;
-
179 QAction* actionMoveLayerDown;
-
180 
-
181 // Actions tied to specific file formats
-
182 QList<QAction*> actionSaveAs;
-
183 
-
184 QAction* actionSetWidth;
-
185 QAction* actionSetInnerAlpha;
-
186 
-
187 // main GUI elements
-
188 QWidget* centralGuiWidget;
-
189 QGridLayout* mainLayout;
-
190 };
-
191 
-
192 #endif
+
163 // tool actions
+
164 QAction* actionCreatePenTool;
+
165 QAction* actionCreatePlainTool;
+
166 QAction* actionCreateLineTool;
+
167 QAction* actionCreateRectangleTool;
+
168 QAction* actionCreateCircleTool;
+
169 QAction* actionCreatePolygonTool;
+
170 QAction* actionCreateFloodFillTool;
+
171 
+
172 // dialog actions
+
173 QAction* actionAboutDialog;
+
174 QAction* actionAboutQtDialog;
+
175 
+
176 // layer change actions
+
177 QAction* actionCreateNewRasterLayer;
+
178 QAction* actionCreateNewShapedLayer;
+
179 QAction* actionDeleteLayer;
+
180 QAction* actionSetActiveLayer;
+
181 QAction* actionSetActiveAlpha;
+
182 QAction* actionSetPolygon;
+
183 QAction* actionMovePositionUp;
+
184 QAction* actionMovePositionDown;
+
185 QAction* actionMovePositionLeft;
+
186 QAction* actionMovePositionRight;
+
187 QAction* actionMoveLayerUp;
+
188 QAction* actionMoveLayerDown;
+
189 
+
190 // Actions tied to specific file formats
+
191 QList<QAction*> actionSaveAs;
+
192 
+
193 QAction* actionSetWidth;
+
194 QAction* actionSetInnerAlpha;
+
195 
+
196 // main GUI elements
+
197 QWidget* centralGuiWidget;
+
198 QGridLayout* mainLayout;
+
199 };
+
200 
+
201 #endif
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
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...
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
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)
-
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliColorPicker manages the selected colors for one whole project.
+
virtual ~IntelliRasterImage() override
An Destructor.
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
-
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:47
+
bool fastRenderering
fastRendering is the flag that represents the usage of 8bit pictures.
Definition: IntelliImage.h:51
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
-
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:42
+
ImageType TypeOfImage
The Type, an Image is.
Definition: IntelliImage.h:46
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+
QImage imageData
The underlying image data.
Definition: IntelliImage.h:41
+
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
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.
+
The IntelliRasterImage manages a RASTERIMAGE.
virtual ~IntelliRasterImage() override
An Destructor.
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
+ +
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
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.
+
The IntelliRasterImage manages a RASTERIMAGE.
- +
bool isFastRenderering()
The getfastRenderer gets the value of the flag for the fastRenderer setting.
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
+
virtual QImage getDisplayable(const QSize &displaySize, int alpha=255) override
A function returning the displayable ImageData in a requested transparence and size.
-
The IntelliShapedImage manages a Shapedimage.
+
The IntelliShapedImage manages a Shapedimage.
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
virtual std::vector< QPoint > getPolygonData() override
A function that returns the Polygondata if existent.
-
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual std::vector< QPoint > getPolygonData() override
A function that returns the Polygondata if existent.
+ +
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
std::vector< QPoint > polygonData
The Vertices of The Polygon. Needs to be a planar Polygon.
IntelliShapedImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliShapedImage. Given the Image dimensions.
virtual ~IntelliShapedImage() override
An Destructor.
-
The IntelliRasterImage manages a RASTERIMAGE.
+
The IntelliRasterImage manages a RASTERIMAGE.
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
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:45
- -
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
-
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:130
-
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:22
-
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:59
-
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
- -
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.
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+ +
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
+ +
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
virtual std::vector< QPoint > getPolygonData()
A function that returns the Polygondata if existent.
Definition: IntelliImage.h:134
+
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:25
+
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
+
Tooltype getTooltype()
Definition: IntelliTool.cpp:99
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
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)
-
bool getIsDrawing()
+
bool getIsDrawing()
- -
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
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:4
-
QImage imageData
The underlying image data.
Definition: IntelliImage.h:37
-
IntelliImage * image
Definition: PaintingArea.h:26
+
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:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
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:48
- -
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:11
+
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:51
+ +
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:14
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
-
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
- -
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
-
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
-
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:22
-
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:59
+ +
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+ +
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
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:25
+
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
-
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
bool getIsDrawing()
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
Tooltype getTooltype()
Definition: IntelliTool.cpp:99
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
bool getIsDrawing()
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
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:4
+ -
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
-
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:48
- -
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:11
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
+
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:51
+ +
virtual ~IntelliTool()=0
An abstract Destructor.
Definition: IntelliTool.cpp:14
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas layer.
-
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:15
-
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:33
+
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:18
+
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:36
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:52
-
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.
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
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:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
QColor getSecondColor()
A function to read the secondary selected color.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
QColor getSecondColor()
A function to read the secondary selected color.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
-
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:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
+
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:25
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
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:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
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
Definition: PaintingArea.h:26
+
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)
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
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:48
+
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:51
- -
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+ +
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_source.html b/docs/html/_intelli_tool_circle_8h_source.html index c75d116..2102f4e 100644 --- a/docs/html/_intelli_tool_circle_8h_source.html +++ b/docs/html/_intelli_tool_circle_8h_source.html @@ -92,48 +92,54 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
4 
5 #include "QColor"
6 #include "QPoint"
- -
15 void drawCircle(int radius);
-
16 
-
20 QPoint centerPoint;
+
7 
+
8 //for unit testing
+
9 class UnitTest;
+
10 
+ +
15  friend UnitTest;
+
20 void drawCircle(int radius);
21 
-
22 public:
- -
29 
-
33 virtual ~IntelliToolCircle() override;
+
25 QPoint centerPoint;
+
26 
+
27 public:
+
34 
-
40 virtual void onMouseRightPressed(int x, int y) override;
-
41 
-
47 virtual void onMouseRightReleased(int x, int y) override;
-
48 
-
54 virtual void onMouseLeftPressed(int x, int y) override;
-
55 
-
61 virtual void onMouseLeftReleased(int x, int y) override;
-
62 
-
67 virtual void onWheelScrolled(int value) override;
-
68 
-
74 virtual void onMouseMoved(int x, int y) override;
-
75 };
-
76 
-
77 #endif
+
38 virtual ~IntelliToolCircle() override;
+
39 
+
45 virtual void onMouseRightPressed(int x, int y) override;
+
46 
+
52 virtual void onMouseRightReleased(int x, int y) override;
+
53 
+
59 virtual void onMouseLeftPressed(int x, int y) override;
+
60 
+
66 virtual void onMouseLeftReleased(int x, int y) override;
+
67 
+
72 virtual void onWheelScrolled(int value) override;
+
73 
+
79 virtual void onMouseMoved(int x, int y) override;
+
80 };
+
81 
+
82 #endif
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:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing the edge Width relative to value.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
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:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
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...
+
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 IntelliToolCircle class represents a tool to draw a circle.
+
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.
-
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
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.
+
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.
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:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolFloodFill() override
A Destructor.
-
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:22
-
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:59
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
- -
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
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:25
+
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
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
- -
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
virtual QColor getPixelColor(QPoint &point)
A function that returns the pixelcolor at a certain point.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
IntelliImage * image
Definition: PaintingArea.h:26
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
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:46
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:48
- +
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:51
+ -
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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:45
+
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
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:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolFloodFill() override
A Destructor.
-
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
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.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
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 IntelliToolFloodFill class represents a tool to flood FIll a certian area.
+ -
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
virtual ~IntelliToolLine() override
An abstract Destructor.
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
+
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 onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
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:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
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:25
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
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.
void setLineWidth(int LineWidth)
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
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:48
- -
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
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:51
+ +
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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:45
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual ~IntelliToolLine() override
An abstract Destructor.
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Clearing the canvas.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
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 IntelliToolFloodFill class represents a tool to draw a line.
+ +
The IntelliToolFloodFill class represents a tool to draw a line.
-
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
virtual ~IntelliToolPen() override
A Destructor.
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.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
-
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:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
+
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:25
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the drawing to the active layer.
-
QColor getFirstColor()
A function to read the primary selected color.
+
QColor getFirstColor()
A function to read the primary selected color.
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. Reading the penWidth.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
The IntelliColorPicker manages the selected colors for one whole project.
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
void setLineWidth(int LineWidth)
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Starting the drawing procedure.
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:48
- +
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:51
+ -
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
virtual ~IntelliToolPen() override
A Destructor.
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
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.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
The IntelliToolPen class represents a tool to draw a line.
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
The IntelliToolPen class represents a tool to draw a line.
virtual void onWheelScrolled(int value) override
A function managing the scroll event. Changing penWidth relativ to value.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual void onMouseLeftReleased(int x, int y) override
A function managing the left click released of a mouse. Merging the drawing to the active layer.
IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. Reading the penWidth.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
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.
- + -
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
+
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:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
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.
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.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
-
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:22
+
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:25
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
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 void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
virtual ~IntelliToolPlainTool() override
A Destructor.
-
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:48
- -
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
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:51
+ +
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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:45
-
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
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.
-
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Filling the whole canvas.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
The IntelliColorPicker manages the selected colors for one whole project.
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
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.
- + -
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:15
-
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:33
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
-
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 onMouseRightPressed(int x, int y)
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....
Definition: IntelliTool.cpp:18
+
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:36
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
virtual void drawPixel(const QPoint &p1, const QColor &color)
A funtcion used to draw a pixel on the Image with the given Color.
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 ...
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
QColor getSecondColor()
A function to read the secondary selected color.
-
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:37
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
QColor getSecondColor()
A function to read the secondary selected color.
+
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:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
-
virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)
A.
-
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:22
-
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:59
+
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:25
+
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
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
-
IntelliImage::ImageType getTypeOfImageRealLayer()
- -
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
+
IntelliImage::ImageType getTypeOfImageRealLayer()
+
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
-
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
-
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
virtual void setImageData(const QImage &newData)
setImageData overwrites the old imageData the new imageData.
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
QColor getFirstColor()
A function to read the primary selected color.
- -
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
-
Tooltype ActiveType
Definition: IntelliTool.h:47
-
The IntelliColorPicker manages the selected colors for one whole project.
+
QColor getFirstColor()
A function to read the primary selected color.
+
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
+
Tooltype ActiveType
Definition: IntelliTool.h:52
+
The IntelliColorPicker manages the selected colors for one whole project.
~IntelliToolPolygon() override
A Destructor.
-
IntelliImage * image
Definition: PaintingArea.h:26
-
std::vector< QPoint > getPolygonDataOfRealLayer()
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
std::vector< QPoint > getPolygonDataOfRealLayer()
void setLineWidth(int LineWidth)
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
-
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
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.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
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.
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:48
- -
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
+
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
+
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:51
+ +
virtual void onWheelScrolled(int value) override
A function managing the scroll event. CHanging the lineWidth relative to value.
virtual void setPolygon(const std::vector< QPoint > &polygonData)=0
An abstract function that sets the data of the visible Polygon, if needed.
-
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
-
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:45
-
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:37
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
+
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:53
IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)
A constructor setting the general paintingArea and colorPicker.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
virtual void onMouseRightPressed(int x, int y) override
A function managing the right click pressed of a mouse. Resetting the current fill.
+
The IntelliColorPicker manages the selected colors for one whole project.
~IntelliToolPolygon() override
A Destructor.
+
virtual void onMouseLeftPressed(int x, int y) override
A function managing the left click pressed of a mouse. Setting polygon points.
-
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
-
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.
+
virtual void onMouseRightReleased(int x, int y) override
A function managing the right click released of a mouse.
+
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.
- -
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 the lineWidth relative to value.
virtual void onWheelScrolled(int value) override
A function managing the scroll event.Changing edgeWidth relativ to value.
-
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:15
-
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:33
+
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:18
+
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:36
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:52
-
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
+
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 onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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...
-
QColor getSecondColor()
A function to read the secondary selected color.
+
QColor getSecondColor()
A function to read the secondary selected color.
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:37
-
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:69
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
bool isDrawing
A flag checking if the user is currently drawing or not.
Definition: IntelliTool.h:74
-
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:22
-
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:64
+
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:25
+
LayerObject * Canvas
A pointer to the drawing canvas of the tool, work on this.
Definition: IntelliTool.h:69
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
-
QColor getFirstColor()
A function to read the primary selected color.
-
Tooltype ActiveType
Definition: IntelliTool.h:47
+
QColor getFirstColor()
A function to read the primary selected color.
+
Tooltype ActiveType
Definition: IntelliTool.h:52
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
The IntelliColorPicker manages the selected colors for one whole project.
-
IntelliImage * image
Definition: PaintingArea.h:26
+
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
void setLineWidth(int LineWidth)
-
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
+
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
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.
-
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:48
- -
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
+
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:51
+ +
virtual void drawPlain(const QColor &color)
A function that clears the whole image in a given Color.
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
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:52
+
IntelliColorPicker * colorPicker
A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
Definition: IntelliTool.h:57
-
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:54
+
IntelliToolsettings * Toolsettings
Definition: IntelliTool.h:59
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:45
+
PaintingArea * Area
A pointer to the general PaintingArea to interact with.
Definition: IntelliTool.h:50
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:37
-
The IntelliToolRectangle class represents a tool to draw a rectangle.
-
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
The IntelliToolRectangle class represents a tool to draw a rectangle.
+
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
virtual void onMouseMoved(int x, int y) override
A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.
-
The IntelliColorPicker manages the selected colors for one whole project.
+
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.
- +
IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)
A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...
void setInnerAlpha(int innerAlpha)
+
void setLineWidth(int LineWidth)
- + -
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
+
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
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 ...
- +
#define pi
- -
The Triangle struct holds the 3 vertices of a triangle.
-
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
- + +
The Triangle struct holds the 3 vertices of a triangle.
+ +
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
- - - + + +
std::vector< TriangleIntelliTriangulation::calculateTriangles (std::vector< QPoint > polyPoints)
 A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by clipping ears of a planar graph. More...
 
bool IntelliTriangulation::isInPolygon (std::vector< Triangle > &triangles, QPoint &point)
 A function to check if a point lies in a polygon by checking its spanning triangles. More...
 
bool IntelliTriangulation::isInPolygon (const std::vector< Triangle > &triangles, QPoint &point)
 A function to check if a point lies in a polygon by checking its spanning triangles. More...
 
diff --git a/docs/html/_intelli_triangulation_8h.js b/docs/html/_intelli_triangulation_8h.js index 0384860..1dfa6d3 100644 --- a/docs/html/_intelli_triangulation_8h.js +++ b/docs/html/_intelli_triangulation_8h.js @@ -2,7 +2,7 @@ var _intelli_triangulation_8h = [ [ "Triangle", "struct_triangle.html", "struct_triangle" ], [ "calculateTriangles", "_intelli_triangulation_8h.html#acdaf1ed598e868b25e9e06d580da32e5", null ], - [ "isInPolygon", "_intelli_triangulation_8h.html#a00621e2d8708fe2e8966d7d79b64e186", null ], + [ "isInPolygon", "_intelli_triangulation_8h.html#ac276696f29d141ed34614c1c3b1c040f", null ], [ "isInTriangle", "_intelli_triangulation_8h.html#ac150fee67fd41a451bd2592f10e00197", null ], [ "sign", "_intelli_triangulation_8h.html#af9af549a7faff35a74c1265b290ea0ca", null ] ]; \ No newline at end of file diff --git a/docs/html/_intelli_triangulation_8h_source.html b/docs/html/_intelli_triangulation_8h_source.html index c2d0d08..3a7b7a2 100644 --- a/docs/html/_intelli_triangulation_8h_source.html +++ b/docs/html/_intelli_triangulation_8h_source.html @@ -89,50 +89,54 @@ $(document).ready(function(){initNavTree('_intelli_triangulation_8h_source.html' Go to the documentation of this file.
1 #ifndef INTELLITRIANGULATION_H
2 #define INTELLITRIANGULATION_H
3 
-
4 #include <QPoint>
-
5 #include <vector>
+
4 //for unit testing
+
5 class UnitTest;
6 
-
10 struct Triangle {
-
11  QPoint A,B,C;
-
12 };
-
13 
-
14 namespace IntelliTriangulation {
-
15 
-
23 inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
-
24  return (p1.x() - p3.x()) * (p2.y() - p3.y()) - (p2.x() - p3.x()) * (p1.y() - p3.y());
-
25 }
-
26 
-
33 inline bool isInTriangle(Triangle& tri, QPoint& P){
-
34  float val1, val2, val3;
-
35  bool neg, pos;
-
36 
-
37  val1 = IntelliTriangulation::sign(P,tri.A,tri.B);
-
38  val2 = IntelliTriangulation::sign(P,tri.B,tri.C);
-
39  val3 = IntelliTriangulation::sign(P,tri.C,tri.A);
-
40 
-
41  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);
-
42  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);
+
7 #include <QPoint>
+
8 #include <vector>
+
9 
+
13 struct Triangle {
+
14  QPoint A,B,C;
+
15 };
+
16 
+
17 namespace IntelliTriangulation {
+
18 
+
26 inline float sign(QPoint& p1, QPoint& p2, QPoint& p3){
+
27  return (p1.x() - p3.x()) * (p2.y() - p3.y()) - (p2.x() - p3.x()) * (p1.y() - p3.y());
+
28 }
+
29 
+
36 inline bool isInTriangle(Triangle& tri, QPoint& P){
+
37  float val1, val2, val3;
+
38  bool neg, pos;
+
39 
+
40  val1 = IntelliTriangulation::sign(P,tri.A,tri.B);
+
41  val2 = IntelliTriangulation::sign(P,tri.B,tri.C);
+
42  val3 = IntelliTriangulation::sign(P,tri.C,tri.A);
43 
-
44  return !(neg && pos);
-
45 }
+
44  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);
+
45  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);
46 
-
52 std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
-
53 
-
60 bool isInPolygon(std::vector<Triangle> &triangles, QPoint &point);
-
61 }
-
62 
-
63 #endif
+
47  return !(neg && pos);
+
48 }
+
49 
+
55 std::vector<Triangle> calculateTriangles(std::vector<QPoint> polyPoints);
+
56 
+
63 bool isInPolygon(const std::vector<Triangle> &triangles, QPoint &point);
+
64 }
+
65 
+
66 #endif
-
IntelliTriangulation::isInTriangle
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
Definition: IntelliTriangulation.h:33
-
IntelliTriangulation::sign
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
Definition: IntelliTriangulation.h:23
+
IntelliTriangulation::isInTriangle
bool isInTriangle(Triangle &tri, QPoint &P)
A function to check if a given point is in a triangle.
Definition: IntelliTriangulation.h:36
+
IntelliTriangulation::sign
float sign(QPoint &p1, QPoint &p2, QPoint &p3)
A function to get the 2*area of a traingle, using its determinat.
Definition: IntelliTriangulation.h:26
IntelliTriangulation::calculateTriangles
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 ...
Definition: IntelliTriangulation.cpp:7
-
Triangle::B
QPoint B
Definition: IntelliTriangulation.h:11
-
Triangle::C
QPoint C
Definition: IntelliTriangulation.h:11
-
Triangle
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliTriangulation.h:10
-
IntelliTriangulation::isInPolygon
bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliTriangulation.cpp:116
-
IntelliTriangulation
Definition: IntelliTriangulation.h:14
-
Triangle::A
QPoint A
Definition: IntelliTriangulation.h:11
+
Triangle::B
QPoint B
Definition: IntelliTriangulation.h:14
+
Triangle::C
QPoint C
Definition: IntelliTriangulation.h:14
+
Triangle
The Triangle struct holds the 3 vertices of a triangle.
Definition: IntelliTriangulation.h:13
+
IntelliTriangulation
Definition: IntelliTriangulation.h:17
+
Triangle::A
QPoint A
Definition: IntelliTriangulation.h:14
+
UnitTest
Definition: mainUnitTest.cpp:8
+
IntelliTriangulation::isInPolygon
bool isInPolygon(const std::vector< Triangle > &triangles, QPoint &point)
A function to check if a point lies in a polygon by checking its spanning triangles.
Definition: IntelliTriangulation.cpp:116
-
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:225
+
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:235
IntelliTool::Tooltype::PEN
@ PEN
-
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:211
-
IntelliTool::onMouseRightPressed
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:15
-
IntelliTool::onMouseLeftReleased
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:33
+
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:221
+
IntelliTool::onMouseRightPressed
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:18
+
IntelliTool::onMouseLeftReleased
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:36
PaintingArea::setRenderSettings
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
Definition: PaintingArea.cpp:34
-
PaintingArea::getImageOfActiveLayer
IntelliImage * getImageOfActiveLayer()
Definition: PaintingArea.cpp:417
-
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:284
-
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:206
+
PaintingArea::getImageOfActiveLayer
IntelliImage * getImageOfActiveLayer()
Definition: PaintingArea.cpp:416
+
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:294
+
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:216
IntelliToolPolygon.h
-
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:26
-
PaintingArea::getMaxWidth
int getMaxWidth()
Definition: PaintingArea.cpp:233
+
IntelliTool::onMouseLeftPressed
virtual void onMouseLeftPressed(int x, int y)
A function managing the left click Pressed of a Mouse. Resetting the current draw....
Definition: IntelliTool.cpp:29
+
PaintingArea::getMaxWidth
int getMaxWidth()
Definition: PaintingArea.cpp:243
IntelliShapedImage.h
-
PaintingArea::save
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:131
-
PaintingArea::setLayerAlpha
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:102
+
PaintingArea::save
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:141
+
PaintingArea::setLayerAlpha
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:110
IntelliTool::Tooltype::FLOODFILL
@ FLOODFILL
-
PaintingArea::setLayerActive
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:95
-
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:29
-
PaintingArea::getMaxHeight
int getMaxHeight()
Definition: PaintingArea.cpp:237
-
PaintingArea::deleteLayer
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
Definition: PaintingArea.cpp:73
-
IntelliToolPlainTool
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
Definition: IntelliToolPlain.h:9
-
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
-
IntelliShapedImage
The IntelliShapedImage manages a Shapedimage.
Definition: IntelliShapedImage.h:10
-
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
-
LayerObject::heightOffset
int heightOffset
Definition: PaintingArea.h:30
-
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:229
+
PaintingArea::setLayerActive
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:103
+
LayerObject::widthOffset
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
PaintingArea::getMaxHeight
int getMaxHeight()
Definition: PaintingArea.cpp:247
+
PaintingArea::deleteLayer
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
Definition: PaintingArea.cpp:81
+
IntelliToolPlainTool
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
Definition: IntelliToolPlain.h:13
+
IntelliColorPicker::setSecondColor
void setSecondColor(QColor Color)
A function to set the secondary color.
Definition: IntelliColorPicker.cpp:28
+
IntelliShapedImage
The IntelliShapedImage manages a Shapedimage.
Definition: IntelliShapedImage.h:13
+
IntelliColorPicker::getSecondColor
QColor getSecondColor()
A function to read the secondary selected color.
Definition: IntelliColorPicker.cpp:20
+
LayerObject::heightOffset
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:239
IntelliToolFloodFill.h
IntelliImage::getDisplayable
virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0
A function returning the displayable ImageData in a requested transparence and size.
-
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:196
-
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:299
-
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
-
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:191
+
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:206
+
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:309
+
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:201
IntelliToolPlain.h
-
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:252
+
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:262
IntelliRasterImage.h
-
LayerObject::alpha
int alpha
Definition: PaintingArea.h:31
-
IntelliToolRectangle
The IntelliToolRectangle class represents a tool to draw a rectangle.
Definition: IntelliToolRectangle.h:11
-
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:201
+
LayerObject::alpha
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
IntelliToolRectangle
The IntelliToolRectangle class represents a tool to draw a rectangle.
Definition: IntelliToolRectangle.h:15
+
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:211
IntelliToolLine.h
-
IntelliToolPen
The IntelliToolPen class represents a tool to draw a line.
Definition: IntelliToolPen.h:11
-
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:182
-
IntelliTool::onMouseRightReleased
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:22
-
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:177
+
IntelliToolPen
The IntelliToolPen class represents a tool to draw a line.
Definition: IntelliToolPen.h:14
+
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:192
+
IntelliTool::onMouseRightReleased
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:25
+
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:187
IntelliTool::Tooltype::PLAIN
@ PLAIN
IntelliTool::Tooltype::POLYGON
@ POLYGON
-
IntelliTool::getTooltype
Tooltype getTooltype()
Definition: IntelliTool.cpp:96
-
PaintingArea::getTypeOfImageRealLayer
IntelliImage::ImageType getTypeOfImageRealLayer()
Definition: PaintingArea.cpp:241
-
LayerObject::width
int width
Definition: PaintingArea.h:27
+
IntelliTool::getTooltype
Tooltype getTooltype()
Definition: IntelliTool.cpp:99
+
PaintingArea::getTypeOfImageRealLayer
IntelliImage::ImageType getTypeOfImageRealLayer()
Definition: PaintingArea.cpp:251
+
LayerObject::width
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
IntelliToolRectangle.h
IntelliRenderSettings::isFastRenderering
bool isFastRenderering()
The getfastRenderer gets the value of the flag for the fastRenderer setting.
Definition: IntelliRenderSettings.cpp:12
PaintingArea::~PaintingArea
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
Definition: PaintingArea.cpp:30
-
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:271
-
PaintingArea::getNumberOfActiveLayer
int getNumberOfActiveLayer()
Definition: PaintingArea.cpp:413
-
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
-
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
+
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:281
+
PaintingArea::getNumberOfActiveLayer
int getNumberOfActiveLayer()
Definition: PaintingArea.cpp:412
+
IntelliColorPicker::setFirstColor
void setFirstColor(QColor Color)
A function to set the primary color.
Definition: IntelliColorPicker.cpp:24
+
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
IntelliImage::ImageType::SHAPEDIMAGE
@ SHAPEDIMAGE
-
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:88
+
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:96
IntelliPhotoGui::setToolWidth
void setToolWidth(int value)
Definition: IntelliPhotoGui.cpp:790
-
PaintingArea::open
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:119
-
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:215
-
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:160
-
PaintingArea::colorPicker
IntelliColorPicker colorPicker
Definition: PaintingArea.h:182
+
PaintingArea::open
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:129
+
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:225
+
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:170
+
PaintingArea::colorPicker
IntelliColorPicker colorPicker
Definition: PaintingArea.h:202
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
Definition: PaintingArea.cpp:22
-
IntelliTool::getIsDrawing
bool getIsDrawing()
Definition: IntelliTool.cpp:100
+
IntelliTool::getIsDrawing
bool getIsDrawing()
Definition: IntelliTool.cpp:103
PaintingArea.h
-
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
-
LayerObject::height
int height
Definition: PaintingArea.h:28
-
PaintingArea::getImageDataOfActiveLayer
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
Definition: PaintingArea.cpp:424
-
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:220
-
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:170
-
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:314
+
IntelliColorPicker::getFirstColor
QColor getFirstColor()
A function to read the primary selected color.
Definition: IntelliColorPicker.cpp:16
+
LayerObject::height
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
PaintingArea::getImageDataOfActiveLayer
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
Definition: PaintingArea.cpp:423
+
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:230
+
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:180
+
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:324
IntelliRenderSettings::setFastRendering
void setFastRendering(bool Updatedsetting)
setFastRendering sets fastRendering to Updatedsetting.
Definition: IntelliRenderSettings.cpp:8
IntelliPhotoGui::UpdateGui
void UpdateGui()
Definition: IntelliPhotoGui.cpp:799
IntelliImage::ImageType::RASTERIMAGE
@ RASTERIMAGE
IntelliTool::Tooltype::RECTANGLE
@ RECTANGLE
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:26
+
LayerObject::image
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
IntelliImage::loadImage
virtual bool loadImage(const QString &filePath)
A function that loads and sclaes an image to the fitting dimensions.
Definition: IntelliImage.cpp:22
-
PaintingArea::getPolygonDataOfRealLayer
std::vector< QPoint > getPolygonDataOfRealLayer()
Definition: PaintingArea.cpp:245
-
PaintingArea::Toolsettings
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:325
-
PaintingArea::setPolygon
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
Definition: PaintingArea.cpp:107
+
PaintingArea::getPolygonDataOfRealLayer
std::vector< QPoint > getPolygonDataOfRealLayer()
Definition: PaintingArea.cpp:255
+
PaintingArea::Toolsettings
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
PaintingArea::setPolygon
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
Definition: PaintingArea.cpp:117
IntelliTool::Tooltype::LINE
@ LINE
-
IntelliColorPicker::swapColors
void swapColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
-
IntelliToolFloodFill
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
Definition: IntelliToolFloodFill.h:10
-
PaintingArea::colorPickerSwapColors
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:187
+
IntelliColorPicker::swapColors
void swapColors()
A function switching primary and secondary color.
Definition: IntelliColorPicker.cpp:12
+
IntelliToolFloodFill
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
Definition: IntelliToolFloodFill.h:14
+
PaintingArea::colorPickerSwapColors
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:197
IntelliToolPen.h
-
IntelliToolCircle
The IntelliToolCircle class represents a tool to draw a circle.
Definition: IntelliToolCircle.h:10
-
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:154
-
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:43
-
IntelliToolPolygon
The IntelliToolPolygon managed the Drawing of Polygonforms.
Definition: IntelliToolPolygon.h:11
+
IntelliToolCircle
The IntelliToolCircle class represents a tool to draw a circle.
Definition: IntelliToolCircle.h:14
+
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:164
+
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
IntelliTool::onMouseMoved
virtual void onMouseMoved(int x, int y)
A function managing the mouse moved event. Call this in child classes!
Definition: IntelliTool.cpp:46
+
IntelliToolPolygon
The IntelliToolPolygon managed the Drawing of Polygonforms.
Definition: IntelliToolPolygon.h:15
IntelliImage::calculateVisiblity
virtual void calculateVisiblity()=0
An abstract function that calculates the visiblity of the Image data if needed.
-
IntelliTool::onWheelScrolled
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:48
-
IntelliRasterImage
The IntelliRasterImage manages a RASTERIMAGE.
Definition: IntelliRasterImage.h:9
+
IntelliTool::onWheelScrolled
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:51
+
IntelliRasterImage
The IntelliRasterImage manages a RASTERIMAGE.
Definition: IntelliRasterImage.h:12
IntelliToolCircle.h
-
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:54
-
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
+
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:62
+
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
IntelliTool::Tooltype::CIRCLE
@ CIRCLE
-
IntelliToolLine
The IntelliToolFloodFill class represents a tool to draw a line.
Definition: IntelliToolLine.h:10
+
IntelliToolLine
The IntelliToolFloodFill class represents a tool to draw a line.
Definition: IntelliToolLine.h:13
-
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:225
-
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:211
+
PaintingArea::getWidthOfActive
int getWidthOfActive()
The getWidthOfActive gets the horizontal dimensions of the active layer.
Definition: PaintingArea.cpp:235
+
PaintingArea::createCircleTool
void createCircleTool()
Definition: PaintingArea.cpp:221
PaintingArea::setRenderSettings
void setRenderSettings(bool isFastRenderingOn)
setRenderSettings updates all Images to the new Rendersetting.
Definition: PaintingArea.cpp:34
-
PaintingArea::getImageOfActiveLayer
IntelliImage * getImageOfActiveLayer()
Definition: PaintingArea.cpp:417
-
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:284
-
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:206
+
PaintingArea::getImageOfActiveLayer
IntelliImage * getImageOfActiveLayer()
Definition: PaintingArea.cpp:416
+
PaintingArea::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:294
+
PaintingArea::createRectangleTool
void createRectangleTool()
Definition: PaintingArea.cpp:216
IntelliTool.h
-
PaintingArea::getMaxWidth
int getMaxWidth()
Definition: PaintingArea.cpp:233
+
PaintingArea::getMaxWidth
int getMaxWidth()
Definition: PaintingArea.cpp:243
IntelliShapedImage.h
IntelliImage.h
-
PaintingArea::save
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:131
-
PaintingArea::setLayerAlpha
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:102
-
IntelliRenderSettings
Definition: IntelliRenderSettings.h:5
-
PaintingArea::setLayerActive
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:95
-
LayerObject::widthOffset
int widthOffset
Definition: PaintingArea.h:29
-
PaintingArea::getMaxHeight
int getMaxHeight()
Definition: PaintingArea.cpp:237
-
PaintingArea::deleteLayer
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
Definition: PaintingArea.cpp:73
-
IntelliPhotoGui
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
Definition: IntelliPhotoGui.h:27
-
LayerObject::heightOffset
int heightOffset
Definition: PaintingArea.h:30
-
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:229
-
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:196
-
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:299
-
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:37
-
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:25
-
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:191
-
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:252
+
PaintingArea::save
bool save(const QString &filePath, const char *fileFormat)
The save method is used for exporting the current project as one picture.
Definition: PaintingArea.cpp:141
+
PaintingArea::setLayerAlpha
void setLayerAlpha(int idx, int alpha)
The setAlphaOfLayer method sets the alpha value of a specific layer.
Definition: PaintingArea.cpp:110
+
IntelliRenderSettings
Definition: IntelliRenderSettings.h:8
+
PaintingArea::setLayerActive
void setLayerActive(int idx)
The setLayerToActive method marks a specific layer as active.
Definition: PaintingArea.cpp:103
+
LayerObject::widthOffset
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
+
PaintingArea::getMaxHeight
int getMaxHeight()
Definition: PaintingArea.cpp:247
+
PaintingArea::deleteLayer
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
Definition: PaintingArea.cpp:81
+
IntelliPhotoGui
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
Definition: IntelliPhotoGui.h:32
+
LayerObject::heightOffset
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
+
PaintingArea::getHeightOfActive
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
Definition: PaintingArea.cpp:239
+
PaintingArea::createPlainTool
void createPlainTool()
Definition: PaintingArea.cpp:206
+
PaintingArea::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition: PaintingArea.cpp:309
+
PaintingArea
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
+
LayerObject
The LayerObject struct holds all the information needed to construct a layer.
Definition: PaintingArea.h:23
+
PaintingArea::createPenTool
void createPenTool()
Definition: PaintingArea.cpp:201
+
PaintingArea::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:262
IntelliRasterImage.h
-
LayerObject::alpha
int alpha
Definition: PaintingArea.h:31
-
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:201
-
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:182
-
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:177
+
LayerObject::alpha
int alpha
alpha - Stores the alpha value of the layer (default=255).
Definition: PaintingArea.h:47
+
PaintingArea::createLineTool
void createLineTool()
Definition: PaintingArea.cpp:211
+
PaintingArea::colorPickerSetSecondColor
void colorPickerSetSecondColor()
The colorPickerSetSecondColor calls the QTColorPicker to determine the secondary drawing color.
Definition: PaintingArea.cpp:192
+
PaintingArea::colorPickerSetFirstColor
void colorPickerSetFirstColor()
The colorPickerSetFirstColor calls the QTColorPicker to determine the primary drawing color.
Definition: PaintingArea.cpp:187
PaintingArea::addLayerAt
int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayerAt adds a layer to the current project/ painting area at a specific position in the layer...
IntelliColorPicker.h
-
PaintingArea::getTypeOfImageRealLayer
IntelliImage::ImageType getTypeOfImageRealLayer()
Definition: PaintingArea.cpp:241
-
LayerObject::width
int width
Definition: PaintingArea.h:27
+
PaintingArea::getTypeOfImageRealLayer
IntelliImage::ImageType getTypeOfImageRealLayer()
Definition: PaintingArea.cpp:251
+
LayerObject::width
int width
width - Stores the width of a layer in pixels.
Definition: PaintingArea.h:31
PaintingArea::~PaintingArea
~PaintingArea() override
This deconstructor is used to clear up the memory and remove the currently active window.
Definition: PaintingArea.cpp:30
-
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:271
+
PaintingArea::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition: PaintingArea.cpp:281
IntelliPhotoGui.h
-
PaintingArea::getNumberOfActiveLayer
int getNumberOfActiveLayer()
Definition: PaintingArea.cpp:413
-
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:14
-
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:88
-
PaintingArea::open
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:119
-
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:215
-
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:160
-
PaintingArea::colorPicker
IntelliColorPicker colorPicker
Definition: PaintingArea.h:182
+
PaintingArea::getNumberOfActiveLayer
int getNumberOfActiveLayer()
Definition: PaintingArea.cpp:412
+
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
+
PaintingArea::slotDeleteActiveLayer
void slotDeleteActiveLayer()
The slotDeleteActiveLayer method handles the deletion of the active layer.
Definition: PaintingArea.cpp:96
+
PaintingArea::open
bool open(const QString &filePath)
The open method is used for loading a picture into the current layer.
Definition: PaintingArea.cpp:129
+
PaintingArea::createPolygonTool
void createPolygonTool()
Definition: PaintingArea.cpp:225
+
PaintingArea::moveActiveLayer
void moveActiveLayer(int idx)
The moveActiveLayer moves the active layer to a specific position in the layer stack.
Definition: PaintingArea.cpp:170
+
PaintingArea::colorPicker
IntelliColorPicker colorPicker
Definition: PaintingArea.h:202
PaintingArea::PaintingArea
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)
PaintingArea is the constructor of the PaintingArea class, which initiates the working environment.
Definition: PaintingArea.cpp:22
-
LayerObject::height
int height
Definition: PaintingArea.h:28
-
PaintingArea::getImageDataOfActiveLayer
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
Definition: PaintingArea.cpp:424
-
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:220
-
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:170
-
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:11
-
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:314
+
LayerObject::height
int height
height - Stores the height of a layer in pixels.
Definition: PaintingArea.h:35
+
PaintingArea::getImageDataOfActiveLayer
QImage getImageDataOfActiveLayer()
getImageDataOfActiveLayer used to get the currents active imageData (if there isn't any active layer ...
Definition: PaintingArea.cpp:423
+
PaintingArea::createFloodFillTool
void createFloodFillTool()
Definition: PaintingArea.cpp:230
+
PaintingArea::slotActivateLayer
void slotActivateLayer(int a)
The slotActivateLayer method handles the event of selecting one layer as active.
Definition: PaintingArea.cpp:180
+
IntelliColorPicker
The IntelliColorPicker manages the selected colors for one whole project.
Definition: IntelliColorPicker.h:14
+
PaintingArea::paintEvent
void paintEvent(QPaintEvent *event) override
Definition: PaintingArea.cpp:324
IntelliImage::ImageType::RASTERIMAGE
@ RASTERIMAGE
-
LayerObject::image
IntelliImage * image
Definition: PaintingArea.h:26
-
PaintingArea::getPolygonDataOfRealLayer
std::vector< QPoint > getPolygonDataOfRealLayer()
Definition: PaintingArea.cpp:245
-
PaintingArea::Toolsettings
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:181
-
PaintingArea::resizeEvent
void resizeEvent(QResizeEvent *event) override
Definition: PaintingArea.cpp:325
-
PaintingArea::setPolygon
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
Definition: PaintingArea.cpp:107
-
PaintingArea::colorPickerSwapColors
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:187
-
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:154
-
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:19
-
IntelliToolsettings
Definition: IntelliToolsettings.h:4
-
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:54
-
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:26
+
UnitTest
Definition: mainUnitTest.cpp:8
+
LayerObject::image
IntelliImage * image
image - Stores the imageData of the current LayerObject.
Definition: PaintingArea.h:27
+
PaintingArea::getPolygonDataOfRealLayer
std::vector< QPoint > getPolygonDataOfRealLayer()
Definition: PaintingArea.cpp:255
+
PaintingArea::Toolsettings
IntelliToolsettings Toolsettings
Definition: PaintingArea.h:201
+
PaintingArea::setPolygon
void setPolygon(int idx)
setPolygon is used for setting polygondata, it only works on RASTER images
Definition: PaintingArea.cpp:117
+
PaintingArea::colorPickerSwapColors
void colorPickerSwapColors()
The colorPickerSwitchColor swaps the primary color with the secondary drawing color.
Definition: PaintingArea.cpp:197
+
PaintingArea::movePositionActive
void movePositionActive(int x, int y)
The movePositionActive method moves the active layer to certain position.
Definition: PaintingArea.cpp:164
+
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:22
+
IntelliToolsettings
Definition: IntelliToolsettings.h:7
+
PaintingArea::addLayer
int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, IntelliImage::ImageType type=IntelliImage::ImageType::RASTERIMAGE)
The addLayer adds a layer to the current project/ painting area.
Definition: PaintingArea.cpp:62
+
IntelliImage::ImageType
ImageType
The Types, which an Image can be.
Definition: IntelliImage.h:30
diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index 0bd7c03..e7e6e6e 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -18,5 +18,6 @@ var annotated_dup = [ "IntelliToolsettings", "class_intelli_toolsettings.html", "class_intelli_toolsettings" ], [ "LayerObject", "struct_layer_object.html", "struct_layer_object" ], [ "PaintingArea", "class_painting_area.html", "class_painting_area" ], - [ "Triangle", "struct_triangle.html", "struct_triangle" ] + [ "Triangle", "struct_triangle.html", "struct_triangle" ], + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] ]; \ No newline at end of file diff --git a/docs/html/class_intelli_color_picker.html b/docs/html/class_intelli_color_picker.html index 393deac..9eac72c 100644 --- a/docs/html/class_intelli_color_picker.html +++ b/docs/html/class_intelli_color_picker.html @@ -122,7 +122,7 @@ Public Member Functions

Detailed Description

The IntelliColorPicker manages the selected colors for one whole project.

-

Definition at line 11 of file IntelliColorPicker.h.

+

Definition at line 14 of file IntelliColorPicker.h.

Constructor & Destructor Documentation

◆ IntelliColorPicker()

@@ -141,7 +141,7 @@ Public Member Functions

IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in production.

-

Definition at line 3 of file IntelliColorPicker.cpp.

+

Definition at line 3 of file IntelliColorPicker.cpp.

@@ -170,7 +170,7 @@ Public Member Functions

IntelliColorPicker destructor clears up his used memory, if there is some.

-

Definition at line 8 of file IntelliColorPicker.cpp.

+

Definition at line 8 of file IntelliColorPicker.cpp.

@@ -193,7 +193,7 @@ Public Member Functions

A function to read the primary selected color.

Returns
Returns the primary color.
-

Definition at line 16 of file IntelliColorPicker.cpp.

+

Definition at line 16 of file IntelliColorPicker.cpp.

@@ -215,7 +215,7 @@ Public Member Functions

A function to read the secondary selected color.

Returns
Returns the secondary color.
-

Definition at line 20 of file IntelliColorPicker.cpp.

+

Definition at line 20 of file IntelliColorPicker.cpp.

@@ -243,7 +243,7 @@ Public Member Functions -

Definition at line 24 of file IntelliColorPicker.cpp.

+

Definition at line 24 of file IntelliColorPicker.cpp.

@@ -271,7 +271,7 @@ Public Member Functions -

Definition at line 28 of file IntelliColorPicker.cpp.

+

Definition at line 28 of file IntelliColorPicker.cpp.

@@ -292,13 +292,13 @@ Public Member Functions

A function switching primary and secondary color.

-

Definition at line 12 of file IntelliColorPicker.cpp.

+

Definition at line 12 of file IntelliColorPicker.cpp.


The documentation for this class was generated from the following files: diff --git a/docs/html/class_intelli_image.html b/docs/html/class_intelli_image.html index 594de07..66a4383 100644 --- a/docs/html/class_intelli_image.html +++ b/docs/html/class_intelli_image.html @@ -128,10 +128,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  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. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -192,7 +192,7 @@ Protected Attributes

Detailed Description

An abstract class which manages the basic IntelliImage operations.

-

Definition at line 19 of file IntelliImage.h.

+

Definition at line 22 of file IntelliImage.h.

Member Enumeration Documentation

◆ ImageType

@@ -220,7 +220,7 @@ Protected Attributes SHAPEDIMAGE  -

Definition at line 26 of file IntelliImage.h.

+

Definition at line 30 of file IntelliImage.h.

@@ -376,7 +376,7 @@ Protected Attributes
-

A function that draws A Line between two given Points in a given color.

+

A function that draws a line between two given points in a given color.

Parameters
@@ -387,7 +387,7 @@ Protected Attributes -

Definition at line 90 of file IntelliImage.cpp.

+

Definition at line 96 of file IntelliImage.cpp.

@@ -470,7 +470,7 @@ Protected Attributes -

Definition at line 107 of file IntelliImage.cpp.

+

Definition at line 116 of file IntelliImage.cpp.

@@ -514,17 +514,17 @@ Protected Attributes
p1- The coordinates of the first Point.
-

A.

+

A function that draws a point between on a given point in a given color.

Parameters
- - - + + +
p1
color
penWidth
p1- The coordinates of the first Point.
color- The color of the point.
penWidth- The size of the point.
-

Definition at line 74 of file IntelliImage.cpp.

+

Definition at line 77 of file IntelliImage.cpp.

@@ -668,7 +668,7 @@ Protected Attributes

getImageData returns the data of the current image (Note: It will allways return a ARGB32bit QImage!).

-

Definition at line 125 of file IntelliImage.cpp.

+

Definition at line 134 of file IntelliImage.cpp.

@@ -705,7 +705,7 @@ Protected Attributes
Returns
The color of the Pixel as QColor.
-

Definition at line 117 of file IntelliImage.cpp.

+

Definition at line 126 of file IntelliImage.cpp.

@@ -737,7 +737,7 @@ Protected Attributes

Reimplemented in IntelliShapedImage.

-

Definition at line 130 of file IntelliImage.h.

+

Definition at line 134 of file IntelliImage.h.

@@ -764,7 +764,7 @@ Protected Attributes
-

Definition at line 134 of file IntelliImage.h.

+

Definition at line 138 of file IntelliImage.h.

@@ -875,7 +875,7 @@ Protected Attributes -

Definition at line 133 of file IntelliImage.cpp.

+

Definition at line 142 of file IntelliImage.cpp.

@@ -947,7 +947,7 @@ Protected Attributes -

Definition at line 143 of file IntelliImage.cpp.

+

Definition at line 152 of file IntelliImage.cpp.

@@ -974,7 +974,7 @@ Protected Attributes

fastRendering is the flag that represents the usage of 8bit pictures.

-

Definition at line 47 of file IntelliImage.h.

+

Definition at line 51 of file IntelliImage.h.

@@ -1000,7 +1000,7 @@ Protected Attributes

The underlying image data.

-

Definition at line 37 of file IntelliImage.h.

+

Definition at line 41 of file IntelliImage.h.

@@ -1026,7 +1026,7 @@ Protected Attributes

The Type, an Image is.

-

Definition at line 42 of file IntelliImage.h.

+

Definition at line 46 of file IntelliImage.h.

diff --git a/docs/html/class_intelli_input_dialog.html b/docs/html/class_intelli_input_dialog.html index cce6da7..3ee511a 100644 --- a/docs/html/class_intelli_input_dialog.html +++ b/docs/html/class_intelli_input_dialog.html @@ -119,7 +119,7 @@ Static Public Member Functions

Detailed Description

-

Definition at line 6 of file IntelliInputDialog.h.

+

Definition at line 12 of file IntelliInputDialog.h.

Constructor & Destructor Documentation

◆ IntelliInputDialog()

@@ -177,7 +177,7 @@ Static Public Member Functions
-

Definition at line 5 of file IntelliInputDialog.cpp.

+

Definition at line 3 of file IntelliInputDialog.cpp.

@@ -246,7 +246,7 @@ Static Public Member Functions
-

Definition at line 18 of file IntelliInputDialog.cpp.

+

Definition at line 16 of file IntelliInputDialog.cpp.

@@ -273,7 +273,7 @@ Static Public Member Functions
-

Definition at line 76 of file IntelliInputDialog.cpp.

+

Definition at line 74 of file IntelliInputDialog.cpp.

@@ -300,7 +300,7 @@ Static Public Member Functions
-

Definition at line 80 of file IntelliInputDialog.cpp.

+

Definition at line 78 of file IntelliInputDialog.cpp.

diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index f0f2685..3a16fe9 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -121,7 +121,7 @@ Protected Member Functions

Detailed Description

The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program.

-

Definition at line 27 of file IntelliPhotoGui.h.

+

Definition at line 32 of file IntelliPhotoGui.h.

Constructor & Destructor Documentation

◆ IntelliPhotoGui()

diff --git a/docs/html/class_intelli_raster_image.html b/docs/html/class_intelli_raster_image.html index 6c7699b..c33fd64 100644 --- a/docs/html/class_intelli_raster_image.html +++ b/docs/html/class_intelli_raster_image.html @@ -137,10 +137,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  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. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -197,7 +197,7 @@ Additional Inherited Members

Detailed Description

The IntelliRasterImage manages a RASTERIMAGE.

-

Definition at line 9 of file IntelliRasterImage.h.

+

Definition at line 12 of file IntelliRasterImage.h.

Constructor & Destructor Documentation

◆ IntelliRasterImage()

diff --git a/docs/html/class_intelli_render_settings.html b/docs/html/class_intelli_render_settings.html index 0f69132..d0d1d39 100644 --- a/docs/html/class_intelli_render_settings.html +++ b/docs/html/class_intelli_render_settings.html @@ -105,7 +105,7 @@ Public Member Functions

Detailed Description

-

Definition at line 5 of file IntelliRenderSettings.h.

+

Definition at line 8 of file IntelliRenderSettings.h.

Constructor & Destructor Documentation

◆ IntelliRenderSettings()

diff --git a/docs/html/class_intelli_shaped_image.html b/docs/html/class_intelli_shaped_image.html index 43f1d4a..c2857a4 100644 --- a/docs/html/class_intelli_shaped_image.html +++ b/docs/html/class_intelli_shaped_image.html @@ -147,10 +147,10 @@ Public Member Functions  A funtcion used to draw a pixel on the Image with the given Color. More...
  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. More...
+ A function that draws a line between two given points in a given color. More...
  virtual void drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) - A. More...
+ A function that draws a point between on a given point in a given color. More...
  virtual void drawPlain (const QColor &color)  A function that clears the whole image in a given Color. More...
@@ -204,7 +204,7 @@ Additional Inherited Members

Detailed Description

The IntelliShapedImage manages a Shapedimage.

-

Definition at line 10 of file IntelliShapedImage.h.

+

Definition at line 13 of file IntelliShapedImage.h.

Constructor & Destructor Documentation

◆ IntelliShapedImage()

@@ -431,7 +431,7 @@ Additional Inherited Members

Reimplemented from IntelliImage.

-

Definition at line 67 of file IntelliShapedImage.h.

+

Definition at line 71 of file IntelliShapedImage.h.

@@ -496,7 +496,7 @@ Additional Inherited Members

The Vertices of The Polygon. Needs to be a planar Polygon.

-

Definition at line 27 of file IntelliShapedImage.h.

+

Definition at line 31 of file IntelliShapedImage.h.

diff --git a/docs/html/class_intelli_tool.html b/docs/html/class_intelli_tool.html index 287a8cd..3620d05 100644 --- a/docs/html/class_intelli_tool.html +++ b/docs/html/class_intelli_tool.html @@ -122,7 +122,8 @@ Public Types
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -183,7 +184,7 @@ Protected Attributes

Detailed Description

An abstract class that manages the basic events, like mouse clicks or scrolls events.

-

Definition at line 14 of file IntelliTool.h.

+

Definition at line 17 of file IntelliTool.h.

Member Enumeration Documentation

◆ Tooltype

@@ -212,9 +213,10 @@ Protected Attributes PLAIN  POLYGON  RECTANGLE  +NONE  -

Definition at line 16 of file IntelliTool.h.

+

Definition at line 20 of file IntelliTool.h.

@@ -289,7 +291,7 @@ Protected Attributes

An abstract Destructor.

-

Definition at line 11 of file IntelliTool.cpp.

+

Definition at line 14 of file IntelliTool.cpp.

@@ -309,7 +311,7 @@ Protected Attributes
-

Definition at line 100 of file IntelliTool.cpp.

+

Definition at line 103 of file IntelliTool.cpp.

@@ -328,7 +330,7 @@ Protected Attributes
-

Definition at line 96 of file IntelliTool.cpp.

+

Definition at line 99 of file IntelliTool.cpp.

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

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

-

Definition at line 26 of file IntelliTool.cpp.

+

Definition at line 29 of file IntelliTool.cpp.

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

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

-

Definition at line 33 of file IntelliTool.cpp.

+

Definition at line 36 of file IntelliTool.cpp.

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

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

-

Definition at line 43 of file IntelliTool.cpp.

+

Definition at line 46 of file IntelliTool.cpp.

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

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

-

Definition at line 15 of file IntelliTool.cpp.

+

Definition at line 18 of file IntelliTool.cpp.

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

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

-

Definition at line 22 of file IntelliTool.cpp.

+

Definition at line 25 of file IntelliTool.cpp.

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

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

-

Definition at line 48 of file IntelliTool.cpp.

+

Definition at line 51 of file IntelliTool.cpp.

@@ -638,7 +640,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 59 of file IntelliTool.h.

+

Definition at line 64 of file IntelliTool.h.

@@ -662,7 +664,7 @@ Protected Attributes
-

Definition at line 47 of file IntelliTool.h.

+

Definition at line 52 of file IntelliTool.h.

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

A pointer to the general PaintingArea to interact with.

-

Definition at line 45 of file IntelliTool.h.

+

Definition at line 50 of file IntelliTool.h.

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

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

-

Definition at line 64 of file IntelliTool.h.

+

Definition at line 69 of file IntelliTool.h.

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

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

-

Definition at line 52 of file IntelliTool.h.

+

Definition at line 57 of file IntelliTool.h.

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

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

-

Definition at line 69 of file IntelliTool.h.

+

Definition at line 74 of file IntelliTool.h.

@@ -790,7 +792,7 @@ Protected Attributes
-

Definition at line 54 of file IntelliTool.h.

+

Definition at line 59 of file IntelliTool.h.

diff --git a/docs/html/class_intelli_tool.js b/docs/html/class_intelli_tool.js index bbfbb28..34404b0 100644 --- a/docs/html/class_intelli_tool.js +++ b/docs/html/class_intelli_tool.js @@ -7,7 +7,8 @@ var class_intelli_tool = [ "PEN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fad3fa1aa45b9fe56e1fc1b558d8ed6678", null ], [ "PLAIN", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faf62eb0bf5e5c72e80983fbbac1cb70e5", null ], [ "POLYGON", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8faecdc92bf56d960b73b02ee40125758bc", null ], - [ "RECTANGLE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a", null ] + [ "RECTANGLE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fa8e8e58fe94ab307a826e087028a7c01a", null ], + [ "NONE", "class_intelli_tool.html#a3fbd2584566b3cefcf3c070ae0b69d8fab50339a10e1de285ac99d4c3990b8693", null ] ] ], [ "IntelliTool", "class_intelli_tool.html#a08ef094271ce6248b42f888472463526", null ], [ "~IntelliTool", "class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2", null ], diff --git a/docs/html/class_intelli_tool_circle.html b/docs/html/class_intelli_tool_circle.html index ac2bf56..85c59e4 100644 --- a/docs/html/class_intelli_tool_circle.html +++ b/docs/html/class_intelli_tool_circle.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolCircle class represents a tool to draw a circle.

-

Definition at line 10 of file IntelliToolCircle.h.

+

Definition at line 14 of file IntelliToolCircle.h.

Constructor & Destructor Documentation

◆ IntelliToolCircle()

diff --git a/docs/html/class_intelli_tool_flood_fill.html b/docs/html/class_intelli_tool_flood_fill.html index 2a2dc9e..813458f 100644 --- a/docs/html/class_intelli_tool_flood_fill.html +++ b/docs/html/class_intelli_tool_flood_fill.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolFloodFill class represents a tool to flood FIll a certian area.

-

Definition at line 10 of file IntelliToolFloodFill.h.

+

Definition at line 14 of file IntelliToolFloodFill.h.

Constructor & Destructor Documentation

◆ IntelliToolFloodFill()

@@ -352,7 +353,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 69 of file IntelliToolFloodFill.cpp.

+

Definition at line 72 of file IntelliToolFloodFill.cpp.

@@ -401,7 +402,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 78 of file IntelliToolFloodFill.cpp.

+

Definition at line 81 of file IntelliToolFloodFill.cpp.

@@ -537,7 +538,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 73 of file IntelliToolFloodFill.cpp.

+

Definition at line 76 of file IntelliToolFloodFill.cpp.

diff --git a/docs/html/class_intelli_tool_line.html b/docs/html/class_intelli_tool_line.html index a6e71fb..c782844 100644 --- a/docs/html/class_intelli_tool_line.html +++ b/docs/html/class_intelli_tool_line.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolFloodFill class represents a tool to draw a line.

-

Definition at line 10 of file IntelliToolLine.h.

+

Definition at line 13 of file IntelliToolLine.h.

Constructor & Destructor Documentation

◆ IntelliToolLine()

diff --git a/docs/html/class_intelli_tool_pen.html b/docs/html/class_intelli_tool_pen.html index c80262c..5340bba 100644 --- a/docs/html/class_intelli_tool_pen.html +++ b/docs/html/class_intelli_tool_pen.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolPen class represents a tool to draw a line.

-

Definition at line 11 of file IntelliToolPen.h.

+

Definition at line 14 of file IntelliToolPen.h.

Constructor & Destructor Documentation

◆ IntelliToolPen()

diff --git a/docs/html/class_intelli_tool_plain_tool.html b/docs/html/class_intelli_tool_plain_tool.html index d095921..264868f 100644 --- a/docs/html/class_intelli_tool_plain_tool.html +++ b/docs/html/class_intelli_tool_plain_tool.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.

-

Definition at line 9 of file IntelliToolPlain.h.

+

Definition at line 13 of file IntelliToolPlain.h.

Constructor & Destructor Documentation

◆ IntelliToolPlainTool()

diff --git a/docs/html/class_intelli_tool_polygon-members.html b/docs/html/class_intelli_tool_polygon-members.html index 6240740..9741c30 100644 --- a/docs/html/class_intelli_tool_polygon-members.html +++ b/docs/html/class_intelli_tool_polygon-members.html @@ -98,16 +98,17 @@ $(document).ready(function(){initNavTree('class_intelli_tool_polygon.html',''); getTooltype()IntelliTool IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)IntelliTool IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings, bool isSettingPolygon=false)IntelliToolPolygon - onMouseLeftPressed(int x, int y) overrideIntelliToolPolygonvirtual - onMouseLeftReleased(int x, int y) overrideIntelliToolPolygonvirtual - onMouseMoved(int x, int y) overrideIntelliToolPolygonvirtual - onMouseRightPressed(int x, int y) overrideIntelliToolPolygonvirtual - onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual - onWheelScrolled(int value) overrideIntelliToolPolygonvirtual - ToolsettingsIntelliToolprotected - Tooltype enum nameIntelliTool - ~IntelliTool()=0IntelliToolpure virtual - ~IntelliToolPolygon() overrideIntelliToolPolygon + isDrawingIntelliToolprotected + onMouseLeftPressed(int x, int y) overrideIntelliToolPolygonvirtual + onMouseLeftReleased(int x, int y) overrideIntelliToolPolygonvirtual + onMouseMoved(int x, int y) overrideIntelliToolPolygonvirtual + onMouseRightPressed(int x, int y) overrideIntelliToolPolygonvirtual + onMouseRightReleased(int x, int y) overrideIntelliToolPolygonvirtual + onWheelScrolled(int value) overrideIntelliToolPolygonvirtual + ToolsettingsIntelliToolprotected + Tooltype enum nameIntelliTool + ~IntelliTool()=0IntelliToolpure virtual + ~IntelliToolPolygon() overrideIntelliToolPolygon diff --git a/docs/html/class_intelli_tool_polygon.html b/docs/html/class_intelli_tool_polygon.html index cc8857a..db07444 100644 --- a/docs/html/class_intelli_tool_polygon.html +++ b/docs/html/class_intelli_tool_polygon.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolPolygon managed the Drawing of Polygonforms.

-

Definition at line 11 of file IntelliToolPolygon.h.

+

Definition at line 15 of file IntelliToolPolygon.h.

Constructor & Destructor Documentation

◆ IntelliToolPolygon()

@@ -359,7 +360,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 89 of file IntelliToolPolygon.cpp.

+

Definition at line 90 of file IntelliToolPolygon.cpp.

@@ -408,7 +409,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 135 of file IntelliToolPolygon.cpp.

+

Definition at line 136 of file IntelliToolPolygon.cpp.

@@ -457,7 +458,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 81 of file IntelliToolPolygon.cpp.

+

Definition at line 82 of file IntelliToolPolygon.cpp.

@@ -506,7 +507,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 122 of file IntelliToolPolygon.cpp.

+

Definition at line 123 of file IntelliToolPolygon.cpp.

@@ -544,7 +545,7 @@ Additional Inherited Members

Reimplemented from IntelliTool.

-

Definition at line 126 of file IntelliToolPolygon.cpp.

+

Definition at line 127 of file IntelliToolPolygon.cpp.

diff --git a/docs/html/class_intelli_tool_rectangle.html b/docs/html/class_intelli_tool_rectangle.html index eb9d4b3..6053b31 100644 --- a/docs/html/class_intelli_tool_rectangle.html +++ b/docs/html/class_intelli_tool_rectangle.html @@ -153,7 +153,8 @@ Additional Inherited Members
  Tooltype::PLAIN, Tooltype::POLYGON, -Tooltype::RECTANGLE +Tooltype::RECTANGLE, +Tooltype::NONE
}   @@ -181,7 +182,7 @@ Additional Inherited Members

Detailed Description

The IntelliToolRectangle class represents a tool to draw a rectangle.

-

Definition at line 11 of file IntelliToolRectangle.h.

+

Definition at line 15 of file IntelliToolRectangle.h.

Constructor & Destructor Documentation

◆ IntelliToolRectangle()

diff --git a/docs/html/class_intelli_toolsettings.html b/docs/html/class_intelli_toolsettings.html index e73d85c..2dd77e8 100644 --- a/docs/html/class_intelli_toolsettings.html +++ b/docs/html/class_intelli_toolsettings.html @@ -109,7 +109,7 @@ Public Member Functions

Detailed Description

-

Definition at line 4 of file IntelliToolsettings.h.

+

Definition at line 7 of file IntelliToolsettings.h.

Constructor & Destructor Documentation

◆ IntelliToolsettings()

diff --git a/docs/html/class_painting_area-members.html b/docs/html/class_painting_area-members.html index 6357387..5e7e1ce 100644 --- a/docs/html/class_painting_area-members.html +++ b/docs/html/class_painting_area-members.html @@ -120,17 +120,16 @@ $(document).ready(function(){initNavTree('class_painting_area.html',''); initRes open(const QString &filePath)PaintingArea paintEvent(QPaintEvent *event) overridePaintingAreaprotected PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)PaintingArea - resizeEvent(QResizeEvent *event) overridePaintingAreaprotected - save(const QString &filePath, const char *fileFormat)PaintingArea - setLayerActive(int idx)PaintingArea - setLayerAlpha(int idx, int alpha)PaintingArea - setPolygon(int idx)PaintingArea - setRenderSettings(bool isFastRenderingOn)PaintingArea - slotActivateLayer(int a)PaintingAreaslot - slotDeleteActiveLayer()PaintingAreaslot - ToolsettingsPaintingArea - wheelEvent(QWheelEvent *event) overridePaintingAreaprotected - ~PaintingArea() overridePaintingArea + save(const QString &filePath, const char *fileFormat)PaintingArea + setLayerActive(int idx)PaintingArea + setLayerAlpha(int idx, int alpha)PaintingArea + setPolygon(int idx)PaintingArea + setRenderSettings(bool isFastRenderingOn)PaintingArea + slotActivateLayer(int a)PaintingAreaslot + slotDeleteActiveLayer()PaintingAreaslot + ToolsettingsPaintingArea + wheelEvent(QWheelEvent *event) overridePaintingAreaprotected + ~PaintingArea() overridePaintingArea diff --git a/docs/html/class_painting_area.html b/docs/html/class_painting_area.html index b1ac146..edea4b5 100644 --- a/docs/html/class_painting_area.html +++ b/docs/html/class_painting_area.html @@ -218,13 +218,11 @@ Protected Member Functions   void paintEvent (QPaintEvent *event) override   -void resizeEvent (QResizeEvent *event) override - 

Detailed Description

The PaintingArea class manages the methods and stores information about the current painting area, which is the currently opened project.

-

Definition at line 37 of file PaintingArea.h.

+

Definition at line 53 of file PaintingArea.h.

Constructor & Destructor Documentation

◆ PaintingArea()

@@ -359,7 +357,7 @@ Protected Member Functions
Returns
Returns the number of layers in the project
-

Definition at line 54 of file PaintingArea.cpp.

+

Definition at line 62 of file PaintingArea.cpp.

@@ -446,7 +444,7 @@ Protected Member Functions

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

-

Definition at line 177 of file PaintingArea.cpp.

+

Definition at line 187 of file PaintingArea.cpp.

@@ -467,7 +465,7 @@ Protected Member Functions

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

-

Definition at line 182 of file PaintingArea.cpp.

+

Definition at line 192 of file PaintingArea.cpp.

@@ -488,7 +486,7 @@ Protected Member Functions

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

-

Definition at line 187 of file PaintingArea.cpp.

+

Definition at line 197 of file PaintingArea.cpp.

@@ -507,7 +505,7 @@ Protected Member Functions
-

Definition at line 211 of file PaintingArea.cpp.

+

Definition at line 221 of file PaintingArea.cpp.

@@ -526,7 +524,7 @@ Protected Member Functions
-

Definition at line 220 of file PaintingArea.cpp.

+

Definition at line 230 of file PaintingArea.cpp.

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

Definition at line 201 of file PaintingArea.cpp.

+

Definition at line 211 of file PaintingArea.cpp.

@@ -564,7 +562,7 @@ Protected Member Functions
-

Definition at line 191 of file PaintingArea.cpp.

+

Definition at line 201 of file PaintingArea.cpp.

@@ -583,7 +581,7 @@ Protected Member Functions
-

Definition at line 196 of file PaintingArea.cpp.

+

Definition at line 206 of file PaintingArea.cpp.

@@ -602,7 +600,7 @@ Protected Member Functions
-

Definition at line 215 of file PaintingArea.cpp.

+

Definition at line 225 of file PaintingArea.cpp.

@@ -621,7 +619,7 @@ Protected Member Functions
-

Definition at line 206 of file PaintingArea.cpp.

+

Definition at line 216 of file PaintingArea.cpp.

@@ -660,7 +658,7 @@ Protected Member Functions -

Definition at line 73 of file PaintingArea.cpp.

+

Definition at line 81 of file PaintingArea.cpp.

@@ -682,7 +680,7 @@ Protected Member Functions

The getHeightOfActive gets the vertical dimensions of the active layer.

Returns
Returns the vertical pixle count of the active layer
-

Definition at line 229 of file PaintingArea.cpp.

+

Definition at line 239 of file PaintingArea.cpp.

@@ -704,7 +702,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 424 of file PaintingArea.cpp.

+

Definition at line 423 of file PaintingArea.cpp.

@@ -723,7 +721,7 @@ Protected Member Functions
-

Definition at line 417 of file PaintingArea.cpp.

+

Definition at line 416 of file PaintingArea.cpp.

@@ -742,7 +740,7 @@ Protected Member Functions
-

Definition at line 237 of file PaintingArea.cpp.

+

Definition at line 247 of file PaintingArea.cpp.

@@ -761,7 +759,7 @@ Protected Member Functions
-

Definition at line 233 of file PaintingArea.cpp.

+

Definition at line 243 of file PaintingArea.cpp.

@@ -780,7 +778,7 @@ Protected Member Functions
-

Definition at line 413 of file PaintingArea.cpp.

+

Definition at line 412 of file PaintingArea.cpp.

@@ -799,7 +797,7 @@ Protected Member Functions
-

Definition at line 245 of file PaintingArea.cpp.

+

Definition at line 255 of file PaintingArea.cpp.

@@ -818,7 +816,7 @@ Protected Member Functions
-

Definition at line 241 of file PaintingArea.cpp.

+

Definition at line 251 of file PaintingArea.cpp.

@@ -840,7 +838,7 @@ Protected Member Functions

The getWidthOfActive gets the horizontal dimensions of the active layer.

Returns
Returns the horizontal pixle count of the active layer
-

Definition at line 225 of file PaintingArea.cpp.

+

Definition at line 235 of file PaintingArea.cpp.

@@ -868,7 +866,7 @@ Protected Member Functions
-

Definition at line 271 of file PaintingArea.cpp.

+

Definition at line 281 of file PaintingArea.cpp.

@@ -896,7 +894,7 @@ Protected Member Functions
-

Definition at line 252 of file PaintingArea.cpp.

+

Definition at line 262 of file PaintingArea.cpp.

@@ -924,7 +922,7 @@ Protected Member Functions
-

Definition at line 284 of file PaintingArea.cpp.

+

Definition at line 294 of file PaintingArea.cpp.

@@ -952,7 +950,7 @@ Protected Member Functions -

Definition at line 160 of file PaintingArea.cpp.

+

Definition at line 170 of file PaintingArea.cpp.

@@ -991,7 +989,7 @@ Protected Member Functions -

Definition at line 154 of file PaintingArea.cpp.

+

Definition at line 164 of file PaintingArea.cpp.

@@ -1014,13 +1012,13 @@ Protected Member Functions

The open method is used for loading a picture into the current layer.

Parameters
- +
fileName- Path and filename which are used to determine where the to-be-opened file is stored
filePath- Path and Name which are used to determine where the to-be-opened file is stored.
-
Returns
Returns a boolean variable whether the file was successfully opened or not
+
Returns
Returns a boolean variable whether the file was successfully opened or not.
-

Definition at line 119 of file PaintingArea.cpp.

+

Definition at line 129 of file PaintingArea.cpp.

@@ -1048,35 +1046,7 @@ Protected Member Functions
-

Definition at line 314 of file PaintingArea.cpp.

- -
- - -

◆ resizeEvent()

- -
-
- - - - - -
- - - - - - - - -
void PaintingArea::resizeEvent (QResizeEvent * event)
-
-overrideprotected
-
- -

Definition at line 325 of file PaintingArea.cpp.

+

Definition at line 324 of file PaintingArea.cpp.

@@ -1109,14 +1079,14 @@ Protected Member Functions

The save method is used for exporting the current project as one picture.

Parameters
- - + +
fileName
fileFormat
filePath- Specifies the path and name of the file to create.
fileFormat- Specifies the format of the file to create.
Returns
Returns a boolean variable, true if the file was saved successfully, false if not
-

Definition at line 131 of file PaintingArea.cpp.

+

Definition at line 141 of file PaintingArea.cpp.

@@ -1144,7 +1114,7 @@ Protected Member Functions -

Definition at line 95 of file PaintingArea.cpp.

+

Definition at line 103 of file PaintingArea.cpp.

@@ -1183,7 +1153,7 @@ Protected Member Functions -

Definition at line 102 of file PaintingArea.cpp.

+

Definition at line 110 of file PaintingArea.cpp.

@@ -1211,7 +1181,7 @@ Protected Member Functions -

Definition at line 107 of file PaintingArea.cpp.

+

Definition at line 117 of file PaintingArea.cpp.

@@ -1275,7 +1245,7 @@ Protected Member Functions -

Definition at line 170 of file PaintingArea.cpp.

+

Definition at line 180 of file PaintingArea.cpp.

@@ -1304,7 +1274,7 @@ Protected Member Functions

The slotDeleteActiveLayer method handles the deletion of the active layer.

-

Definition at line 88 of file PaintingArea.cpp.

+

Definition at line 96 of file PaintingArea.cpp.

@@ -1332,7 +1302,7 @@ Protected Member Functions
-

Definition at line 299 of file PaintingArea.cpp.

+

Definition at line 309 of file PaintingArea.cpp.

@@ -1349,7 +1319,7 @@ Protected Member Functions
-

Definition at line 182 of file PaintingArea.h.

+

Definition at line 202 of file PaintingArea.h.

@@ -1365,7 +1335,7 @@ Protected Member Functions
-

Definition at line 181 of file PaintingArea.h.

+

Definition at line 201 of file PaintingArea.h.

diff --git a/docs/html/class_painting_area.js b/docs/html/class_painting_area.js index 2094528..24a7f17 100644 --- a/docs/html/class_painting_area.js +++ b/docs/html/class_painting_area.js @@ -31,7 +31,6 @@ var class_painting_area = [ "movePositionActive", "class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7", null ], [ "open", "class_painting_area.html#a88c7e759aa8375a56129791645f46ea5", null ], [ "paintEvent", "class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7", null ], - [ "resizeEvent", "class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335", null ], [ "save", "class_painting_area.html#aa2463d4f403224086acab02903ae407e", null ], [ "setLayerActive", "class_painting_area.html#a79eb059829f27e8cdb3a54c5cd3d12c9", null ], [ "setLayerAlpha", "class_painting_area.html#a6c7e0865e684ae1089ee283b4399d055", null ], diff --git a/docs/html/class_unit_test-members.html b/docs/html/class_unit_test-members.html new file mode 100644 index 0000000..4a3dd58 --- /dev/null +++ b/docs/html/class_unit_test-members.html @@ -0,0 +1,107 @@ + + + + + + + +IntelliPhoto: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
UnitTest Member List
+
+
+ +

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

+ + + + + +
UnitTest()UnitTest
UnitTest()UnitTest
~UnitTest()UnitTest
~UnitTest()UnitTest
+
+ + + + diff --git a/docs/html/class_unit_test.html b/docs/html/class_unit_test.html new file mode 100644 index 0000000..838fb6f --- /dev/null +++ b/docs/html/class_unit_test.html @@ -0,0 +1,202 @@ + + + + + + + +IntelliPhoto: UnitTest Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
IntelliPhoto +  0.5 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
UnitTest Class Reference
+
+
+
+Inheritance diagram for UnitTest:
+
+
+ +
+ + + + + + + + + + +

+Public Member Functions

 UnitTest ()
 
 ~UnitTest ()
 
 UnitTest ()
 
 ~UnitTest ()
 
+

Detailed Description

+
+

Definition at line 8 of file mainUnitTest.cpp.

+

Constructor & Destructor Documentation

+ +

◆ UnitTest() [1/2]

+ +
+
+ + + + + + + +
UnitTest::UnitTest ()
+
+ +

Definition at line 95 of file mainUnitTest.cpp.

+ +
+
+ +

◆ ~UnitTest() [1/2]

+ +
+
+ + + + + + + +
UnitTest::~UnitTest ()
+
+ +

Definition at line 108 of file mainUnitTest.cpp.

+ +
+
+ +

◆ UnitTest() [2/2]

+ +
+
+ + + + + + + +
UnitTest::UnitTest ()
+
+ +
+
+ +

◆ ~UnitTest() [2/2]

+ +
+
+ + + + + + + +
UnitTest::~UnitTest ()
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/class_unit_test.js b/docs/html/class_unit_test.js new file mode 100644 index 0000000..0a29f02 --- /dev/null +++ b/docs/html/class_unit_test.js @@ -0,0 +1,7 @@ +var class_unit_test = +[ + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ], + [ "UnitTest", "class_unit_test.html#a67ddaff817b55a624741d32550052f4b", null ], + [ "~UnitTest", "class_unit_test.html#afa0bdd3e2ac33cd52e697406339a2edf", null ] +]; \ No newline at end of file diff --git a/docs/html/class_unit_test.png b/docs/html/class_unit_test.png new file mode 100644 index 0000000..452282e Binary files /dev/null and b/docs/html/class_unit_test.png differ diff --git a/docs/html/classes.html b/docs/html/classes.html index d1cb6ea..ffab68d 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
Class Index
-
i | l | p | t
+
i | l | p | t | u
@@ -111,19 +111,22 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) - + + - + - + +
  i  
IntelliToolPolygon   
  p  
  u  
+
IntelliInputDialog    IntelliToolCircle    IntelliToolRectangle   
IntelliPhotoGui    IntelliToolFloodFill    IntelliToolsettings    PaintingArea   
UnitTest   
-
i | l | p | t
+
i | l | p | t | u
diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 88b8a1b..86f4e3b 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -104,6 +104,10 @@ Directories Files file  main.cpp [code]   +file  mainUnitTest.cpp [code] +  +file  tst_unittest.cpp [code] diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js index eee6b10..64c14e9 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -5,5 +5,11 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "IntelliHelper", "dir_8de6078cba2a961961818cf80b28fd4f.html", "dir_8de6078cba2a961961818cf80b28fd4f" ], [ "Layer", "dir_13830bfc3dd6736fe878600c9081919f.html", "dir_13830bfc3dd6736fe878600c9081919f" ], [ "Tool", "dir_858355f3357c73763e566ff49d1e6a7a.html", "dir_858355f3357c73763e566ff49d1e6a7a" ], - [ "main.cpp", "main_8cpp.html", "main_8cpp" ] + [ "main.cpp", "main_8cpp.html", "main_8cpp" ], + [ "mainUnitTest.cpp", "main_unit_test_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ], + [ "tst_unittest.cpp", "tst__unittest_8cpp.html", [ + [ "UnitTest", "class_unit_test.html", "class_unit_test" ] + ] ] ]; \ No newline at end of file diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html index a54757f..b8f1c91 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.html @@ -89,8 +89,6 @@ $(document).ready(function(){initNavTree('dir_858355f3357c73763e566ff49d1e6a7a.h - - diff --git a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js index 19d8762..c69fb83 100644 --- a/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js +++ b/docs/html/dir_858355f3357c73763e566ff49d1e6a7a.js @@ -1,6 +1,5 @@ var dir_858355f3357c73763e566ff49d1e6a7a = [ - [ "IntelliColorPicker.cpp", "_tool_2_intelli_color_picker_8cpp.html", null ], [ "IntelliTool.cpp", "_intelli_tool_8cpp.html", null ], [ "IntelliTool.h", "_intelli_tool_8h.html", [ [ "IntelliTool", "class_intelli_tool.html", "class_intelli_tool" ] diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html index 03da172..03bd1ac 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.html @@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('dir_8de6078cba2a961961818cf80b28fd4f.h

Files

file  IntelliColorPicker.cpp [code]
 
file  IntelliTool.cpp [code]
 
file  IntelliTool.h [code]
- + diff --git a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js index b339aad..88cefe4 100644 --- a/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js +++ b/docs/html/dir_8de6078cba2a961961818cf80b28fd4f.js @@ -1,6 +1,6 @@ var dir_8de6078cba2a961961818cf80b28fd4f = [ - [ "IntelliColorPicker.cpp", "_intelli_helper_2_intelli_color_picker_8cpp.html", null ], + [ "IntelliColorPicker.cpp", "_intelli_color_picker_8cpp.html", null ], [ "IntelliColorPicker.h", "_intelli_color_picker_8h.html", [ [ "IntelliColorPicker", "class_intelli_color_picker.html", "class_intelli_color_picker" ] ] ], diff --git a/docs/html/files.html b/docs/html/files.html index d8be851..987452b 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); - + @@ -114,24 +114,25 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +

Files

file  IntelliColorPicker.cpp [code]
file  IntelliColorPicker.cpp [code]
 
file  IntelliColorPicker.h [code]
 
 IntelliShapedImage.cpp
 IntelliShapedImage.h
  IntelliHelper
 IntelliColorPicker.cpp
 IntelliColorPicker.cpp
 IntelliColorPicker.h
 IntelliRenderSettings.cpp
 IntelliRenderSettings.h
 PaintingArea.cpp
 PaintingArea.h
  Tool
 IntelliColorPicker.cpp
 IntelliTool.cpp
 IntelliTool.h
 IntelliToolCircle.cpp
 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
 main.cpp
 IntelliTool.cpp
 IntelliTool.h
 IntelliToolCircle.cpp
 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
 main.cpp
 mainUnitTest.cpp
 tst_unittest.cpp
diff --git a/docs/html/functions.html b/docs/html/functions.html index e1c6880..9b6d083 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -452,9 +452,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

- r -