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

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 *)
 

Constructor & Destructor Documentation

◆ GradientLabel()

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

Member Function Documentation

◆ color1()

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

◆ color2()

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

◆ paintEvent()

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

References event.

◆ setColors()

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

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