Removed Rest of the // comments in headers

This commit is contained in:
2020-01-15 11:47:51 +01:00
parent 9d1159a08e
commit c4467b70b8
8 changed files with 8 additions and 15 deletions

View File

@@ -36,9 +36,6 @@ struct LayerObject {
*/ */
class PaintingArea : public QWidget class PaintingArea : public QWidget
{ {
// Declares our class as a QObject which is the base class
// for all Qt objects
// QObjects handle events
Q_OBJECT Q_OBJECT
friend IntelliTool; friend IntelliTool;
friend IntelliPhotoGui; friend IntelliPhotoGui;
@@ -181,7 +178,6 @@ IntelliToolsettings Toolsettings;
IntelliColorPicker colorPicker; IntelliColorPicker colorPicker;
public slots: public slots:
// Events to handle
/*! /*!
* \brief The slotActivateLayer method handles the event of selecting one layer as active * \brief The slotActivateLayer method handles the event of selecting one layer as active
* \param a - idx of the layer to be active * \param a - idx of the layer to be active
@@ -198,11 +194,9 @@ void mouseMoveEvent(QMouseEvent*event) override;
void mouseReleaseEvent(QMouseEvent*event) override; void mouseReleaseEvent(QMouseEvent*event) override;
void wheelEvent(QWheelEvent*event) override; void wheelEvent(QWheelEvent*event) override;
// Updates the painting area where we are painting
void paintEvent(QPaintEvent*event) override; void paintEvent(QPaintEvent*event) override;
// Makes sure the area we are drawing on remains
// as large as the widget
void resizeEvent(QResizeEvent*event) override; void resizeEvent(QResizeEvent*event) override;
private: private:
@@ -226,7 +220,6 @@ void drawLayers(bool forSaving=false);
void resizeLayer(QImage*image_res, const QSize &newSize); void resizeLayer(QImage*image_res, const QSize &newSize);
// Helper for Tool
bool createTempTopLayer(int idx); bool createTempTopLayer(int idx);
}; };

View File

@@ -74,4 +74,4 @@ virtual void onWheelScrolled(int value) override;
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLCIRCLE_H #endif

View File

@@ -64,4 +64,4 @@ virtual void onWheelScrolled(int value) override;
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLFLOODFILL_H #endif

View File

@@ -69,4 +69,4 @@ virtual void onWheelScrolled(int value) override;
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLLINE_H #endif

View File

@@ -67,4 +67,4 @@ virtual void onWheelScrolled(int value) override;
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLPEN_H #endif

View File

@@ -62,4 +62,4 @@ virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLFLOODFILLTOOL_H #endif

View File

@@ -94,4 +94,4 @@ virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLPOLYGON_H #endif

View File

@@ -73,4 +73,4 @@ virtual void onWheelScrolled(int value) override;
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLIRECTANGLETOOL_H #endif