Warning, /education/kstars/kstars/kstarslite/qml/indi/modules/KSButtonSwitch.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com> 0002 // SPDX-License-Identifier: GPL-2.0-or-later 0003 0004 import QtQuick 2.6 0005 import QtQuick.Controls 2.0 0006 0007 Button { 0008 property string switchName: "" 0009 property Flow parentRow 0010 checkable: true 0011 checked: true 0012 0013 onClicked: { 0014 parentRow.sendNewProperty(switchName, null) 0015 Qt.inputMethod.hide() 0016 } 0017 }