2017-05-31 01:35:28 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QColor>
|
2020-01-31 06:12:02 +01:00
|
|
|
|
|
|
|
class QPainter;
|
2017-05-31 01:35:28 +02:00
|
|
|
|
|
|
|
class DropShadow
|
|
|
|
{
|
|
|
|
public:
|
2017-09-10 11:59:21 +02:00
|
|
|
static void draw(QPainter &painter,
|
|
|
|
qint16 margin,
|
|
|
|
qreal radius,
|
|
|
|
QColor start,
|
|
|
|
QColor end,
|
|
|
|
qreal startPosition,
|
|
|
|
qreal endPosition0,
|
|
|
|
qreal endPosition1,
|
|
|
|
qreal width,
|
2020-01-31 06:12:02 +01:00
|
|
|
qreal height);
|
2017-05-31 01:35:28 +02:00
|
|
|
};
|