harbour-seaprint/qml/components/Setting.qml
2020-11-23 20:57:02 +01:00

29 lines
539 B
QML

import QtQuick 2.0
import Sailfish.Silica 1.0
Item {
height: button.height + menu.height
width: parent.width
property string name
property string prettyName
property int tag
property bool valid: false
property var choice
property var default_choice
signal clicked()
onClicked: menu.open(this)
property alias displayValue: button.value
ValueButton {
id: button
enabled: valid
label: prettyName
onClicked: parent.clicked()
}
property var menu
}