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

import org.kde.qt.Qt;

/**
 See {@link QTabWidgetSignals} for signals emitted by QTabWidget
*/
public class QTabWidget extends QWidget  {
	protected QTabWidget(Class dummy){super((Class) null);}
	public static final int Top = 0;
	public static final int Bottom = 1;

	public static final int Rounded = 0;
	public static final int Triangular = 1;

	public native QMetaObject metaObject();
	public native String className();
	public QTabWidget(QWidget parent, String name, int f) {
		super((Class) null);
		newQTabWidget(parent,name,f);
	}
	private native void newQTabWidget(QWidget parent, String name, int f);
	public QTabWidget(QWidget parent, String name) {
		super((Class) null);
		newQTabWidget(parent,name);
	}
	private native void newQTabWidget(QWidget parent, String name);
	public QTabWidget(QWidget parent) {
		super((Class) null);
		newQTabWidget(parent);
	}
	private native void newQTabWidget(QWidget parent);
	public QTabWidget() {
		super((Class) null);
		newQTabWidget();
	}
	private native void newQTabWidget();
	public native void addTab(QWidget arg1, String arg2);
	public native void addTab(QWidget child, QIconSet iconset, String label);
	public native void addTab(QWidget arg1, QTab arg2);
	public native void insertTab(QWidget arg1, String arg2, int index);
	public native void insertTab(QWidget arg1, String arg2);
	public native void insertTab(QWidget child, QIconSet iconset, String label, int index);
	public native void insertTab(QWidget child, QIconSet iconset, String label);
	public native void insertTab(QWidget arg1, QTab arg2, int index);
	public native void insertTab(QWidget arg1, QTab arg2);
	public native void changeTab(QWidget arg1, String arg2);
	public native void changeTab(QWidget child, QIconSet iconset, String label);
	public native boolean isTabEnabled(QWidget arg1);
	public native void setTabEnabled(QWidget arg1, boolean arg2);
	public native void setCornerWidget(QWidget w, int corner);
	public native void setCornerWidget(QWidget w);
	public native QWidget cornerWidget(int corner);
	public native QWidget cornerWidget();
	public native String tabLabel(QWidget arg1);
	public native void setTabLabel(QWidget p, String l);
	public native QIconSet tabIconSet(QWidget w);
	public native void setTabIconSet(QWidget w, QIconSet iconset);
	public native void removeTabToolTip(QWidget w);
	public native void setTabToolTip(QWidget w, String tip);
	public native String tabToolTip(QWidget w);
	public native QWidget currentPage();
	public native QWidget page(int arg1);
	public native String label(int arg1);
	public native int currentPageIndex();
	public native int indexOf(QWidget arg1);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int tabPosition();
	public native void setTabPosition(int arg1);
	public native int tabShape();
	public native void setTabShape(int s);
	public native int margin();
	public native void setMargin(int arg1);
	public native int count();
	public native void setCurrentPage(int arg1);
	public native void showPage(QWidget arg1);
	public native void removePage(QWidget arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native void showEvent(QShowEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void setTabBar(QTabBar arg1);
	protected native QTabBar tabBar();
	public native void styleChange(QStyle arg1);
	protected native void updateMask();
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	/** 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();
}