org.kde.qt

Class QToolButton

public class QToolButton extends QButton

Field Summary
static intBelowIcon
static intBesideIcon
static intRight
static intUnder
Constructor Summary
protected QToolButton(Class dummy)
QToolButton(QWidget parent, String name)
QToolButton(QWidget parent)
QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name)
QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent)
QToolButton(int type, QWidget parent, String name)
QToolButton(int type, QWidget parent)
Method Summary
booleanautoRaise()
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddrawButton(QPainter arg1)
protected voiddrawButtonLabel(QPainter arg1)
protected voidenterEvent(QEvent arg1)
booleaneventFilter(QObject o, QEvent e)
protected voidfinalize()
Deletes the wrapped C++ instance
QIconSeticonSet(boolean on)
QIconSeticonSet()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected voidleaveEvent(QEvent arg1)
QMetaObjectmetaObject()
QSizeminimumSizeHint()
protected voidmousePressEvent(QMouseEvent arg1)
protected voidmoveEvent(QMoveEvent arg1)
QIconSetoffIconSet()
QIconSetonIconSet()
voidopenPopup()
protected voidpaletteChange(QPalette arg1)
QPopupMenupopup()
intpopupDelay()
voidsetAutoRaise(boolean enable)
voidsetIconSet(QIconSet arg1, boolean on)
voidsetIconSet(QIconSet arg1)
voidsetOffIconSet(QIconSet arg1)
voidsetOn(boolean enable)
voidsetOnIconSet(QIconSet arg1)
voidsetPopup(QPopupMenu popup)
voidsetPopupDelay(int delay)
voidsetText(String txt)
voidsetTextLabel(String arg1, boolean arg2)
voidsetTextLabel(String arg1)
voidsetTextPosition(int pos)
voidsetToggleButton(boolean enable)
voidsetUsesBigPixmap(boolean enable)
voidsetUsesTextLabel(boolean enable)
QSizesizeHint()
StringtextLabel()
inttextPosition()
voidtoggle()
static Stringtr(String arg1, String arg2)
static Stringtr(String arg1)
protected booleanuses3D()
booleanusesBigPixmap()
booleanusesTextLabel()

Field Detail

BelowIcon

public static final int BelowIcon

BesideIcon

public static final int BesideIcon

Right

public static final int Right

Under

public static final int Under

Constructor Detail

QToolButton

protected QToolButton(Class dummy)

QToolButton

public QToolButton(QWidget parent, String name)

QToolButton

public QToolButton(QWidget parent)

QToolButton

public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name)

QToolButton

public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent)

QToolButton

public QToolButton(int type, QWidget parent, String name)

QToolButton

public QToolButton(int type, QWidget parent)

Method Detail

autoRaise

public boolean autoRaise()

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

drawButton

protected void drawButton(QPainter arg1)

drawButtonLabel

protected void drawButtonLabel(QPainter arg1)

enterEvent

protected void enterEvent(QEvent arg1)

eventFilter

public boolean eventFilter(QObject o, QEvent e)

finalize

protected void finalize()
Deletes the wrapped C++ instance

iconSet

public QIconSet iconSet(boolean on)

iconSet

public QIconSet iconSet()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

leaveEvent

protected void leaveEvent(QEvent arg1)

metaObject

public QMetaObject metaObject()

minimumSizeHint

public QSize minimumSizeHint()

mousePressEvent

protected void mousePressEvent(QMouseEvent arg1)

moveEvent

protected void moveEvent(QMoveEvent arg1)

offIconSet

public QIconSet offIconSet()

onIconSet

public QIconSet onIconSet()

openPopup

public void openPopup()

paletteChange

protected void paletteChange(QPalette arg1)

popup

public QPopupMenu popup()

popupDelay

public int popupDelay()

setAutoRaise

public void setAutoRaise(boolean enable)

setIconSet

public void setIconSet(QIconSet arg1, boolean on)

setIconSet

public void setIconSet(QIconSet arg1)

setOffIconSet

public void setOffIconSet(QIconSet arg1)

setOn

public void setOn(boolean enable)

setOnIconSet

public void setOnIconSet(QIconSet arg1)

setPopup

public void setPopup(QPopupMenu popup)

setPopupDelay

public void setPopupDelay(int delay)

setText

public void setText(String txt)

setTextLabel

public void setTextLabel(String arg1, boolean arg2)

setTextLabel

public void setTextLabel(String arg1)

setTextPosition

public void setTextPosition(int pos)

setToggleButton

public void setToggleButton(boolean enable)

setUsesBigPixmap

public void setUsesBigPixmap(boolean enable)

setUsesTextLabel

public void setUsesTextLabel(boolean enable)

sizeHint

public QSize sizeHint()

textLabel

public String textLabel()

textPosition

public int textPosition()

toggle

public void toggle()

tr

public static String tr(String arg1, String arg2)

tr

public static String tr(String arg1)

uses3D

protected boolean uses3D()

usesBigPixmap

public boolean usesBigPixmap()

usesTextLabel

public boolean usesTextLabel()