Commit fc578939 authored by Kai Koehne's avatar Kai Koehne

QmlDesigner: Add a couple of example .qml files for manual testing

parent 324f64b9
import Qt 4.6
Rectangle {
width: 200
height: 200
Text {
x: 66
y: 93
text: "Hello World"
}
}
import Qt 4.6
Rectangle {
width: 200
height: 200
color: "black"
Text {
x: 66
y: 93
text: "Hello World"
color: "white"
}
}
import Qt 4.6
Rectangle {
id: rect
width: 200
height: 200
Text {
x: 66
y: 93
text: "Base State"
}
states: [
State {
name: "State1"
PropertyChanges {
target: rect
color: "blue"
}
PropertyChanges {
target: text
text: "State1"
}
},
State {
name: "State2"
PropertyChanges {
target: rect
color: "gray"
}
PropertyChanges {
target: text
text: "State2"
}
}
]
}
// File generated by QtCreator
import QmlProject 1.0
Project {
// Scan current directory for .qml, .js, and image files
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment