Skip to content

Instantly share code, notes, and snippets.

Created February 21, 2012 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f7dbaa597b792255c0f2 to your computer and use it in GitHub Desktop.
Save anonymous/f7dbaa597b792255c0f2 to your computer and use it in GitHub Desktop.
import QtQuick 1.1
import com.nokia.meego 1.0
import Qt.labs.particles 1.0
import QtMobility.feedback 1.1
import QtMultimediaKit 1.1
Page {
id: page1
tools: commonTools
Rectangle {
width: screenWidth
height: screenHeight
color: "#000000"
MouseArea {
id: mouseArea
anchors.fill: parent
onPressed: {
sound.play()
}
}
SoundEffect {
id: sound
source: "qrc:///sounds/beep.wav"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment