mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
2acec5f20a
重组qml文件,使用qmldir文件实现模块化
21 lines
392 B
QML
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);
|
|
}
|
|
|
|
}
|