Skip to content

Commit

Permalink
Prepared for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tim37021 committed Nov 27, 2020
1 parent c1568a1 commit 5bf0ba5
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 410 deletions.
48 changes: 10 additions & 38 deletions App.qml
Original file line number Diff line number Diff line change
@@ -1,44 +1,16 @@
import qmlcore 1.0
import browser.qmlcore 1.0

Rectangle {
Test {
id: root
color: "white"
property Image img: Image {}

Rectangle {
x: rect.x
width: 10
height: 10
color: "red"
property int z: 300
x: z+y+200
property int y: 200

onXChanged: {
console.log('fuck')
}
onXChanged: {
console.log(x);
}



Rectangle {
width: 100
height: 100
color: "black"

Rectangle {
id: rect
anchors.centerIn: parent
width: 10
height: 10
}

MouseArea {
width: parent.width
height: parent.height

onClicked: {
parent.width+=50
}
}
onCompleted: {
y+=200;
console.log('shit')
}

}
4 changes: 4 additions & 0 deletions Test.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CoreObject {
property int x: 100

}
9 changes: 5 additions & 4 deletions agenda.org
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@
There are some issuses. String(function) will no longer be source code.
** DONE QML id Scoping

* v0.2 [75%]
* v0.2 [100%]
** DONE Support Object Property
** DONE Refactor Generator
** DONE Property's Member Binding
** TODO Computed Block Property
* v0.3 [0%]
** TODO Alias Property
** TODO Correct Initialization Order [0/1]
- [ ] onPropChanged after object creation
** TODO Anchor System
** TODO Alias Property
** TODO Better IR Design
** TODO Prevent Property Reinitialize
* Backlog [0/3]
** TODO Computed Block Property
** TODO Process argopt [1/2]
- [X] Basic input output
- [ ] ES Target Selection
Expand Down
Loading

0 comments on commit 5bf0ba5

Please sign in to comment.