xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QGraphicsDropShadowEffect.x
浏览该文件的文档.
1
//xlang Source, Name:qt5/widgets/QGraphicsDropShadowEffect.x
2
//Date: Mon Oct 20:36:15 2022
3
package
Qt{
4
@SuppressWarnings public class QGraphicsDropShadowEffect : QGraphicsEffect{
5
public QGraphicsDropShadowEffect(QWidget parent){
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
}
11
12
public
QGraphicsDropShadowEffect
(
long
handle){
13
super(handle);
14
}
15
16
public
void
setOffset
(
int
x,
int
y){
17
QtXnl.widget_set_v2int_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETOFFSET, x, y);
18
}
19
20
public
void
setColor
(
int
color){
21
QtXnl.widget_set_vint_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETCOLOR, color);
22
}
23
24
public
void
setBlurRadius
(
double
blurRadius){
25
QtXnl.widget_set_double_value(nativehandle,Constant.QGRAPHICSDROPSHADOWEFFECT_BLURRADIUS, blurRadius);
26
}
27
};
28
};
Exception
异常类
Definition
BuiltinObjects.x:158
Qt.QGraphicsDropShadowEffect.setBlurRadius
void setBlurRadius(double blurRadius)
Definition
QGraphicsDropShadowEffect.x:24
Qt.QGraphicsDropShadowEffect.setColor
void setColor(int color)
Definition
QGraphicsDropShadowEffect.x:20
Qt.QGraphicsDropShadowEffect.QGraphicsDropShadowEffect
QGraphicsDropShadowEffect(long handle)
Definition
QGraphicsDropShadowEffect.x:12
Qt.QGraphicsDropShadowEffect.setOffset
void setOffset(int x, int y)
Definition
QGraphicsDropShadowEffect.x:16
制作者
1.9.8