8#include <QQmlListProperty>
9#include <QQmlParserStatus>
14class InputArea :
public QObject,
public QQmlParserStatus
23 Q_INTERFACES(QQmlParserStatus)
25 QML_LIST_PROPERTY_ASSIGN_BEHAVIOR_APPEND
63 bool m_initialized =
false;
65 bool m_enabled =
true;
66 qreal m_x = 0, m_y = 0, m_width = 0, m_height = 0;
75 Q_INTERFACES(QQmlParserStatus)
100 bool m_initialized =
false;
101 bool m_enabled =
true;
102 QWindow *m_window =
nullptr;
103 QList<InputArea *> m_areas;
105 static qsizetype areasCount(QQmlListProperty<InputArea> *list);
106 static InputArea *areaAt(QQmlListProperty<InputArea> *list, qsizetype index);
109 void setInputRegion();