mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
Add sound cues to create app
This commit is contained in:
parent
bd418364e1
commit
b791dcba7f
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
import QtQuick 2.0
|
||||
import QtGraphicalEffects 1.0
|
||||
import TabletScriptingInterface 1.0
|
||||
|
||||
Item {
|
||||
id: newEntityButton
|
||||
|
@ -122,9 +123,11 @@ Item {
|
|||
hoverEnabled: true
|
||||
enabled: true
|
||||
onClicked: {
|
||||
tabletInterface.playSound(TabletEnums.ButtonClick);
|
||||
newEntityButton.clicked();
|
||||
}
|
||||
onEntered: {
|
||||
tabletInterface.playSound(TabletEnums.ButtonHover);
|
||||
newEntityButton.state = "hover state";
|
||||
}
|
||||
onExited: {
|
||||
|
|
Loading…
Reference in a new issue