![]() |
NDEVR
API Documentation
|
Shows a cross with 5 different drop area possibilities. More...
Public Member Functions | |
| DropOverlayCross (DropOverlay *overlay) | |
| Constructs the cross overlay for the given DropOverlay parent. | |
| DropArea | cursorLocation () const |
| Returns the drop area currently under the mouse cursor. | |
| void | setAreaWidgets (const QHash< DropArea, QWidget * > &widgets) |
| Sets the mapping of drop areas to their corresponding indicator widgets. | |
Protected Member Functions | |
| virtual void | showEvent (QShowEvent *e) |
| Handles the show event to position the cross indicator widgets. | |
Shows a cross with 5 different drop area possibilities.
Definition at line 120 of file DropOverlay.h.
| DropOverlayCross::DropOverlayCross | ( | DropOverlay * | overlay | ) |
Constructs the cross overlay for the given DropOverlay parent.
| [in] | overlay | The parent DropOverlay that owns this cross widget. |
References DropOverlayCross().
Referenced by DropOverlayCross().
| DropArea DropOverlayCross::cursorLocation | ( | ) | const |
Returns the drop area currently under the mouse cursor.
| void DropOverlayCross::setAreaWidgets | ( | const QHash< DropArea, QWidget * > & | widgets | ) |
Sets the mapping of drop areas to their corresponding indicator widgets.
| [in] | widgets | A hash mapping DropArea values to their QWidget indicators. |
|
protectedvirtual |
Handles the show event to position the cross indicator widgets.
| [in] | e | The show event. |