summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/t2
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/tutorials/t2')
-rw-r--r--examples/declarative/tutorials/t2/Cell.qml16
-rw-r--r--examples/declarative/tutorials/t2/tutorial2.qml41
2 files changed, 0 insertions, 57 deletions
diff --git a/examples/declarative/tutorials/t2/Cell.qml b/examples/declarative/tutorials/t2/Cell.qml
deleted file mode 100644
index bd5bbe7..0000000
--- a/examples/declarative/tutorials/t2/Cell.qml
+++ /dev/null
@@ -1,16 +0,0 @@
-Item {
- id: CellContainer
- width: 40
- height: 25
- properties: Property {
- name: "color"
- }
- Rect {
- anchors.fill: parent
- color: CellContainer.color
- }
- MouseRegion {
- anchors.fill: parent
- onClicked: { HelloText.color = CellContainer.color }
- }
-}
diff --git a/examples/declarative/tutorials/t2/tutorial2.qml b/examples/declarative/tutorials/t2/tutorial2.qml
deleted file mode 100644
index 08ea9eb..0000000
--- a/examples/declarative/tutorials/t2/tutorial2.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-Rect {
- id: Page
- width: 480
- height: 200
- color: "white"
- Text {
- id: HelloText
- text: "Hello world!"
- font.size: 24
- font.bold: true
- y: 30
- anchors.horizontalCenter: Page.horizontalCenter
- }
- GridLayout {
- id: ColorPicker
- x: 0
- anchors.bottom: Page.bottom
- width: 120
- height: 50
- columns: 3
- rows: 2
- Cell {
- color: "#ff0000"
- }
- Cell {
- color: "#00ff00"
- }
- Cell {
- color: "#0000ff"
- }
- Cell {
- color: "#ffff00"
- }
- Cell {
- color: "#00ffff"
- }
- Cell {
- color: "#ff00ff"
- }
- }
-}