summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QIconView.java
blob: 5bf2ea6ed89116d32c664f5780c0c96973ef0d59 (plain)
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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link TQIconViewSignals} for signals emitted by TQIconView
*/
public class TQIconView extends TQScrollView  {
	protected TQIconView(Class dummy){super((Class) null);}
	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 LeftToRight = 0;
	public static final int TopToBottom = 1;

	public static final int Fixed = 0;
	public static final int Adjust = 1;

	public static final int Bottom = 0;
	public static final int Right = 1;

	public native TQMetaObject metaObject();
	public native String className();
	public TQIconView(TQWidget parent, String name, int f) {
		super((Class) null);
		newTQIconView(parent,name,f);
	}
	private native void newTQIconView(TQWidget parent, String name, int f);
	public TQIconView(TQWidget parent, String name) {
		super((Class) null);
		newTQIconView(parent,name);
	}
	private native void newTQIconView(TQWidget parent, String name);
	public TQIconView(TQWidget parent) {
		super((Class) null);
		newTQIconView(parent);
	}
	private native void newTQIconView(TQWidget parent);
	public TQIconView() {
		super((Class) null);
		newTQIconView();
	}
	private native void newTQIconView();
	public native void insertItem(TQIconViewItem item, TQIconViewItem after);
	public native void insertItem(TQIconViewItem item);
	public native void takeItem(TQIconViewItem item);
	public native int index(TQIconViewItem item);
	public native TQIconViewItem firstItem();
	public native TQIconViewItem lastItem();
	public native TQIconViewItem currentItem();
	public native void setCurrentItem(TQIconViewItem item);
	public native void setSelected(TQIconViewItem item, boolean s, boolean cb);
	public native void setSelected(TQIconViewItem item, boolean s);
	public native int count();
	public native void showEvent(TQShowEvent arg1);
	public native void setSelectionMode(int m);
	public native int selectionMode();
	public native TQIconViewItem findItem(TQPoint pos);
	public native TQIconViewItem findItem(String text, int compare);
	public native TQIconViewItem findItem(String text);
	public native void selectAll(boolean select);
	public native void clearSelection();
	public native void invertSelection();
	public native void repaintItem(TQIconViewItem item);
	public native void repaintSelectedItems();
	public native void ensureItemVisible(TQIconViewItem item);
	public native TQIconViewItem findFirstVisibleItem(TQRect r);
	public native TQIconViewItem findLastVisibleItem(TQRect r);
	public native void clear();
	public native void setGridX(int rx);
	public native void setGridY(int ry);
	public native int gridX();
	public native int gridY();
	public native void setSpacing(int sp);
	public native int spacing();
	public native void setItemTextPos(int pos);
	public native int itemTextPos();
	public native void setItemTextBackground(TQBrush b);
	public native TQBrush itemTextBackground();
	public native void setArrangement(int am);
	public native int arrangement();
	public native void setResizeMode(int am);
	public native int resizeMode();
	public native void setMaxItemWidth(int w);
	public native int maxItemWidth();
	public native void setMaxItemTextLength(int w);
	public native int maxItemTextLength();
	public native void setAutoArrange(boolean b);
	public native boolean autoArrange();
	public native void setShowToolTips(boolean b);
	public native boolean showToolTips();
	public native void setSorting(boolean sort, boolean ascending);
	public native void setSorting(boolean sort);
	public native boolean sortOnInsert();
	public native boolean sortDirection();
	public native void setItemsMovable(boolean b);
	public native boolean itemsMovable();
	public native void setWordWrapIconText(boolean b);
	public native boolean wordWrapIconText();
	public native boolean eventFilter(TQObject o, TQEvent arg2);
	public native TQSize minimumSizeHint();
	public native TQSize sizeHint();
	public native void sort(boolean ascending);
	public native void sort();
	public native void setFont(TQFont arg1);
	public native void setPalette(TQPalette arg1);
	public native boolean isRenaming();
	public native void arrangeItemsInGrid(TQSize grid, boolean update);
	public native void arrangeItemsInGrid(TQSize grid);
	public native void arrangeItemsInGrid(boolean update);
	public native void arrangeItemsInGrid();
	public native void setContentsPos(int x, int y);
	public native void updateContents();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseReleaseEvent(TQMouseEvent e);
	protected native void contentsMouseMoveEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void contentsContextMenuEvent(TQContextMenuEvent e);
	protected native void contentsDragEnterEvent(TQDragEnterEvent e);
	protected native void contentsDragMoveEvent(TQDragMoveEvent e);
	protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
	protected native void contentsDropEvent(TQDropEvent e);
	protected native void resizeEvent(TQResizeEvent e);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	protected native void enterEvent(TQEvent e);
	protected native void drawRubber(TQPainter p);
	protected native TQDragObject dragObject();
	protected native void startDrag();
	protected native void insertInGrid(TQIconViewItem item);
	protected native void drawBackground(TQPainter p, TQRect r);
	protected native void emitSelectionChanged(TQIconViewItem i);
	protected native void emitSelectionChanged();
	protected native void emitRenamed(TQIconViewItem item);
	protected native TQIconViewItem makeRowLayout(TQIconViewItem begin, int[] y, boolean changed);
	public native void styleChange(TQStyle arg1);
	protected native void windowActivationChange(boolean arg1);
	protected native void doAutoScroll();
	protected native void adjustItems();
	protected native void slotUpdate();
	/** 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();
}