PythonQtWrapper_QLabel.h
149 lines
| 6.5 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QLABEL_H | ||
#define PYTHONQTWRAPPER_QLABEL_H | ||||
#include <qlabel.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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 <qlabel.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qmovie.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpicture.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QLabel : public QLabel | ||
{ | ||||
public: | ||||
PythonQtShell_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(parent, f),_wrapper(NULL) {}; | ||||
PythonQtShell_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(text, parent, f),_wrapper(NULL) {}; | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* ev); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* ev); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* ev); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* ev); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* ev); | ||||
virtual void mousePressEvent(QMouseEvent* ev); | ||||
virtual void mouseReleaseEvent(QMouseEvent* ev); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QLabel : public QLabel | ||||
{ public: | ||||
florianlink
|
r28 | inline void promoted_changeEvent(QEvent* arg__1) { QLabel::changeEvent(arg__1); } | ||
florianlink
|
r73 | inline int promoted_heightForWidth(int arg__1) const { return QLabel::heightForWidth(arg__1); } | ||
inline void promoted_keyPressEvent(QKeyEvent* ev) { QLabel::keyPressEvent(ev); } | ||||
inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QLabel::mouseMoveEvent(ev); } | ||||
florianlink
|
r28 | inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QLabel::mouseReleaseEvent(ev); } | ||
florianlink
|
r73 | inline bool promoted_focusNextPrevChild(bool next) { return QLabel::focusNextPrevChild(next); } | ||
florianlink
|
r28 | inline bool promoted_event(QEvent* e) { return QLabel::event(e); } | ||
inline void promoted_contextMenuEvent(QContextMenuEvent* ev) { QLabel::contextMenuEvent(ev); } | ||||
florianlink
|
r73 | inline void promoted_focusInEvent(QFocusEvent* ev) { QLabel::focusInEvent(ev); } | ||
florianlink
|
r28 | inline void promoted_mousePressEvent(QMouseEvent* ev) { QLabel::mousePressEvent(ev); } | ||
florianlink
|
r73 | inline void promoted_paintEvent(QPaintEvent* arg__1) { QLabel::paintEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_focusOutEvent(QFocusEvent* ev) { QLabel::focusOutEvent(ev); } | ||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QLabel : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLabel* new_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0); | ||||
QLabel* new_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0); | ||||
void delete_QLabel(QLabel* obj) { delete obj; } | ||||
florianlink
|
r24 | void changeEvent(QLabel* theWrappedObject, QEvent* arg__1); | ||
QSize minimumSizeHint(QLabel* theWrappedObject) const; | ||||
const QPixmap* pixmap(QLabel* theWrappedObject) const; | ||||
int heightForWidth(QLabel* theWrappedObject, int arg__1) const; | ||||
florianlink
|
r73 | bool wordWrap(QLabel* theWrappedObject) const; | ||
florianlink
|
r28 | void keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev); | ||
void setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1); | ||||
florianlink
|
r73 | void setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags); | ||
florianlink
|
r28 | void mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||
florianlink
|
r73 | void mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||
QString text(QLabel* theWrappedObject) const; | ||||
bool focusNextPrevChild(QLabel* theWrappedObject, bool next); | ||||
bool event(QLabel* theWrappedObject, QEvent* e); | ||||
bool openExternalLinks(QLabel* theWrappedObject) const; | ||||
void setMargin(QLabel* theWrappedObject, int arg__1); | ||||
void contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev); | ||||
florianlink
|
r28 | Qt::TextInteractionFlags textInteractionFlags(QLabel* theWrappedObject) const; | ||
florianlink
|
r73 | const QPicture* picture(QLabel* theWrappedObject) const; | ||
void setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1); | ||||
florianlink
|
r28 | void setWordWrap(QLabel* theWrappedObject, bool on); | ||
bool hasScaledContents(QLabel* theWrappedObject) const; | ||||
florianlink
|
r73 | QWidget* buddy(QLabel* theWrappedObject) const; | ||
void focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev); | ||||
void setScaledContents(QLabel* theWrappedObject, bool arg__1); | ||||
void mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||||
Qt::TextFormat textFormat(QLabel* theWrappedObject) const; | ||||
int indent(QLabel* theWrappedObject) const; | ||||
void paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1); | ||||
QMovie* movie(QLabel* theWrappedObject) const; | ||||
void setBuddy(QLabel* theWrappedObject, QWidget* arg__1); | ||||
int margin(QLabel* theWrappedObject) const; | ||||
QSize sizeHint(QLabel* theWrappedObject) const; | ||||
void focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev); | ||||
Qt::Alignment alignment(QLabel* theWrappedObject) const; | ||||
void setOpenExternalLinks(QLabel* theWrappedObject, bool open); | ||||
void setIndent(QLabel* theWrappedObject, int arg__1); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QLABEL_H | ||||