15 #ifndef QGSFILEDROPEDIT_H
16 #define QGSFILEDROPEDIT_H
31 void setDirOnly(
bool isDirOnly );
34 void setFileOnly(
bool isFileOnly );
37 void setSuffixFilter(
const QString& suffix );
41 virtual void dragEnterEvent( QDragEnterEvent *event )
override;
42 virtual void dragLeaveEvent( QDragLeaveEvent *event )
override;
43 virtual void dropEvent( QDropEvent *event )
override;
44 virtual void paintEvent( QPaintEvent *e )
override;
47 QString acceptableFilePath( QDropEvent *event )
const;