4#ifndef QCOCOAINPUTCONTEXT_H
5#define QCOCOAINPUTCONTEXT_H
7#include <qpa/qplatforminputcontext.h>
8#include <QtCore/QLocale>
9#include <QtCore/QPointer>
11#include <QtCore/private/qcore_mac_p.h>
22 bool isValid()
const override {
return true; }
27 void reset()
override;
Cocoa Input context implementation.
void reset() override
Cancels a composition.
QLocale locale() const override
void setFocusObject(QObject *object) override
This virtual method gets called to notify updated focus to object.
bool isValid() const override
Returns input context validity.
void commit() override
Commits the current composition if there is one, by "unmarking" the text in the edit buffer,...
The QPlatformInputContext class abstracts the input method dependent data and composing state.
Combined button and popup list for selecting options.