mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
41 lines
711 B
QML
41 lines
711 B
QML
|
|
import QtQuick
|
||
|
|
import QtQuick.Controls
|
||
|
|
import QtQuick.Layouts
|
||
|
|
|
||
|
|
Button {
|
||
|
|
id: root
|
||
|
|
|
||
|
|
implicitHeight: 190
|
||
|
|
implicitWidth: 190
|
||
|
|
|
||
|
|
background: Rectangle {
|
||
|
|
id: background
|
||
|
|
|
||
|
|
radius: parent.width * 0.5
|
||
|
|
|
||
|
|
color: "transparent"
|
||
|
|
|
||
|
|
border.width: 2
|
||
|
|
border.color: "white"
|
||
|
|
}
|
||
|
|
|
||
|
|
contentItem: Text {
|
||
|
|
height: 24
|
||
|
|
|
||
|
|
font.family: "PT Root UI VF"
|
||
|
|
font.weight: 700
|
||
|
|
font.pixelSize: 20
|
||
|
|
|
||
|
|
color: "#D7D8DB"
|
||
|
|
text: root.text
|
||
|
|
|
||
|
|
horizontalAlignment: Text.AlignHCenter
|
||
|
|
verticalAlignment: Text.AlignVCenter
|
||
|
|
}
|
||
|
|
|
||
|
|
onClicked: {
|
||
|
|
background.color = "red"
|
||
|
|
ConnectionController.onConnectionButtonClicked()
|
||
|
|
}
|
||
|
|
}
|