API Documentation
|
#include <DropOverlay.h>
Public Member Functions | |
DropOverlay (QWidget *parent) | |
virtual | ~DropOverlay () |
void | setAreaWidgets (const QHash< DropArea, QWidget * > &widgets) |
DropArea | cursorLocation () const |
DropArea | showDropOverlay (QWidget *target, QWidget *payload) |
void | showDropOverlay (QWidget *target, const QRect &targetAreaRect) |
void | hideDropOverlay () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *e) override |
virtual void | showEvent (QShowEvent *e) override |
virtual void | hideEvent (QHideEvent *e) override |
virtual void | resizeEvent (QResizeEvent *e) override |
virtual void | moveEvent (QMoveEvent *e) override |
Friends | |
class | DropOverlayCross |
DropOverlay paints a translucent rectangle over another widget. The geometry of the rectangle is based on the mouse location.
DropOverlay | ( | QWidget * | parent | ) |
|
virtual |
DropArea cursorLocation | ( | ) | const |
void hideDropOverlay | ( | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
void setAreaWidgets | ( | const QHash< DropArea, QWidget * > & | widgets | ) |
void showDropOverlay | ( | QWidget * | target, |
const QRect & | targetAreaRect ) |
DropArea showDropOverlay | ( | QWidget * | target, |
QWidget * | payload ) |
|
overrideprotectedvirtual |
|
friend |