FreeKill/Fk/SkillInteraction/SkillSpin.qml
notify 2acec5f20a
Qmldir (#155)
重组qml文件,使用qmldir文件实现模块化
2023-05-19 10:08:36 +08:00

21 lines
392 B
QML

// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import QtQuick.Controls
SpinBox {
background: Rectangle { color: "#88EEEEEE" }
property int answer: value
property string skill
// from, to
onValueChanged: {
Backend.callLuaFunction(
"SetInteractionDataOfSkill",
[skill, JSON.stringify(answer)]
);
roomScene.dashboard.startPending(skill);
}
}