summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QHeader.java
blob: 1a8b0eff800e8f11016e0ec4a744731ef478d49b (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QHeaderSignals} for signals emitted by QHeader
*/
public class QHeader extends QWidget  {
	protected QHeader(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QHeader(QWidget parent, String name) {
		super((Class) null);
		newQHeader(parent,name);
	}
	private native void newQHeader(QWidget parent, String name);
	public QHeader(QWidget parent) {
		super((Class) null);
		newQHeader(parent);
	}
	private native void newQHeader(QWidget parent);
	public QHeader() {
		super((Class) null);
		newQHeader();
	}
	private native void newQHeader();
	public QHeader(int arg1, QWidget parent, String name) {
		super((Class) null);
		newQHeader(arg1,parent,name);
	}
	private native void newQHeader(int arg1, QWidget parent, String name);
	public QHeader(int arg1, QWidget parent) {
		super((Class) null);
		newQHeader(arg1,parent);
	}
	private native void newQHeader(int arg1, QWidget parent);
	public QHeader(int arg1) {
		super((Class) null);
		newQHeader(arg1);
	}
	private native void newQHeader(int arg1);
	public native int addLabel(String arg1, int size);
	public native int addLabel(String arg1);
	public native int addLabel(QIconSet arg1, String arg2, int size);
	public native int addLabel(QIconSet arg1, String arg2);
	public native void removeLabel(int section);
	public native void setLabel(int arg1, String arg2, int size);
	public native void setLabel(int arg1, String arg2);
	public native void setLabel(int arg1, QIconSet arg2, String arg3, int size);
	public native void setLabel(int arg1, QIconSet arg2, String arg3);
	public native String label(int section);
	public native QIconSet iconSet(int section);
	public native void setOrientation(int arg1);
	public native int orientation();
	public native void setTracking(boolean enable);
	public native boolean tracking();
	public native void setClickEnabled(boolean arg1, int section);
	public native void setClickEnabled(boolean arg1);
	public native void setResizeEnabled(boolean arg1, int section);
	public native void setResizeEnabled(boolean arg1);
	public native void setMovingEnabled(boolean arg1);
	public native void setStretchEnabled(boolean b, int section);
	public native void setStretchEnabled(boolean b);
	public native boolean isClickEnabled(int section);
	public native boolean isClickEnabled();
	public native boolean isResizeEnabled(int section);
	public native boolean isResizeEnabled();
	public native boolean isMovingEnabled();
	public native boolean isStretchEnabled();
	public native boolean isStretchEnabled(int section);
	public native void resizeSection(int section, int s);
	public native int sectionSize(int section);
	public native int sectionPos(int section);
	public native int sectionAt(int pos);
	public native int count();
	public native int headerWidth();
	public native QRect sectionRect(int section);
	public native void setCellSize(int arg1, int arg2);
	public native int cellSize(int i);
	public native int cellPos(int arg1);
	public native int cellAt(int pos);
	public native int offset();
	public native QSize sizeHint();
	public native int mapToSection(int index);
	public native int mapToIndex(int section);
	public native int mapToLogical(int arg1);
	public native int mapToActual(int arg1);
	public native void moveSection(int section, int toIndex);
	public native void moveCell(int arg1, int arg2);
	public native void setSortIndicator(int section, boolean ascending);
	public native void setSortIndicator(int section);
	public native void setSortIndicator(int section, int order);
	public native int sortIndicatorSection();
	public native int sortIndicatorOrder();
	public native void adjustHeaderSize();
	public native void setUpdatesEnabled(boolean enable);
	public native void setOffset(int pos);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(QPaintEvent arg1);
	public native void showEvent(QShowEvent e);
	protected native void resizeEvent(QResizeEvent e);
	protected native QRect sRect(int index);
	protected native void paintSection(QPainter p, int index, QRect fr);
	protected native void paintSectionLabel(QPainter p, int index, QRect fr);
	protected native void fontChange(QFont arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void mouseDoubleClickEvent(QMouseEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void keyReleaseEvent(QKeyEvent arg1);
	/** 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();
}