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

import org.kde.qt.Qt;

/**
 See {@link QTabBarSignals} for signals emitted by QTabBar
*/
public class QTabBar extends QWidget  {
	protected QTabBar(Class dummy){super((Class) null);}
	public static final int RoundedAbove = 0;
	public static final int RoundedBelow = 1;
	public static final int TriangularAbove = 2;
	public static final int TriangularBelow = 3;

	public native QMetaObject metaObject();
	public native String className();
	public QTabBar(QWidget parent, String name) {
		super((Class) null);
		newQTabBar(parent,name);
	}
	private native void newQTabBar(QWidget parent, String name);
	public QTabBar(QWidget parent) {
		super((Class) null);
		newQTabBar(parent);
	}
	private native void newQTabBar(QWidget parent);
	public QTabBar() {
		super((Class) null);
		newQTabBar();
	}
	private native void newQTabBar();
	public native int shape();
	public native void setShape(int arg1);
	public native void show();
	public native int addTab(QTab arg1);
	public native int insertTab(QTab arg1, int index);
	public native int insertTab(QTab arg1);
	public native void removeTab(QTab arg1);
	public native void setTabEnabled(int arg1, boolean arg2);
	public native boolean isTabEnabled(int arg1);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int currentTab();
	public native int keyboardFocusTab();
	public native QTab tab(int arg1);
	public native QTab tabAt(int arg1);
	public native int indexOf(int arg1);
	public native int count();
	public native void layoutTabs();
	public native QTab selectTab(QPoint p);
	public native void removeToolTip(int index);
	public native void setToolTip(int index, String tip);
	public native String toolTip(int index);
	public native void setCurrentTab(int arg1);
	public native void setCurrentTab(QTab arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paint(QPainter arg1, QTab arg2, boolean arg3);
	protected native void paintLabel(QPainter arg1, QRect arg2, QTab arg3, boolean arg4);
	protected native void focusInEvent(QFocusEvent e);
	protected native void focusOutEvent(QFocusEvent e);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void paintEvent(QPaintEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	public native void styleChange(QStyle arg1);
	protected native void fontChange(QFont arg1);
	public native boolean event(QEvent e);
	// QPtrList<QTab>* tabList(); >>>> NOT CONVERTED
	/** 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();
}