mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-19 23:00:34 +02:00
Restyled project for uncrustify
This commit is contained in:
@@ -110,7 +110,9 @@ public:
|
|||||||
* \brief A function that returns the Polygondata if existent.
|
* \brief A function that returns the Polygondata if existent.
|
||||||
* \return The Polygondata if existent.
|
* \return The Polygondata if existent.
|
||||||
*/
|
*/
|
||||||
virtual std::vector<QPoint> getPolygonData(){ return std::vector<QPoint>();}
|
virtual std::vector<QPoint> getPolygonData(){
|
||||||
|
return std::vector<QPoint>();
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief A function that loads and sclaes an image to the fitting dimensions.
|
* \brief A function that loads and sclaes an image to the fitting dimensions.
|
||||||
|
|||||||
@@ -64,7 +64,9 @@ public:
|
|||||||
* \brief A function that returns the Polygondata if existent.
|
* \brief A function that returns the Polygondata if existent.
|
||||||
* \return The Polygondata if existent.
|
* \return The Polygondata if existent.
|
||||||
*/
|
*/
|
||||||
virtual std::vector<QPoint> getPolygonData() override{return polygonData;}
|
virtual std::vector<QPoint> getPolygonData() override {
|
||||||
|
return polygonData;
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief A function that sets the data of the visible Polygon.
|
* \brief A function that sets the data of the visible Polygon.
|
||||||
|
|||||||
@@ -79,4 +79,3 @@ void IntelliTool::deleteToolLayer(){
|
|||||||
Area->deleteLayer(Area->activeLayer+1);
|
Area->deleteLayer(Area->activeLayer+1);
|
||||||
this->Canvas=nullptr;
|
this->Canvas=nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ IntelliToolFloodFill::~IntelliToolFloodFill(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void IntelliToolFloodFill::onMouseRightPressed(int x, int y){
|
void IntelliToolFloodFill::onMouseRightPressed(int x, int y){
|
||||||
IntelliTool::onMouseRightPressed(x,y);
|
IntelliTool::onMouseRightPressed(x,y);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ IntelliToolLine::~IntelliToolLine(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void IntelliToolLine::onMouseRightPressed(int x, int y){
|
void IntelliToolLine::onMouseRightPressed(int x, int y){
|
||||||
IntelliTool::onMouseRightPressed(x,y);
|
IntelliTool::onMouseRightPressed(x,y);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ void IntelliToolPlainTool::onMouseRightReleased(int x, int y){
|
|||||||
IntelliTool::onMouseRightReleased(x,y);
|
IntelliTool::onMouseRightReleased(x,y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void IntelliToolPlainTool::onMouseMoved(int x, int y){
|
void IntelliToolPlainTool::onMouseMoved(int x, int y){
|
||||||
IntelliTool::onMouseMoved(x,y);
|
IntelliTool::onMouseMoved(x,y);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ public:
|
|||||||
virtual void onMouseMoved(int x, int y) override;
|
virtual void onMouseMoved(int x, int y) override;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INTELLITOOLPOLYGON_H
|
#endif // INTELLITOOLPOLYGON_H
|
||||||
|
|||||||
Reference in New Issue
Block a user