#include <Workspace/Presentation/inputscalaractions.h>
◆ InputScalarActions() [1/2]
◆ InputScalarActions() [2/2]
◆ ~InputScalarActions()
◆ customContextMenu()
void customContextMenu |
( |
| ) |
|
Creates a custom context menu at the current mouse cursor location.
◆ dragStart()
void dragStart |
( |
QWidget * |
dragSource | ) |
|
- Parameters
-
dragSource | The widget that initiated the drag request. |
Performs a drag and drop operation using dragSource as the initiator of the request. The drag is assumed to correspond to a drag from what this actions object refers to.
- Postcondition
- The drag and drop will be completed or aborted by the time dragStart() returns.
- See also
- isDroppable(), drop()
◆ drop()
void drop |
( |
const QMimeData & |
mimeData | ) |
|
- Parameters
-
mimeData | The MIME data from an active drag event. |
- Precondition
- The drag that owns mimeData must have previously resulted in mimeData being passed to dragEnter() and/or dragMove() for validation. If either of those two functions return false, drop() must not be called with that mimeData.
- See also
- dragStart(), isDroppable()
◆ getInput()
- Returns
- The input that this object is for.
◆ inputScalarDeleted()
◆ isDroppable()
bool isDroppable |
( |
const QMimeData & |
mimeData | ) |
|
- Parameters
-
mimeData | The MIME data from an active drag event. |
- Returns
- True if the mimeData holds the information required that would allow a valid drop on this input.
- See also
- dragStart(), drop()