◆ QGraphicsDropShadowEffect() [1/2]
| QGraphicsDropShadowEffect |
( |
QWidget |
parent | ) |
|
在文件 QGraphicsDropShadowEffect.x 第 5 行定义.
5 {
6 nativehandle = QtXnl.createQObject(QType.qtGraphicsDropShadowEffect,
this, parent != nilptr ? parent.nativehandle : 0l);
7 if (nativehandle == 0){
8 throw new Exception(
"can not create QGraphicsDropShadowEffect");
9 }
10 }
◆ QGraphicsDropShadowEffect() [2/2]
| QGraphicsDropShadowEffect |
( |
long |
handle | ) |
|
◆ setBlurRadius()
| void setBlurRadius |
( |
double |
blurRadius | ) |
|
在文件 QGraphicsDropShadowEffect.x 第 24 行定义.
24 {
25 QtXnl.widget_set_double_value(nativehandle,Constant.QGRAPHICSDROPSHADOWEFFECT_BLURRADIUS, blurRadius);
26 }
◆ setColor()
| void setColor |
( |
int |
color | ) |
|
在文件 QGraphicsDropShadowEffect.x 第 20 行定义.
20 {
21 QtXnl.widget_set_vint_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETCOLOR, color);
22 }
◆ setOffset()
| void setOffset |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QGraphicsDropShadowEffect.x 第 16 行定义.
16 {
17 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETOFFSET, x, y);
18 }