4#include <QDragEnterEvent>
19 event->acceptProposedAction();
21 event->acceptProposedAction();
Definition FileDropFrame.h:9
std::function< bool(const QMimeData *event)> m_drop_filter
Definition FileDropFrame.h:38
void dropEvent(QDropEvent *event)
Definition FileDropFrame.h:23
void setDropCallback(const std::function< void(QDropEvent *event)> &drop_callback)
Definition FileDropFrame.h:28
void dragEnterEvent(QDragEnterEvent *event)
Definition FileDropFrame.h:16
void setDropFilter(std::function< bool(const QMimeData *event)> filter)
Definition FileDropFrame.h:32
FileDropFrame(QWidget *parent=nullptr)
Definition FileDropFrame.h:11
std::function< void(QDropEvent *event)> m_drop_callback
Definition FileDropFrame.h:37