mirror of
https://github.com/overte-org/overte.git
synced 2025-04-27 15:56:18 +02:00
27 lines
No EOL
628 B
QML
27 lines
No EOL
628 B
QML
//
|
|
// PropBool.qml
|
|
//
|
|
// Created by Sam Gateau on 3/2/2019
|
|
// Copyright 2019 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
import QtQuick 2.7
|
|
|
|
PropItem {
|
|
Global { id: global }
|
|
id: root
|
|
|
|
PropCheckBox {
|
|
id: checkboxControl
|
|
|
|
anchors.left: root.splitter.right
|
|
anchors.verticalCenter: root.verticalCenter
|
|
width: root.width * global.valueAreaWidthScale
|
|
|
|
checked: root.valueVarGetter();
|
|
onCheckedChanged: { root.valueVarSetter(checked); }
|
|
}
|
|
} |