Item position Q_INVOKABLE functions have been added

This commit is contained in:
Arin Alexander
2016-07-25 15:16:21 +03:00
parent a4ae0c284b
commit 30a662db0c
2 changed files with 38 additions and 0 deletions

View File

@@ -251,6 +251,12 @@ public:
Q_INVOKABLE QString setItemWidth(qreal width);
Q_INVOKABLE QString setItemHeight(qreal height);
Q_INVOKABLE qreal getItemWidth();
Q_INVOKABLE qreal getItemHeight();
Q_INVOKABLE qreal getItemPosX();
Q_INVOKABLE qreal getItemPosY();
Q_INVOKABLE QString setItemPosX(qreal xValue);
Q_INVOKABLE QString setItemPosY(qreal yValue);
protected:
//ICollectionContainer