qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Public Types | Public Member Functions | Protected Slots | List of all members
ccColorGradientDlg Class Reference

Dialog to define a color gradient (default, with 2 colors, banding, etc.) More...

#include <ccColorGradientDlg.h>

Inheritance diagram for ccColorGradientDlg:
Inheritance graph
[legend]
Collaboration diagram for ccColorGradientDlg:
Collaboration graph
[legend]

Public Types

enum  GradientType { Default, TwoColors, Banding }
 Gradient types.
 

Public Member Functions

 ccColorGradientDlg (QWidget *parent)
 Default constructor.
 
GradientType getType () const
 Returns selected gradient type.
 
void setType (GradientType type)
 Sets the currently activated type.
 
void getColors (QColor &first, QColor &second) const
 Returns the two colors of the gradient ('TwoColors' mode)
 
int getBandingFrequency () const
 Returns the frequency of the gradient ('Banding' mode)
 
unsigned char getDimension () const
 Returns the ramp dimension.
 

Protected Slots

void changeFirstColor ()
 
void changeSecondColor ()
 

Detailed Description

Dialog to define a color gradient (default, with 2 colors, banding, etc.)


The documentation for this class was generated from the following files: