|
|
This is nothing but a QPushButton with drag-support. You have to call setDragEnabled( true ) and override the virtual method dragObject() to specify the QDragObject to be used.
|
Default constructor.
|
Constructor, that sets the button-text to text
|
Constructor, that sets an icon and the button-text to text
|
Destroys the button
void |
Enables/disables drag-support. Default is enabled.
bool |
[const]
Returns: if drag support is enabled or not.
QDragObject * |
[protected: virtual]
Reimplement this and return the QDragObject that should be used for the drag. Default implementation returns 0L, so that no drag is initiated.
void |
[protected: virtual]
Reimplemented to add drag-support
void |
[protected: virtual]
Reimplemented to add drag-support
void |
[protected: virtual]
Starts a drag (dragCopy() by default) using dragObject()