digiKam
Digikam::ColorGradientWidget Class Reference
+ Inheritance diagram for Digikam::ColorGradientWidget:

Public Member Functions

 ColorGradientWidget (Qt::Orientation orientation, int size, QWidget *const parent=nullptr)
 
void setColors (const QColor &col1, const QColor &col2)
 
 ~ColorGradientWidget () override
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

Constructor & Destructor Documentation

◆ ColorGradientWidget()

Digikam::ColorGradientWidget::ColorGradientWidget ( Qt::Orientation  orientation,
int  size,
QWidget *const  parent = nullptr 
)
explicit

◆ ~ColorGradientWidget()

Digikam::ColorGradientWidget::~ColorGradientWidget ( )
override

Member Function Documentation

◆ paintEvent()

void Digikam::ColorGradientWidget::paintEvent ( QPaintEvent *  )
overrideprotected

◆ setColors()

void Digikam::ColorGradientWidget::setColors ( const QColor &  col1,
const QColor &  col2 
)

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