ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Widgets::GradientLabel Class Reference
Inheritance diagram for Widgets::GradientLabel:
Collaboration diagram for Widgets::GradientLabel:

Public Member Functions

 GradientLabel (QWidget *parent=nullptr)
 
void setColors (const QColor &clr1, const QColor &clr2)
 
QColor color1 () const
 
QColor color2 () const
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 

Detailed Description

Definition at line 39 of file gradientcombobox.cpp.

Constructor & Destructor Documentation

◆ GradientLabel()

Widgets::GradientLabel::GradientLabel ( QWidget *  parent = nullptr)
explicit

Definition at line 87 of file gradientcombobox.cpp.

Member Function Documentation

◆ color1()

QColor Widgets::GradientLabel::color1 ( ) const
inline

Definition at line 44 of file gradientcombobox.cpp.

◆ color2()

QColor Widgets::GradientLabel::color2 ( ) const
inline

Definition at line 45 of file gradientcombobox.cpp.

◆ paintEvent()

void Widgets::GradientLabel::paintEvent ( QPaintEvent *  event)
protected

Definition at line 95 of file gradientcombobox.cpp.

References event.

◆ setColors()

void Widgets::GradientLabel::setColors ( const QColor &  clr1,
const QColor &  clr2 
)

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