Open 3D Engine AzQtComponents API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzQtComponents::DragAndDrop Class Reference

#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.
 

Detailed Description

Special class to handle styling and painting of Drag and Drop operations. You can use DragAndDrop.ini to configure colors and line widths.


The documentation for this class was generated from the following file: