IntelliPhoto 0.5

IntelliColorPicker.h
Go to the documentation of this file.
1 #ifndef INTELLITOOLSETCOLORTOOL_H
2 #define INTELLITOOLSETCOLORTOOL_H
3
4 #include "QColor"
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 // INTELLITOOLSETCOLORTOOL_H
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