mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
426c116bac
Use it as import shared 1.0, import shared.controls 1.0 etc instead of import "../../../shared" Closes #3934
36 lines
688 B
QML
36 lines
688 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
import QtQuick.Layouts 1.13
|
|
|
|
import StatusQ.Components 0.1
|
|
import StatusQ.Controls 0.1
|
|
|
|
import utils 1.0
|
|
|
|
import "../popups"
|
|
|
|
StatusListItem {
|
|
id: root
|
|
|
|
property var buttonGroup
|
|
property alias checked: radioButton.checked
|
|
|
|
implicitHeight: 52
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: -Style.current.padding
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: -Style.current.padding
|
|
|
|
sensor.onClicked: {
|
|
radioButton.checked = !radioButton.checked
|
|
}
|
|
|
|
components: [
|
|
StatusRadioButton {
|
|
id: radioButton
|
|
ButtonGroup.group: root.buttonGroup
|
|
}
|
|
]
|
|
}
|
|
|