This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/utils/DoricInputBridge.h

23 lines
429 B
C
Raw Permalink Normal View History

2021-05-27 10:56:58 +08:00
#ifndef DORICINPUTBRIDGE_H
#define DORICINPUTBRIDGE_H
#include <QObject>
#include <QVariant>
#include "DoricExport.h"
class DORIC_EXPORT DoricInputBridge : public QObject {
Q_OBJECT
public:
explicit DoricInputBridge(QObject *parent = nullptr);
Q_INVOKABLE
void onTextChange(QString pointer, QString text);
Q_INVOKABLE
2021-05-27 14:00:19 +08:00
void onFocusChange(QString pointer, bool hasFocus);
2021-05-27 10:56:58 +08:00
signals:
};
#endif // DORICINPUTBRIDGE_H