3 @SuppressWarnings public class QListView : QAbstractItemView{
4 public enum Flow { LeftToRight, TopToBottom };
5 public enum ResizeMode { Fixed, Adjust };
6 public enum LayoutMode { SinglePass, Batched };
7 public enum ViewMode { ListMode, IconMode };
18 nativehandle = QtXnl.createQObject(QType.qtListView,
this, 0);
19 if (nativehandle == 0){
25 public bool create(@NotNilptr QWidget parent)
override {
26 nativehandle = QtXnl.createQObject(QType.qtListView,
this, parent.nativehandle);
27 if (nativehandle == 0){
34 QtXnl.widget_set_object_value(nativehandle, Constant.LISTVIEWSETMODEL, model);
38 QtXnl.widget_slot(nativehandle, Constant.MODELITEMS_UPDATE);
42 QtXnl.widget_set_vint_value(nativehandle, Constant.QTREEVIEW_SETDEFFLAGS, flags);
46 QtXnl.widget_set_vint_value(nativehandle, Constant.QLISTVIEW_SETVIEWMODE, mode);
50 QtXnl.widget_set_vint_value(nativehandle, Constant.QLISTVIEW_SETFLOW, flow);
54 QtXnl.widget_set_vint_value(nativehandle, Constant.QLISTVIEW_SETRESIZEMODE, mode);