VAPOR3 3.9.4
Functions
QPaintUtils Namespace Reference

Functions

void DropShadow (QPainter &p, QPicture &picture, float radius, QColor color=Qt::black)
 
void InnerShadow (QPainter &p, QPicture &picture, float radius, QColor color=Qt::black)
 
void BoxDropShadow (QPainter &p, QRect box, float radius, QColor color=Qt::black)
 
void BoxInnerShadow (QPainter &p, QRect box, float radius, QColor color=Qt::black)
 

Detailed Description

Provides functionality to be used when painting a QWidget that behaves the same as CSS's drop-shadow and inner-shadow

Function Documentation

◆ BoxDropShadow()

void QPaintUtils::BoxDropShadow ( QPainter &  p,
QRect  box,
float  radius,
QColor  color = Qt::black 
)

◆ BoxInnerShadow()

void QPaintUtils::BoxInnerShadow ( QPainter &  p,
QRect  box,
float  radius,
QColor  color = Qt::black 
)

◆ DropShadow()

void QPaintUtils::DropShadow ( QPainter &  p,
QPicture &  picture,
float  radius,
QColor  color = Qt::black 
)

◆ InnerShadow()

void QPaintUtils::InnerShadow ( QPainter &  p,
QPicture &  picture,
float  radius,
QColor  color = Qt::black 
)