PythonQtWrapper_QCursor.h
40 lines
| 1.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QCURSOR_H | ||
#define PYTHONQTWRAPPER_QCURSOR_H | ||||
#include <qcursor.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QPixmap> | ||
#include <QVariant> | ||||
#include <qbitmap.h> | ||||
#include <qcursor.h> | ||||
#include <qdatastream.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
class PythonQtWrapper_QCursor : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QCursor* new_QCursor(); | ||||
QCursor* new_QCursor(Qt::CursorShape shape); | ||||
QCursor* new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX = -1, int hotY = -1); | ||||
QCursor* new_QCursor(const QCursor& cursor); | ||||
QCursor* new_QCursor(const QPixmap& pixmap, int hotX = -1, int hotY = -1); | ||||
void delete_QCursor(QCursor* obj) { delete obj; } | ||||
florianlink
|
r73 | void static_QCursor_setPos(const QPoint& p); | ||
florianlink
|
r24 | void readFrom(QCursor* theWrappedObject, QDataStream& inS); | ||
florianlink
|
r73 | QPoint hotSpot(QCursor* theWrappedObject) const; | ||
void writeTo(QCursor* theWrappedObject, QDataStream& outS); | ||||
QPixmap pixmap(QCursor* theWrappedObject) const; | ||||
florianlink
|
r13 | void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape); | ||
florianlink
|
r24 | void static_QCursor_setPos(int x, int y); | ||
florianlink
|
r28 | Qt::CursorShape shape(QCursor* theWrappedObject) const; | ||
const QBitmap* bitmap(QCursor* theWrappedObject) const; | ||||
QPoint static_QCursor_pos(); | ||||
florianlink
|
r73 | const QBitmap* mask(QCursor* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QCURSOR_H | ||||