Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readonly properties support #14

Open
ChALkeR opened this issue Jun 7, 2016 · 2 comments
Open

Readonly properties support #14

ChALkeR opened this issue Jun 7, 2016 · 2 comments
Labels

Comments

@ChALkeR
Copy link
Member

ChALkeR commented Jun 7, 2016

See http://doc.qt.io/qt-5/qtqml-syntax-objectattributes.html#read-only-properties

The testcase is failing atm.

@ChALkeR ChALkeR added the bug label Jun 7, 2016
@ChALkeR ChALkeR changed the title Readonly properies support Readonly properties support Jun 7, 2016
@ChALkeR
Copy link
Member Author

ChALkeR commented Jun 8, 2016

Not sure if that should be a separate element or a modifier of qmlpropdef.

A separate element will require another patch in QmlWeb to be supported.
A modifier perhaps could work without patches on QmlWeb side (without actually enforcing the «readonly» rule), but I am not sure how a modifier should look like here.

@machinekoder
Copy link
Contributor

The readonly property is important to stay compatible with Qt QML. I would implement it using a modifier for qmlpropdef. I don't think a separate element is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants