63 #include "qplatformdefs.h" 173 return d->focusWidget;
341 if (widget ==
d->focusWidget)
506 bool QInputContext::symbianFilterEvent(
QWidget * ,
const QSymbianEvent * )
510 #endif // Q_OS_SYMBIAN The QColor class provides colors based on RGB, HSV or CMYK values.
The QTextCharFormat class provides formatting information for characters in a QTextDocument.
#define QT_END_NAMESPACE
This macro expands to.
const QColor & color() const
Returns the brush color.
QPointer< QWidget > widget
const QBrush & background() const
Use window() instead.
static QPalette palette()
Returns the application palette.
void setBackground(const QBrush &brush)
Sets the brush use to paint the document's background to the brush specified.
QWidget * focusWidget() const
Returns the widget that has an input focus for this input context.
T * qobject_cast(QObject *object)
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
virtual QList< QAction * > actions()
This is a preliminary interface for Qt 4.
static QFont font()
Returns the default application font.
QInputContext(QObject *parent=0)
Constructs an input context with the given parent.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void widgetDestroyed(QWidget *w)
This virtual function is called when the specified widget is destroyed.
virtual void update()
This virtual function is called when a state in the focus widget has changed.
The QTextFormat class provides formatting information for a QTextDocument.
QTextFormat standardFormat(StandardFormat s) const
Returns a QTextFormat object that specifies the format for component s.
virtual ~QInputContext()
Destroys the input context.
static bool sendEvent(QObject *receiver, QEvent *event)
Sends event event directly to receiver receiver, using the notify() function.
virtual void mouseHandler(int x, QMouseEvent *event)
This function can be reimplemented in a subclass to handle mouse press, release, double-click, and move events within the preedit text.
virtual QFont font() const
Returns the font of the current input widget.
The QMouseEvent class contains parameters that describe a mouse event.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QFont class specifies a font used for drawing text.
void sendEvent(const QInputMethodEvent &event)
Sends an input method event specified by event to the current focus widget.
QObject * parent() const
Returns a pointer to the parent object.
virtual void reset()=0
This function can be reimplemented in a subclass to reset the state of the input method.
T qvariant_cast(const QVariant &)
void setForeground(const QBrush &brush)
Sets the foreground brush to the specified brush.
virtual bool x11FilterEvent(QWidget *keywidget, XEvent *event)
This function may be overridden only if input method is depending on X11 and you need raw XEvent...
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.
void setUnderlineStyle(UnderlineStyle style)
Sets the style of underlining the text to style.
Type type() const
Returns the event type.
virtual bool filterEvent(const QEvent *event)
This function can be reimplemented in a subclass to filter input events.
const QBrush & text() const
Returns the text foreground brush of the current color group.
The QList class is a template class that provides lists.
The QPalette class contains color groups for each widget state.