Add drop file support
This commit is contained in:
@@ -59,6 +59,10 @@ protected:
|
||||
void paintGL();
|
||||
void resizeGL(int w, int h);
|
||||
void initializeGL();
|
||||
void dragEnterEvent(QDragEnterEvent *event);
|
||||
void dropEvent(QDropEvent *event);
|
||||
signals:
|
||||
void fileDropped(const QString &path);
|
||||
};
|
||||
|
||||
class ImageScrollAreaGL : public QWidget
|
||||
|
||||
Reference in New Issue
Block a user