##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QInputContext.h
77 lines | 2.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QINPUTCONTEXT_H
#define PYTHONQTWRAPPER_QINPUTCONTEXT_H
#include <qinputcontext.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QTextFormat>
#include <QVariant>
#include <qaction.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qevent.h>
#include <qfont.h>
#include <qinputcontext.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextformat.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QInputContext : public QInputContext
{
public:
PythonQtShell_QInputContext(QObject* parent = 0):QInputContext(parent),_wrapper(NULL) {};
virtual QList<QAction* > actions();
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual bool filterEvent(const QEvent* event);
virtual QFont font() const;
virtual QString identifierName();
virtual bool isComposing() const;
virtual QString language();
virtual void mouseHandler(int x, QMouseEvent* event);
virtual void reset();
virtual void setFocusWidget(QWidget* w);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void update();
virtual void widgetDestroyed(QWidget* w);
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QInputContext : public QInputContext
{ public:
inline void promoted_widgetDestroyed(QWidget* w) { QInputContext::widgetDestroyed(w); }
inline bool promoted_filterEvent(const QEvent* event) { return QInputContext::filterEvent(event); }
inline QFont promoted_font() const { return QInputContext::font(); }
inline void promoted_mouseHandler(int x, QMouseEvent* event) { QInputContext::mouseHandler(x, event); }
inline QList<QAction* > promoted_actions() { return QInputContext::actions(); }
inline void promoted_update() { QInputContext::update(); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QInputContext : public QObject
{ Q_OBJECT
public:
Q_ENUMS(StandardFormat )
enum StandardFormat{
PreeditFormat = QInputContext::PreeditFormat, SelectionFormat = QInputContext::SelectionFormat};
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QInputContext* new_QInputContext(QObject* parent = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QInputContext(QInputContext* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event);
void widgetDestroyed(QInputContext* theWrappedObject, QWidget* w);
QTextFormat standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QWidget* focusWidget(QInputContext* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool filterEvent(QInputContext* theWrappedObject, const QEvent* event);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QFont font(QInputContext* theWrappedObject) const;
void mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QList<QAction* > actions(QInputContext* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void update(QInputContext* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QINPUTCONTEXT_H