set drop shadow opacity
This commit is contained in:
parent
67b4805d28
commit
b9d65c07d8
|
@ -11,6 +11,7 @@ RaisedButton::RaisedButton(QWidget *parent)
|
|||
QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect;
|
||||
effect->setBlurRadius(7);
|
||||
effect->setOffset(QPoint(0, 0));
|
||||
effect->setColor(QColor(0, 0, 0, 100));
|
||||
setGraphicsEffect(effect);
|
||||
|
||||
setAutoFillBackground(true);
|
||||
|
|
Loading…
Reference in New Issue