1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import java.util.ArrayList;
import org.kde.qt.Qt;
/**
See {@link QListViewSignals} for signals emitted by QListView
*/
public class QListView extends QScrollView {
protected QListView(Class dummy){super((Class) null);}
public static final int Manual = 0;
public static final int Maximum = 1;
public static final int Single = 0;
public static final int Multi = 1;
public static final int Extended = 2;
public static final int NoSelection = 3;
public static final int NoColumn = 0;
public static final int AllColumns = 1;
public static final int LastColumn = 2;
public static final int Accept = 0;
public static final int Reject = 1;
public native QMetaObject metaObject();
public native String className();
public QListView(QWidget parent, String name, int f) {
super((Class) null);
newQListView(parent,name,f);
}
private native void newQListView(QWidget parent, String name, int f);
public QListView(QWidget parent, String name) {
super((Class) null);
newQListView(parent,name);
}
private native void newQListView(QWidget parent, String name);
public QListView(QWidget parent) {
super((Class) null);
newQListView(parent);
}
private native void newQListView(QWidget parent);
public QListView() {
super((Class) null);
newQListView();
}
private native void newQListView();
public native int treeStepSize();
public native void setTreeStepSize(int arg1);
public native void insertItem(QListViewItem arg1);
public native void takeItem(QListViewItem arg1);
public native void removeItem(QListViewItem item);
public native QHeader header();
public native int addColumn(String label, int size);
public native int addColumn(String label);
public native int addColumn(QIconSet iconset, String label, int size);
public native int addColumn(QIconSet iconset, String label);
public native void removeColumn(int index);
public native void setColumnText(int column, String label);
public native void setColumnText(int column, QIconSet iconset, String label);
public native String columnText(int column);
public native void setColumnWidth(int column, int width);
public native int columnWidth(int column);
public native void setColumnWidthMode(int column, int arg2);
public native int columnWidthMode(int column);
public native int columns();
public native void setColumnAlignment(int arg1, int arg2);
public native int columnAlignment(int arg1);
public native void show();
public native QListViewItem itemAt(QPoint screenPos);
public native QRect itemRect(QListViewItem arg1);
public native int itemPos(QListViewItem arg1);
public native void ensureItemVisible(QListViewItem arg1);
public native void repaintItem(QListViewItem arg1);
public native void setMultiSelection(boolean enable);
public native boolean isMultiSelection();
public native void setSelectionMode(int mode);
public native int selectionMode();
public native void clearSelection();
public native void setSelected(QListViewItem arg1, boolean arg2);
public native void setSelectionAnchor(QListViewItem arg1);
public native boolean isSelected(QListViewItem arg1);
public native QListViewItem selectedItem();
public native void setOpen(QListViewItem arg1, boolean arg2);
public native boolean isOpen(QListViewItem arg1);
public native void setCurrentItem(QListViewItem arg1);
public native QListViewItem currentItem();
public native QListViewItem firstChild();
public native QListViewItem lastItem();
public native int childCount();
public native void setAllColumnsShowFocus(boolean arg1);
public native boolean allColumnsShowFocus();
public native void setItemMargin(int arg1);
public native int itemMargin();
public native void setRootIsDecorated(boolean arg1);
public native boolean rootIsDecorated();
public native void setSorting(int column, boolean ascending);
public native void setSorting(int column);
public native int sortColumn();
public native void setSortColumn(int column);
public native int sortOrder();
public native void setSortOrder(int order);
public native void sort();
public native void setFont(QFont arg1);
public native void setPalette(QPalette arg1);
public native boolean eventFilter(QObject o, QEvent arg2);
public native QSize sizeHint();
public native QSize minimumSizeHint();
public native void setShowSortIndicator(boolean show);
public native boolean showSortIndicator();
public native void setShowToolTips(boolean b);
public native boolean showToolTips();
public native void setResizeMode(int m);
public native int resizeMode();
public native QListViewItem findItem(String text, int column, int compare);
public native QListViewItem findItem(String text, int column);
public native void setDefaultRenameAction(int a);
public native int defaultRenameAction();
public native boolean isRenaming();
public native void hideColumn(int column);
public native void clear();
public native void invertSelection();
public native void selectAll(boolean select);
public native void triggerUpdate();
public native void setContentsPos(int x, int y);
public native void adjustColumn(int col);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void contentsMousePressEvent(QMouseEvent e);
protected native void contentsMouseReleaseEvent(QMouseEvent e);
protected native void contentsMouseMoveEvent(QMouseEvent e);
protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
protected native void contentsContextMenuEvent(QContextMenuEvent e);
protected native void contentsDragEnterEvent(QDragEnterEvent e);
protected native void contentsDragMoveEvent(QDragMoveEvent e);
protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
protected native void contentsDropEvent(QDropEvent e);
protected native QDragObject dragObject();
protected native void startDrag();
protected native void focusInEvent(QFocusEvent e);
protected native void focusOutEvent(QFocusEvent e);
protected native void keyPressEvent(QKeyEvent e);
protected native void resizeEvent(QResizeEvent e);
protected native void viewportResizeEvent(QResizeEvent e);
public native void showEvent(QShowEvent arg1);
protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
protected native void paintEmptyArea(QPainter arg1, QRect arg2);
public native void styleChange(QStyle arg1);
protected native void windowActivationChange(boolean arg1);
public native void updateContents();
protected native void doAutoScroll();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
public native ArrayList itemList();
}
|