48 #include <QAbstractSpinBox> 49 #include <QAbstractItemView> 55 mVirtualKeyboard(keyboard)
86 #if defined(QBBINPUTCONTEXT_DEBUG) 87 qDebug() <<
"QBB: hiding virtual keyboard";
94 #if defined(QBBINPUTCONTEXT_DEBUG) 95 qDebug() <<
"QBB: requesting virtual keyboard";
111 #if defined(QBBINPUTCONTEXT_DEBUG) 118 if (qobject_cast<QAbstractItemView*>(w))
virtual bool hideKeyboard()=0
#define QT_END_NAMESPACE
This macro expands to.
virtual void reset()
This function can be reimplemented in a subclass to reset the state of the input method.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QBBAbstractVirtualKeyboard & mVirtualKeyboard
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
bool handleKeyboardEvent(int flags, int sym, int mod, int scan, int cap)
Q_CORE_EXPORT void qDebug(const char *,...)
QBBInputContext(QBBAbstractVirtualKeyboard &keyboard, QObject *parent=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual bool filterEvent(const QEvent *event)
This function can be reimplemented in a subclass to filter input events.
virtual QString language()
This function must be implemented in any subclasses to return a language code (e. ...
virtual void setFocusWidget(QWidget *widget)
Sets the widget that has an input focus for this input context.
void setInputHintsFromWidget(QWidget *focusWidget)
virtual bool showKeyboard()=0
The QInputContext class abstracts the input method dependent data and composing state.
virtual void setFocusWidget(QWidget *w)
Sets the widget that has an input focus for this input context.
The QEvent class is the base class of all event classes.
Type type() const
Returns the event type.
bool hasPhysicalKeyboard()
QString languageId() const