xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QTreeView.xcsm
浏览该文件的文档.
1
package
Qt{
2
@SuppressWarnings public class QTreeView : QAbstractItemView{
3
4
public QTreeView(){
5
6
}
7
8
public QTreeView(long handle){
9
super(handle);
10
}
11
12
public
bool
create
()
override
{
13
nativehandle = QtXnl.createQObject(QType.qtTreeView,
this
, 0);
14
if
(nativehandle == 0){
15
return
false
;
16
}
17
return
true
;
18
}
19
20
public
bool
create
(@NotNilptr QWidget parent)
override
{
21
nativehandle = QtXnl.createQObject(QType.qtTreeView,
this
, parent.nativehandle);
22
if
(nativehandle == 0){
23
return
false
;
24
}
25
return
true
;
26
}
27
28
public
void
setModel
(QStandardModel model){
29
QtXnl.widget_set_object_value(nativehandle, Constant.TREEVIEWSETMODEL, model);
30
}
31
32
public
void
notifyDataChanged
(){
33
QtXnl.widget_slot(nativehandle, Constant.MODELITEMS_UPDATE);
34
}
35
36
public
void
setUniformRowHeights
(
bool
uniform){
37
QtXnl.widget_set_bool_value(nativehandle,Constant.ABSITEMVOEWSETUNI,uniform);
38
}
39
40
public
void
setDefaultFlags
(
int
flags){
41
QtXnl.widget_set_vint_value(nativehandle, Constant.QTREEVIEW_SETDEFFLAGS, flags);
42
}
43
44
public
int
indentation
(){
45
return
QtXnl.widget_get_int_value(nativehandle, Constant.QTREEVIEW_INDENTATION);
46
}
47
48
public
void
setIndentation
(
int
i){
49
QtXnl.widget_set_vint_value(nativehandle, Constant.QTREEVIEW_SETINDENTATION, i);
50
}
51
52
public
void
resetIndentation
(){
53
QtXnl.widget_slot(nativehandle, Constant.QTREEVIEW_RESETINDENTATION);
54
}
55
};
56
};
Qt.QTreeView.resetIndentation
void resetIndentation()
Definition
QTreeView.xcsm:52
Qt.QTreeView.create
bool create() override
Definition
QTreeView.xcsm:12
Qt.QTreeView.create
bool create(@NotNilptr QWidget parent) override
Definition
QTreeView.xcsm:20
Qt.QTreeView.setUniformRowHeights
void setUniformRowHeights(bool uniform)
Definition
QTreeView.xcsm:36
Qt.QTreeView.setIndentation
void setIndentation(int i)
Definition
QTreeView.xcsm:48
Qt.QTreeView.setModel
void setModel(QStandardModel model)
Definition
QTreeView.xcsm:28
Qt.QTreeView.indentation
int indentation()
Definition
QTreeView.xcsm:44
Qt.QTreeView.notifyDataChanged
void notifyDataChanged()
Definition
QTreeView.xcsm:32
Qt.QTreeView.setDefaultFlags
void setDefaultFlags(int flags)
Definition
QTreeView.xcsm:40
制作者
1.9.8