6 #ifndef SWIFT_GUI_DROPSITE_H
7 #define SWIFT_GUI_DROPSITE_H
14 #include "gui/dropbase.h"
40 void setInfoText(
const QString &dropSiteText);
43 void allowDrop(
bool allowed)
override;
60 virtual void dropEvent(
QDropEvent *event)
override;
64 void onStyleSheetsChanged();
70 bool m_allowDrop =
true;
Utilities for dropping swift value objects.
Area where items can be dropped.
void droppedValueObject(const swift::misc::CVariant &droppedObject)
Dropped value object.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
#define SWIFT_GUI_EXPORT
Export a class or function from the library.