#include <OSDropZone.hpp>
openstudio::OSDropZone::OSDropZone |
( |
OSVectorController * |
vectorController, |
|
|
const QString & |
text = "Drag From Library" , |
|
|
const QSize & |
size = QSize(0, 0) , |
|
|
bool |
m_growsHorizontally = true , |
|
|
* |
parent = nullptr |
|
) |
| |
virtual openstudio::OSDropZone::~OSDropZone |
( |
| ) |
|
|
inlinevirtual |
void openstudio::OSDropZone::addButtonClicked |
( |
| ) |
|
|
signal |
void openstudio::OSDropZone::hideAddButton |
( |
| ) |
|
void openstudio::OSDropZone::itemClicked |
( |
OSItem * |
item | ) |
|
|
signal |
void openstudio::OSDropZone::itemDropped |
( |
const OSItemId & |
itemId | ) |
|
|
signal |
void openstudio::OSDropZone::itemRemoveClicked |
( |
OSItem * |
item | ) |
|
|
signal |
void openstudio::OSDropZone::itemReplacementDropped |
( |
OSItem * |
currentItem, |
|
|
const OSItemId & |
replacementItemId |
|
) |
| |
|
signal |
bool openstudio::OSDropZone::itemsAcceptDrops |
( |
| ) |
const |
bool openstudio::OSDropZone::itemsDraggable |
( |
| ) |
const |
bool openstudio::OSDropZone::itemsRemoveable |
( |
| ) |
const |
void openstudio::OSDropZone::itemsRequested |
( |
| ) |
|
|
signal |
int openstudio::OSDropZone::maxItems |
( |
| ) |
const |
int openstudio::OSDropZone::minItems |
( |
| ) |
const |
virtual void openstudio::OSDropZone::onDrop |
( |
const OSItemId & |
itemId | ) |
|
|
protectedvirtual |
void openstudio::OSDropZone::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
void openstudio::OSDropZone::setItemsAcceptDrops |
( |
bool |
itemsAcceptDrops | ) |
|
void openstudio::OSDropZone::setItemsDraggable |
( |
bool |
itemsDraggable | ) |
|
void openstudio::OSDropZone::setItemsRemoveable |
( |
bool |
itemsRemoveable | ) |
|
bool openstudio::OSDropZone::setMaxItems |
( |
int |
max | ) |
|
bool openstudio::OSDropZone::setMinItems |
( |
int |
min | ) |
|
void openstudio::OSDropZone::setUseLargeIcon |
( |
bool |
userLargeIcon | ) |
|
void openstudio::OSDropZone::showAddButton |
( |
| ) |
|
bool openstudio::OSDropZone::useLargeIcon |
( |
| ) |
|