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

import org.kde.qt.Qt;

public class QLayout extends QObject implements QLayoutItemInterface {
	protected QLayout(Class dummy){super((Class) null);}
	public static final int FreeResize = 0;
	public static final int Minimum = 1;
	public static final int Fixed = 2;
	public static final int Auto = 3;

	public native QMetaObject metaObject();
	public native String className();
	public native int margin();
	public native int spacing();
	public native void setMargin(int arg1);
	public native void setSpacing(int arg1);
	public native int defaultBorder();
	public native void freeze(int w, int h);
	public native void freeze();
	public native void setResizeMode(int arg1);
	public native int resizeMode();
	public native void setMenuBar(QMenuBar w);
	public native QMenuBar menuBar();
	public native QWidget mainWidget();
	public native boolean isTopLevel();
	public native void setAutoAdd(boolean arg1);
	public native boolean autoAdd();
	public native void invalidate();
	public native QRect geometry();
	public native boolean activate();
	public native void add(QWidget w);
	public native void addItem(QLayoutItemInterface arg1);
	public native void remove(QWidget w);
	public native void removeItem(QLayoutItemInterface arg1);
	public native int expanding();
	public native QSize minimumSize();
	public native QSize maximumSize();
	public native void setGeometry(QRect arg1);
	// QLayoutIterator iterator(); >>>> NOT CONVERTED
	public native boolean isEmpty();
	public native int totalHeightForWidth(int w);
	public native QSize totalMinimumSize();
	public native QSize totalMaximumSize();
	public native QSize totalSizeHint();
	public native QLayout layout();
	public native boolean supportsMargin();
	public native void setEnabled(boolean arg1);
	public native boolean isEnabled();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native QSize sizeHint();
	public native boolean hasHeightForWidth();
	public native int heightForWidth(int arg1);
	public native QWidget widget();
	// QLayoutIterator iterator(); >>>> NOT CONVERTED
	public native QSpacerItem spacerItem();
	public native int alignment();
	public native void setAlignment(int a);
}