PythonQtWrapper_QRubberBand.h
53 lines
| 1.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QRUBBERBAND_H | ||
#define PYTHONQTWRAPPER_QRUBBERBAND_H | ||||
#include <qrubberband.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QRubberBand : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(Shape ) | ||||
enum Shape{ | ||||
Line = QRubberBand::Line, Rectangle = QRubberBand::Rectangle}; | ||||
public slots: | ||||
QRubberBand* new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = 0); | ||||
void delete_QRubberBand(QRubberBand* obj) { delete obj; } | ||||
void move(QRubberBand* theWrappedObject, const QPoint& p); | ||||
void move(QRubberBand* theWrappedObject, int x, int y); | ||||
void resize(QRubberBand* theWrappedObject, const QSize& s); | ||||
void resize(QRubberBand* theWrappedObject, int w, int h); | ||||
void setGeometry(QRubberBand* theWrappedObject, const QRect& r); | ||||
void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); | ||||
QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QRUBBERBAND_H | ||||