DropSupport Class

(Utils::DropSupport)
Inherits: QObject

Public Types

Public Functions

DropSupport(QWidget *parentWidget, const DropFilterFunction &filterFunction = DropFilterFunction())
bool isFileDrop(QDropEvent *event) const
bool isValueDrop(QDropEvent *event) const
  • 31 public functions inherited from QObject

Signals

void filesDropped(const QList<Utils::DropSupport::FileSpec> &files, const QPoint &dropPos)
void valuesDropped(const QList<QVariant> &values, const QPoint &dropPos)

Static Public Members

QStringList mimeTypesForFilePaths()
  • 10 static public members inherited from QObject

Reimplemented Protected Functions

virtual bool eventFilter(QObject *obj, QEvent *event)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Member Type Documentation

typedef DropSupport::DropFilterFunction

Member Function Documentation

DropSupport::DropSupport(QWidget *parentWidget, const DropFilterFunction &filterFunction = DropFilterFunction())

Default constructs an instance of DropSupport.

[virtual protected] bool DropSupport::eventFilter(QObject *obj, QEvent *event)

[signal] void DropSupport::filesDropped(const QList<Utils::DropSupport::FileSpec> &files, const QPoint &dropPos)

bool DropSupport::isFileDrop(QDropEvent *event) const

bool DropSupport::isValueDrop(QDropEvent *event) const

[static] QStringList DropSupport::mimeTypesForFilePaths()

[signal] void DropSupport::valuesDropped(const QList<QVariant> &values, const QPoint &dropPos)