#ifndef PYTHONQTWRAPPER_QINPUTCONTEXT_H #define PYTHONQTWRAPPER_QINPUTCONTEXT_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QInputContext : public QObject { Q_OBJECT public: Q_ENUMS(StandardFormat ) enum StandardFormat{ PreeditFormat = QInputContext::PreeditFormat, SelectionFormat = QInputContext::SelectionFormat}; public slots: void delete_QInputContext(QInputContext* obj) { delete obj; } QList actions(QInputContext* theWrappedObject); bool filterEvent(QInputContext* theWrappedObject, const QEvent* event); QWidget* focusWidget(QInputContext* theWrappedObject) const; QFont font(QInputContext* theWrappedObject) const; QString identifierName(QInputContext* theWrappedObject); bool isComposing(QInputContext* theWrappedObject) const; QString language(QInputContext* theWrappedObject); void mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event); void reset(QInputContext* theWrappedObject); void sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event); QTextFormat standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const; void update(QInputContext* theWrappedObject); void widgetDestroyed(QInputContext* theWrappedObject, QWidget* w); }; #endif // PYTHONQTWRAPPER_QINPUTCONTEXT_H