mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
push thatv thing
This commit is contained in:
@@ -12,11 +12,11 @@ void IntelliColorPicker::swapColors(){
|
||||
std::swap(firstColor, secondColor);
|
||||
}
|
||||
|
||||
QColor IntelliColorPicker::getFirstColor(){
|
||||
QColor IntelliColorPicker::getFirstColor() const{
|
||||
return this->firstColor;
|
||||
}
|
||||
|
||||
QColor IntelliColorPicker::getSecondColor(){
|
||||
QColor IntelliColorPicker::getSecondColor() const{
|
||||
return this->secondColor;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,13 +33,13 @@ void swapColors();
|
||||
* \brief A function to read the primary selected color.
|
||||
* \return Returns the primary color.
|
||||
*/
|
||||
QColor getFirstColor();
|
||||
QColor getFirstColor() const;
|
||||
|
||||
/*!
|
||||
* \brief A function to read the secondary selected color.
|
||||
* \return Returns the secondary color.
|
||||
*/
|
||||
QColor getSecondColor();
|
||||
QColor getSecondColor() const;
|
||||
|
||||
/*!
|
||||
* \brief A function to set the primary color.
|
||||
|
||||
@@ -9,6 +9,6 @@ void IntelliRenderSettings::setFastRendering(bool Updatedsetting){
|
||||
this->fastRenderering = Updatedsetting;
|
||||
}
|
||||
|
||||
bool IntelliRenderSettings::isFastRenderering(){
|
||||
bool IntelliRenderSettings::isFastRenderering() const{
|
||||
return fastRenderering;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ void setFastRendering(bool Updatedsetting);
|
||||
* \brief The getfastRenderer gets the value of the flag for the fastRenderer setting.
|
||||
* \return Returns true if fastRenderer is active else false
|
||||
*/
|
||||
bool isFastRenderering();
|
||||
bool isFastRenderering() const;
|
||||
|
||||
private:
|
||||
bool fastRenderering = true;
|
||||
|
||||
@@ -11,7 +11,7 @@ IntelliToolsettings::~IntelliToolsettings(){
|
||||
|
||||
}
|
||||
|
||||
int IntelliToolsettings::getLineWidth(){
|
||||
int IntelliToolsettings::getLineWidth() const{
|
||||
return lineWidth;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ void IntelliToolsettings::setLineWidth(int LineWidth){
|
||||
lineWidth = LineWidth;
|
||||
}
|
||||
|
||||
int IntelliToolsettings::getInnerAlpha(){
|
||||
int IntelliToolsettings::getInnerAlpha() const{
|
||||
return this->innerAlpha;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ public:
|
||||
IntelliToolsettings();
|
||||
virtual ~IntelliToolsettings();
|
||||
|
||||
int getLineWidth();
|
||||
int getLineWidth() const;
|
||||
void setLineWidth(int LineWidth);
|
||||
|
||||
int getInnerAlpha();
|
||||
int getInnerAlpha() const;
|
||||
void setInnerAlpha(int innerAlpha);
|
||||
|
||||
private:
|
||||
|
||||
@@ -96,10 +96,10 @@ void IntelliTool::deleteToolLayer(){
|
||||
this->Canvas = nullptr;
|
||||
}
|
||||
|
||||
IntelliTool::Tooltype IntelliTool::getTooltype(){
|
||||
IntelliTool::Tooltype IntelliTool::getTooltype() const{
|
||||
return ActiveType;
|
||||
}
|
||||
|
||||
bool IntelliTool::getIsDrawing(){
|
||||
bool IntelliTool::getIsDrawing() const{
|
||||
return isDrawing;
|
||||
}
|
||||
|
||||
@@ -127,9 +127,9 @@ virtual void onWheelScrolled(int value);
|
||||
*/
|
||||
virtual void onMouseMoved(int x, int y);
|
||||
|
||||
Tooltype getTooltype();
|
||||
Tooltype getTooltype() const;
|
||||
|
||||
bool getIsDrawing();
|
||||
bool getIsDrawing() const;
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user