#include <DragAndDrop.h>
Classes | |
struct | Config |
struct | DragIndicator |
struct | DropIndicator |
Static Public Member Functions | |
static DragAndDrop::Config | loadConfig (QSettings &settings) |
Loads the button config data from a settings object. | |
static DragAndDrop::Config | defaultConfig () |
Returns default config data. | |
static bool | drawDragIndicator (const Style *style, const QStyleOption *option, QPainter *painter, const QWidget *widget, const DragAndDrop::Config &config) |
Draw the drag indicator. | |
static bool | drawDropIndicator (const Style *style, const QStyleOption *option, QPainter *painter, const QWidget *widget, const DragAndDrop::Config &config) |
Draw the drop indicator. | |
Special class to handle styling and painting of Drag and Drop operations. You can use DragAndDrop.ini to configure colors and line widths.