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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
public class QToolButton extends QButton {
protected QToolButton(Class dummy){super((Class) null);}
public static final int BesideIcon = 0;
public static final int BelowIcon = 1;
public static final int Right = BesideIcon;
public static final int Under = BelowIcon;
public native QMetaObject metaObject();
public native String className();
public QToolButton(QWidget parent, String name) {
super((Class) null);
newQToolButton(parent,name);
}
private native void newQToolButton(QWidget parent, String name);
public QToolButton(QWidget parent) {
super((Class) null);
newQToolButton(parent);
}
private native void newQToolButton(QWidget parent);
public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name) {
super((Class) null);
newQToolButton(s,textLabel,grouptext,receiver,slot,parent,name);
}
private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name);
public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent) {
super((Class) null);
newQToolButton(s,textLabel,grouptext,receiver,slot,parent);
}
private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent);
public QToolButton(int type, QWidget parent, String name) {
super((Class) null);
newQToolButton(type,parent,name);
}
private native void newQToolButton(int type, QWidget parent, String name);
public QToolButton(int type, QWidget parent) {
super((Class) null);
newQToolButton(type,parent);
}
private native void newQToolButton(int type, QWidget parent);
public native QSize sizeHint();
public native QSize minimumSizeHint();
public native void setOnIconSet(QIconSet arg1);
public native void setOffIconSet(QIconSet arg1);
public native void setIconSet(QIconSet arg1, boolean on);
public native QIconSet onIconSet();
public native QIconSet offIconSet();
public native QIconSet iconSet(boolean on);
public native void setIconSet(QIconSet arg1);
public native QIconSet iconSet();
public native boolean usesBigPixmap();
public native boolean usesTextLabel();
public native String textLabel();
public native void setPopup(QPopupMenu popup);
public native QPopupMenu popup();
public native void setPopupDelay(int delay);
public native int popupDelay();
public native void openPopup();
public native void setAutoRaise(boolean enable);
public native boolean autoRaise();
public native int textPosition();
public native void setText(String txt);
public native void setUsesBigPixmap(boolean enable);
public native void setUsesTextLabel(boolean enable);
public native void setTextLabel(String arg1, boolean arg2);
public native void setToggleButton(boolean enable);
public native void setOn(boolean enable);
public native void toggle();
public native void setTextLabel(String arg1);
public native void setTextPosition(int pos);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void mousePressEvent(QMouseEvent arg1);
protected native void drawButton(QPainter arg1);
protected native void drawButtonLabel(QPainter arg1);
protected native void enterEvent(QEvent arg1);
protected native void leaveEvent(QEvent arg1);
protected native void moveEvent(QMoveEvent arg1);
protected native boolean uses3D();
public native boolean eventFilter(QObject o, QEvent e);
protected native void paletteChange(QPalette 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();
}
|