A simple frame that allows the user to drag and drop a file into it.
More...
#include <FileDropFrame.h>
A simple frame that allows the user to drag and drop a file into it.
◆ FileDropFrame()
◆ dragEnterEvent()
void dragEnterEvent |
( |
QDragEnterEvent * | event | ) |
|
|
inline |
◆ dropEvent()
void dropEvent |
( |
QDropEvent * | event | ) |
|
|
inline |
◆ setDropCallback()
void setDropCallback |
( |
const std::function< void(QDropEvent *event)> & | drop_callback | ) |
|
|
inline |
◆ setDropFilter()
void setDropFilter |
( |
std::function< bool(const QMimeData *event)> | filter | ) |
|
|
inline |
◆ m_drop_callback
std::function<void(QDropEvent* event)> m_drop_callback |
|
protected |
◆ m_drop_filter
std::function<bool(const QMimeData* event)> m_drop_filter |
|
protected |
The documentation for this class was generated from the following file: