11 #include <ui_colorGradientDlg.h>
32 void getColors(QColor& first, QColor& second)
const;
Dialog to define a color gradient (default, with 2 colors, banding, etc.)
double getBandingFrequency() const
Returns the frequency of the gradient ('Banding' mode)
GradientType
Gradient types.
void getColors(QColor &first, QColor &second) const
Returns the two colors of the gradient ('TwoColors' mode)
ccColorGradientDlg(QWidget *parent)
Default constructor.
unsigned char getDimension() const
Returns the ramp dimension.
void setType(GradientType type)
Sets the currently activated type.
GradientType getType() const
Returns selected gradient type.