2019-12-01 22:27:00 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
import Sailfish.Silica 1.0
|
|
|
|
|
|
|
|
Item {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
|
|
|
property string name
|
|
|
|
property string prettyName
|
|
|
|
property int tag
|
2020-06-16 20:51:29 +03:00
|
|
|
property bool valid: false
|
2019-12-01 22:27:00 +03:00
|
|
|
|
|
|
|
property var choice
|
|
|
|
property var default_choice
|
|
|
|
|
|
|
|
signal clicked()
|
|
|
|
signal choiceMade(int tag, var choice)
|
|
|
|
onChoiceChanged: choiceMade(tag, choice)
|
|
|
|
|
|
|
|
property var menu
|
|
|
|
|
|
|
|
}
|