21 #ifndef VFILEPROPERTYEDITOR_H
22 #define VFILEPROPERTYEDITOR_H
24 #include <qcompilerdetection.h>
26 #include <QMetaObject>
30 #include <QStringList>
31 #include <QToolButton>
52 virtual bool eventFilter(QObject* obj, QEvent* ev) Q_DECL_OVERRIDE;
74 void setFile(
const QString &value,
bool emit_signal =
false);
79 void setFilter(
const QString& dialog_filter = QString(),
const QStringList& filter_list = QStringList());
89 virtual void dragEnterEvent(QDragEnterEvent* event) Q_DECL_OVERRIDE;
90 virtual void dragMoveEvent(QDragMoveEvent* event) Q_DECL_OVERRIDE;
91 virtual void dragLeaveEvent(QDragLeaveEvent* event) Q_DECL_OVERRIDE;
92 virtual void dropEvent(QDropEvent* event) Q_DECL_OVERRIDE;
95 virtual bool checkMimeData(
const QMimeData* data, QString& file)
const;