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 );
42 virtual void dragLeaveEvent( QDragLeaveEvent *event );
43 virtual void dropEvent( QDropEvent *event );
44 virtual void paintEvent( QPaintEvent *e );
47 QString acceptableFilePath( QDropEvent *event )
const;