diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2014-06-17 11:34:18 +0300 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@digia.com> | 2014-06-20 11:43:36 +0300 |
commit | d5558b846810ba1945a18e656b0a3c0d576d2138 (patch) | |
tree | 323a8a6e4068bacf1f50e00188e63e22d24ea6db /src/virtualkeyboard/content/styles | |
parent | 641096083da7685dbec1d92149b9930cdd98c7ac (diff) |
Add sound effects for the default style
The original samples can be found here:
http://www.freesound.org/people/KorgMS2000B/sounds/54405/
http://www.freesound.org/people/j1987/sounds/79384/
http://www.freesound.org/people/gherat/sounds/139653/
CC0 1.0 Universal license:
http://creativecommons.org/publicdomain/zero/1.0/
Change-Id: Id3aaa601603d6bbb7f0e92cdba2f03b3f89db5f5
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/virtualkeyboard/content/styles')
-rw-r--r-- | src/virtualkeyboard/content/styles/default/sounds/backspace.wav | bin | 0 -> 2952 bytes | |||
-rw-r--r-- | src/virtualkeyboard/content/styles/default/sounds/key.wav | bin | 0 -> 11900 bytes | |||
-rw-r--r-- | src/virtualkeyboard/content/styles/default/sounds/select.wav | bin | 0 -> 24328 bytes | |||
-rw-r--r-- | src/virtualkeyboard/content/styles/default/style.qml | 9 | ||||
-rw-r--r-- | src/virtualkeyboard/content/styles/default/style.qrc | 3 |
5 files changed, 12 insertions, 0 deletions
diff --git a/src/virtualkeyboard/content/styles/default/sounds/backspace.wav b/src/virtualkeyboard/content/styles/default/sounds/backspace.wav Binary files differnew file mode 100644 index 00000000..10e39acd --- /dev/null +++ b/src/virtualkeyboard/content/styles/default/sounds/backspace.wav diff --git a/src/virtualkeyboard/content/styles/default/sounds/key.wav b/src/virtualkeyboard/content/styles/default/sounds/key.wav Binary files differnew file mode 100644 index 00000000..19467df2 --- /dev/null +++ b/src/virtualkeyboard/content/styles/default/sounds/key.wav diff --git a/src/virtualkeyboard/content/styles/default/sounds/select.wav b/src/virtualkeyboard/content/styles/default/sounds/select.wav Binary files differnew file mode 100644 index 00000000..4f1fc319 --- /dev/null +++ b/src/virtualkeyboard/content/styles/default/sounds/select.wav diff --git a/src/virtualkeyboard/content/styles/default/style.qml b/src/virtualkeyboard/content/styles/default/style.qml index 10d15988..a74c1159 100644 --- a/src/virtualkeyboard/content/styles/default/style.qml +++ b/src/virtualkeyboard/content/styles/default/style.qml @@ -39,6 +39,7 @@ KeyboardStyle { } keyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: keyBackground radius: 5 @@ -90,6 +91,7 @@ KeyboardStyle { } backspaceKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/backspace.wav" Rectangle { id: backspaceKeyBackground radius: 5 @@ -134,6 +136,7 @@ KeyboardStyle { } languageKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: languageKeyBackground radius: 5 @@ -178,6 +181,7 @@ KeyboardStyle { } enterKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: enterKeyBackground radius: 5 @@ -261,6 +265,7 @@ KeyboardStyle { } hideKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: hideKeyBackground radius: 5 @@ -305,6 +310,7 @@ KeyboardStyle { } shiftKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: shiftKeyBackground radius: 5 @@ -371,6 +377,7 @@ KeyboardStyle { } spaceKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: spaceKeyBackground radius: 5 @@ -399,6 +406,7 @@ KeyboardStyle { } symbolKeyPanel: KeyPanel { + soundEffect: "qrc:/sounds/key.wav" Rectangle { id: symbolKeyBackground radius: 5 @@ -514,6 +522,7 @@ KeyboardStyle { selectionListHeight: 85 * scaleHint selectionListDelegate: SelectionListItem { id: selectionListItem + soundEffect: "qrc:/sounds/select.wav" width: Math.round(selectionListLabel.width + selectionListLabel.anchors.leftMargin * 2) Text { id: selectionListLabel diff --git a/src/virtualkeyboard/content/styles/default/style.qrc b/src/virtualkeyboard/content/styles/default/style.qrc index 6e469a75..9a1b3e26 100644 --- a/src/virtualkeyboard/content/styles/default/style.qrc +++ b/src/virtualkeyboard/content/styles/default/style.qrc @@ -8,5 +8,8 @@ <file>images/globe.png</file> <file>images/search.png</file> <file>images/check.png</file> + <file>sounds/backspace.wav</file> + <file>sounds/key.wav</file> + <file>sounds/select.wav</file> </qresource> </RCC> |