handle input on text change & padding

This commit is contained in:
王劲鹏
2021-05-27 10:56:58 +08:00
committed by osborn
parent 143e52ab63
commit 2782552b41
11 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#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
void onFocusChange(QString pointer);
signals:
};
#endif // DORICINPUTBRIDGE_H