PythonQtWrapper_QLineEdit.h
181 lines
| 8.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QLINEEDIT_H | ||
#define PYTHONQTWRAPPER_QLINEEDIT_H | ||||
#include <qlineedit.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcompleter.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 <qlineedit.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qmenu.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 <qvalidator.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QLineEdit : public QLineEdit | ||
{ | ||||
public: | ||||
PythonQtShell_QLineEdit(QWidget* parent = 0):QLineEdit(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = 0):QLineEdit(arg__1, parent),_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* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||||
virtual void dragMoveEvent(QDragMoveEvent* e); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
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* arg__1); | ||||
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* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
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_QLineEdit : public QLineEdit | ||||
{ public: | ||||
florianlink
|
r28 | inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QLineEdit::inputMethodEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QLineEdit::dragMoveEvent(e); } | ||
florianlink
|
r28 | inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QLineEdit::keyPressEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_changeEvent(QEvent* arg__1) { QLineEdit::changeEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_dropEvent(QDropEvent* arg__1) { QLineEdit::dropEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QLineEdit::contextMenuEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QLineEdit::focusOutEvent(arg__1); } | ||
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QLineEdit::mouseReleaseEvent(arg__1); } | ||||
inline void promoted_focusInEvent(QFocusEvent* arg__1) { QLineEdit::focusInEvent(arg__1); } | ||||
inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QLineEdit::dragEnterEvent(arg__1); } | ||||
florianlink
|
r73 | inline bool promoted_event(QEvent* arg__1) { return QLineEdit::event(arg__1); } | ||
inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QLineEdit::dragLeaveEvent(e); } | ||||
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QLineEdit::mouseMoveEvent(arg__1); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QLineEdit::mousePressEvent(arg__1); } | ||||
inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QLineEdit::mouseDoubleClickEvent(arg__1); } | ||||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QLineEdit::paintEvent(arg__1); } | ||||
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QLineEdit::inputMethodQuery(arg__1); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QLineEdit : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLineEdit* new_QLineEdit(QWidget* parent = 0); | ||||
QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = 0); | ||||
void delete_QLineEdit(QLineEdit* obj) { delete obj; } | ||||
florianlink
|
r73 | void setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1); | ||
florianlink
|
r28 | void inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1); | ||
florianlink
|
r73 | void home(QLineEdit* theWrappedObject, bool mark); | ||
void dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e); | ||||
florianlink
|
r24 | QString selectedText(QLineEdit* theWrappedObject) const; | ||
void deselect(QLineEdit* theWrappedObject); | ||||
florianlink
|
r13 | bool hasSelectedText(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r24 | void keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1); | ||
void cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps = 1); | ||||
florianlink
|
r13 | int maxLength(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r28 | void cursorForward(QLineEdit* theWrappedObject, bool mark, int steps = 1); | ||
void setCursorPosition(QLineEdit* theWrappedObject, int arg__1); | ||||
florianlink
|
r73 | QString text(QLineEdit* theWrappedObject) const; | ||
void end(QLineEdit* theWrappedObject, bool mark); | ||||
void changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1); | ||||
void insert(QLineEdit* theWrappedObject, const QString& arg__1); | ||||
florianlink
|
r13 | void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); | ||
florianlink
|
r24 | void dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1); | ||
florianlink
|
r73 | void setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1); | ||
void contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1); | ||||
void backspace(QLineEdit* theWrappedObject); | ||||
florianlink
|
r28 | void focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); | ||
florianlink
|
r24 | void mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||
florianlink
|
r13 | void setInputMask(QLineEdit* theWrappedObject, const QString& inputMask); | ||
florianlink
|
r24 | int cursorPosition(QLineEdit* theWrappedObject) const; | ||
void focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); | ||||
florianlink
|
r73 | bool hasFrame(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r24 | void dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1); | ||
florianlink
|
r73 | bool isReadOnly(QLineEdit* theWrappedObject) const; | ||
bool isRedoAvailable(QLineEdit* theWrappedObject) const; | ||||
QCompleter* completer(QLineEdit* theWrappedObject) const; | ||||
void setMaxLength(QLineEdit* theWrappedObject, int arg__1); | ||||
bool event(QLineEdit* theWrappedObject, QEvent* arg__1); | ||||
bool dragEnabled(QLineEdit* theWrappedObject) const; | ||||
void dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e); | ||||
void cursorWordBackward(QLineEdit* theWrappedObject, bool mark); | ||||
Qt::Alignment alignment(QLineEdit* theWrappedObject) const; | ||||
QString displayText(QLineEdit* theWrappedObject) const; | ||||
void mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
void mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); | ||||
void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); | ||||
void setReadOnly(QLineEdit* theWrappedObject, bool arg__1); | ||||
QMenu* createStandardContextMenu(QLineEdit* theWrappedObject); | ||||
void setModified(QLineEdit* theWrappedObject, bool arg__1); | ||||
void mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
int selectionStart(QLineEdit* theWrappedObject) const; | ||||
void del(QLineEdit* theWrappedObject); | ||||
bool isUndoAvailable(QLineEdit* theWrappedObject) const; | ||||
bool hasAcceptableInput(QLineEdit* theWrappedObject) const; | ||||
void setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2); | ||||
void paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1); | ||||
void setDragEnabled(QLineEdit* theWrappedObject, bool b); | ||||
const QValidator* validator(QLineEdit* theWrappedObject) const; | ||||
QSize minimumSizeHint(QLineEdit* theWrappedObject) const; | ||||
bool isModified(QLineEdit* theWrappedObject) const; | ||||
void cursorWordForward(QLineEdit* theWrappedObject, bool mark); | ||||
QSize sizeHint(QLineEdit* theWrappedObject) const; | ||||
QVariant inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const; | ||||
QLineEdit::EchoMode echoMode(QLineEdit* theWrappedObject) const; | ||||
QString inputMask(QLineEdit* theWrappedObject) const; | ||||
florianlink
|
r28 | void setFrame(QLineEdit* theWrappedObject, bool arg__1); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QLINEEDIT_H | ||||