##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QDropEvent.h
41 lines | 1.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QDROPEVENT_H
#define PYTHONQTWRAPPER_QDROPEVENT_H
#include <qevent.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qmimedata.h>
#include <qpoint.h>
#include <qwidget.h>
class PythonQtShell_QDropEvent : public QDropEvent
{
public:
PythonQtShell_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
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; }
Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const;
void acceptProposedAction(QDropEvent* theWrappedObject);
Qt::DropAction dropAction(QDropEvent* theWrappedObject) const;
void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action);
QWidget* source(QDropEvent* theWrappedObject) const;
const QMimeData* mimeData(QDropEvent* theWrappedObject) const;
Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const;
Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const;
Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const;
const QPoint* pos(QDropEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QDROPEVENT_H