org.kde.koala
public class KPushButton extends QPushButton
UNKNOWN: A QPushButton with drag-support and KGuiItem support.
Constructor Summary | |
---|---|
protected | KPushButton(Class dummy) |
KPushButton(QWidget parent, String name)
Default constructor. | |
KPushButton(QWidget parent) | |
KPushButton(String text, QWidget parent, String name)
Constructor, that sets the button-text to text | |
KPushButton(String text, QWidget parent) | |
KPushButton(QIconSet icon, String text, QWidget parent, String name)
Constructor, that sets an icon and the button-text to text | |
KPushButton(QIconSet icon, String text, QWidget parent) | |
KPushButton(KGuiItem item, QWidget parent, String name)
Constructor that takes a KGuiItem for the text, the icon, the tooltip
and the what's this help | |
KPushButton(KGuiItem item, QWidget parent) |
Method Summary | |
---|---|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected QDragObject | dragObject()
Reimplement this and return the QDragObject that should be used
for the drag.
|
protected void | finalize() Deletes the wrapped C++ instance |
int | guiItem()
Reads the standard KGuiItem for this button. |
int | guiItm() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isDragEnabled() |
QMetaObject | metaObject() |
protected void | mouseMoveEvent(QMouseEvent arg1)
Reimplemented to add drag-support |
protected void | mousePressEvent(QMouseEvent arg1)
Reimplemented to add drag-support |
void | setDragEnabled(boolean enable)
Enables/disables drag-support. |
void | setGuiItem(KGuiItem item)
Sets the KGuiItem for this button. |
void | setGuiItem(int item)
Sets the standard KGuiItem for this button. |
void | setGuiItm(int itm) |
void | setIconSet(QIconSet iconSet)
Sets the Icon Set for this button. |
void | setText(String text)
Sets the text of the button |
protected void | startDrag()
Starts a drag (dragCopy() by default) using dragObject() |
UNKNOWN: Default constructor.
text
UNKNOWN: Constructor, that sets the button-text to text
text
UNKNOWN: Constructor, that sets an icon and the button-text to text
UNKNOWN: Constructor that takes a KGuiItem for the text, the icon, the tooltip and the what's this help
UNKNOWN: Reimplement this and return the QDragObject that should be used for the drag.
UNKNOWN: Reads the standard KGuiItem for this button.
Returns: if drag support is enabled or not.
UNKNOWN:
UNKNOWN: Reimplemented to add drag-support
UNKNOWN: Reimplemented to add drag-support
UNKNOWN: Enables/disables drag-support.
UNKNOWN: Sets the KGuiItem for this button.
UNKNOWN: Sets the standard KGuiItem for this button.
UNKNOWN: Sets the Icon Set for this button.
UNKNOWN: Sets the text of the button
UNKNOWN: Starts a drag (dragCopy() by default) using dragObject()