MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / shadow

Method shadow

tools/os.cpp:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293QGraphicsEffect *os::shadow(const QColor &color, int blurRadius, int offset)
294{
295 QGraphicsDropShadowEffect *shadowEffect = new QGraphicsDropShadowEffect;
296 shadowEffect->setBlurRadius(blurRadius);
297 shadowEffect->setOffset(offset);
298 shadowEffect->setColor(color);
299
300 return shadowEffect;
301}
302
303QIcon os::icon(const QString &name, QColor backgroundColor)
304{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected