4 #include <QGraphicsView> 16 void dropImage(
const QString &filePath );
18 void saveFile(
const QString &item );
25 virtual void dropEvent( QDropEvent *event )
override;
29 virtual void resizeEvent( QResizeEvent *event )
override;
virtual void dragLeaveEvent(QDragLeaveEvent *event) override
void saveFile(const QString &item)
void dropImage(const QString &filePath)
GraphicsView(QWidget *parent=0)
virtual void dropEvent(QDropEvent *event) override
virtual void dragEnterEvent(QDragEnterEvent *event) override
virtual void resizeEvent(QResizeEvent *event) override
virtual void dragMoveEvent(QDragMoveEvent *event) override
void dropFolder(const QString &folderPath)