| Former release plan | ||||||||
|---|---|---|---|---|---|---|---|---|
|
↓ ↓ ↓
| Current release plan | ||
|---|---|---|
| Qt | QtCreator | Nokia Qt SDK |
| Qt 4.6.x | QtCreator 1.x | |
| Nokia Qt SDK 1.0(with QtCreator 2.0) | ||
| Qt 4.7.0 | QtCreator 2.1 | |
And now, Nokia Qt SDK 1.0 RC and QtCreator 2.0 RC are available.
| Former release plan | ||||||||
|---|---|---|---|---|---|---|---|---|
|
| Current release plan | ||
|---|---|---|
| Qt | QtCreator | Nokia Qt SDK |
| Qt 4.6.x | QtCreator 1.x | |
| Nokia Qt SDK 1.0(with QtCreator 2.0) | ||
| Qt 4.7.0 | QtCreator 2.1 | |
import Qt 4.7
import org.webkit 1.0
Rectangle {
width: webView.width
height: webView.height
Text {
x: 300
y: 200
text: "hidden text"
smooth: true
}
WebView {
id: webView
width: 640
height: 480
opacity: 0.5
url: 'http://html5demos.com/canvas-grad'
}
}
Youhei@3935-CF61 ~ $ tar -jxvf ruby-1.9.2-preview3.tar.bz2 Youhei@3935-CF61 ~ $ cd ruby-1.9.2-preview3 Youhei@3935-CF61 ~/ruby-1.9.2-preview3 $ ./configure --prefix=c:/ruby-1.9.1 --enable-shared Youhei@3935-CF61 ~/ruby-1.9.2-preview3 $ make Youhei@3935-CF61 ~/ruby-1.9.2-preview3 $ make install
>/opt/ruby-1.9.1/bin/ruby --version ruby 1.9.2dev (2010-05-31 revision 28117) [i686-linux]
import Qt 4.7
Rectangle {
width: 200
height: 200
Text {
id: message // naming this to manage states
x: 60
y: 80
text: "changable"
smooth: true
states: [
State {
name: "right"
PropertyChanges { target: message; color: "#0000FF"; font.pointSize: 12; font.italic: true }
}, // couple of state:right and its behavior
State {
name: "left"
PropertyChanges { target: message; color: "#000000"; font.pointSize: 10; font.italic: false }
} // couple of state:left and its behavior
] // state elements
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: {
if (mouse.button == Qt.RightButton) {
message.state = "right"; // change the state to "right"
} else {
message.state = "left"; // change the state to "left"
}
}
}
}