FreeKill/Fk/SkillInteraction/SkillSpin.qml

17 lines
353 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: {
lcall("SetInteractionDataOfSkill", skill, JSON.stringify(answer));
roomScene.dashboard.startPending(skill);
}
}