mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-05-15 02:49:33 +00:00
ref #78
This commit is contained in:
parent
d50597ee7c
commit
317601b00c
HanoiTowers/client
@ -10,7 +10,7 @@ import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Dialogs 1.3
|
||||
import QtQuick.Layouts 1.15
|
||||
|
||||
import QtMultimedia 5.15
|
||||
|
||||
Item {
|
||||
visible: true
|
||||
@ -124,6 +124,8 @@ Item {
|
||||
|
||||
function trigered(obj) {
|
||||
|
||||
clickSound.play()
|
||||
|
||||
stateWidget.tumbler.visible = false;
|
||||
let objectPlate = null;
|
||||
if (upPlate) {
|
||||
@ -247,4 +249,8 @@ Item {
|
||||
id: help
|
||||
}
|
||||
|
||||
SoundEffect {
|
||||
id: clickSound
|
||||
source: "qrc:/sound/blockSound"
|
||||
}
|
||||
}
|
||||
|
@ -59,8 +59,14 @@ Item {
|
||||
|
||||
id: loginPopUp
|
||||
lognViewModel: userLogin // exampleLogin - this is inited model in main.cpp
|
||||
width: 20 * fontPoints
|
||||
height: 15 * fontPoints
|
||||
height: 13 * fontMetrics.height
|
||||
width: 15 * fontMetrics.height
|
||||
|
||||
FontMetrics {
|
||||
id: fontMetrics
|
||||
font.capitalization: Font.AllUppercase
|
||||
font.bold: true
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: backEnd;
|
||||
|
@ -12,4 +12,7 @@
|
||||
<qresource prefix="/sql">
|
||||
<file>sql/database.sql</file>
|
||||
</qresource>
|
||||
<qresource prefix="/sound">
|
||||
<file alias="blockSound">res/TowerBlockSound_18.wav</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
HanoiTowers/client/res/TowerBlockSound_18.wav
Normal file
BIN
HanoiTowers/client/res/TowerBlockSound_18.wav
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user