PythonQtWrapper_QDropEvent.h
30 lines
| 1.2 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QDROPEVENT_H | ||
#define PYTHONQTWRAPPER_QDROPEVENT_H | ||||
#include <qevent.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qmimedata.h> | ||||
#include <qpoint.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QDropEvent : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QDropEvent* new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); | ||||
void delete_QDropEvent(QDropEvent* obj) { delete obj; } | ||||
void acceptProposedAction(QDropEvent* theWrappedObject); | ||||
Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; | ||||
Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; | ||||
const QMimeData* mimeData(QDropEvent* theWrappedObject) const; | ||||
Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const; | ||||
const QPoint& pos(QDropEvent* theWrappedObject) const; | ||||
Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const; | ||||
Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const; | ||||
void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action); | ||||
QWidget* source(QDropEvent* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QDROPEVENT_H | ||||