summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KTabCtl.java
blob: e9c37cbeeb11dbe82f46f419b0124c5bf38e2345 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQRect;
import org.trinitydesktop.qt.TQFont;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPaintEvent;
import org.trinitydesktop.qt.TQSize;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQWidget;

/**

 Tabbed dialog with extended features.
 KTabCtl is very similar to TQTabDialog, with the following differences:

	<li>
	To avoid confusion, the API is almost identical with TQTabDialog.
	</li>

	<li>
	Does not create any buttons, therefore KTabCtl is not limited
	 to dialog boxes. You can use it whereever you want.
	</li>

	<li>
	emits the signal tabSelected(int pagenumber) when the user
	 selects one of the tabs. This gives you the chance to update the
	 widget contents of a single page. The signal is emitted _before_ the
	 page is shown.  This is very useful if the contents of some widgets
	 on page A depend on the contents of some other widgets on page B.
	</li>
	 See {@link KTabCtlSignals} for signals emitted by KTabCtl
		@author Alexander Sanda (alex@darkstar.ping.at)

		@version $Id$

		@short    Tabbed dialog with extended features.

*/
public class KTabCtl extends TQWidget  {
	protected KTabCtl(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KTabCtl(TQWidget parent, String name) {
		super((Class) null);
		newKTabCtl(parent,name);
	}
	private native void newKTabCtl(TQWidget parent, String name);
	public KTabCtl(TQWidget parent) {
		super((Class) null);
		newKTabCtl(parent);
	}
	private native void newKTabCtl(TQWidget parent);
	public KTabCtl() {
		super((Class) null);
		newKTabCtl();
	}
	private native void newKTabCtl();
	public native void show();
	public native void setFont(TQFont font);
	public native void setTabFont(TQFont font);
	public native void addTab(TQWidget arg1, String arg2);
	public native boolean isTabEnabled(String arg1);
	public native void setTabEnabled(String arg1, boolean arg2);
	public native void setBorder(boolean arg1);
	public native void setShape(int shape);
	public native TQSize sizeHint();
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void setSizes();
	protected native TQRect getChildRect();
	protected native void showTab(int i);
	/** 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();
}