handle input on text change & padding
This commit is contained in:
@@ -6,12 +6,20 @@
|
||||
#include "DoricViewNode.h"
|
||||
|
||||
class DORIC_EXPORT DoricInputNode : public DoricViewNode {
|
||||
private:
|
||||
QString onTextChangeId;
|
||||
QString onFocusChangeId;
|
||||
|
||||
public:
|
||||
using DoricViewNode::DoricViewNode;
|
||||
|
||||
QQuickItem *build() override;
|
||||
|
||||
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
|
||||
|
||||
QSizeF sizeThatFits(QSizeF size);
|
||||
|
||||
void onTextChange(QString text);
|
||||
};
|
||||
|
||||
#endif // DORICINPUTNODE_H
|
||||
|
Reference in New Issue
Block a user