xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QFrame.x
浏览该文件的文档.
1//xlang Source, Name:qt5/widgets/QAbstractScrollArea.x
2//Date: Wed Sep 00:19:12 2022
3package Qt{
4 @SuppressWarnings public class QFrame : QWidget{
5 public enum Shape {
6 NoFrame = 0, // no frame
7 Box = 0x0001, // rectangular box
8 Panel = 0x0002, // rectangular panel
9 WinPanel = 0x0003, // rectangular panel (Windows)
10 HLine = 0x0004, // horizontal line
11 VLine = 0x0005, // vertical line
12 StyledPanel = 0x0006 // rectangular panel depending on the GUI style
13 };
14
15 public enum Shadow {
16 Plain = 0x0010, // plain line
17 Raised = 0x0020, // raised shadow effect
18 Sunken = 0x0030 // sunken shadow effect
19 };
20
21
22 public enum StyleMask {
23 Shadow_Mask = 0x00f0, // mask for the shadow
24 Shape_Mask = 0x000f // mask for the shape
25 };
26
27 public QFrame(){
28
29 }
30
31 public QFrame(long handle){
32 super(handle);
33 }
34
35 public void setFrameStyle(int s){
36 QtXnl.widget_set_v2int_value(nativehandle, Constant.QFrame_setFrameStyle, s, 0);
37 }
38
39 public void setLineWidth(int w){
40 QtXnl.widget_set_v2int_value(nativehandle, Constant.QFrame_setLineWidth, w, 0);
41 }
42 };
43};
void setLineWidth(int w)
Definition QFrame.x:39
QFrame()
Definition QFrame.x:27
void setFrameStyle(int s)
Definition QFrame.x:35
QFrame(long handle)
Definition QFrame.x:31