mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
75 lines
1.6 KiB
QML
75 lines
1.6 KiB
QML
|
|
import QtQuick
|
||
|
|
import QtQuick.Controls
|
||
|
|
import QtQuick.Layouts
|
||
|
|
|
||
|
|
import PageEnum 1.0
|
||
|
|
|
||
|
|
import "./"
|
||
|
|
import "../Controls2"
|
||
|
|
import "../Config"
|
||
|
|
import "../Controls2/TextTypes"
|
||
|
|
|
||
|
|
PageType {
|
||
|
|
id: root
|
||
|
|
|
||
|
|
BackButtonType {
|
||
|
|
id: backButton
|
||
|
|
|
||
|
|
anchors.top: parent.top
|
||
|
|
anchors.left: parent.left
|
||
|
|
anchors.right: parent.right
|
||
|
|
anchors.rightMargin: 16
|
||
|
|
anchors.leftMargin: 16
|
||
|
|
anchors.topMargin: 20
|
||
|
|
}
|
||
|
|
|
||
|
|
FlickableType {
|
||
|
|
id: fl
|
||
|
|
anchors.top: backButton.bottom
|
||
|
|
anchors.bottom: root.bottom
|
||
|
|
contentHeight: content.height
|
||
|
|
|
||
|
|
ColumnLayout {
|
||
|
|
id: content
|
||
|
|
|
||
|
|
anchors.top: parent.top
|
||
|
|
anchors.left: parent.left
|
||
|
|
anchors.right: parent.right
|
||
|
|
anchors.leftMargin: 16
|
||
|
|
anchors.rightMargin: 16
|
||
|
|
|
||
|
|
spacing: 16
|
||
|
|
|
||
|
|
HeaderType {
|
||
|
|
Layout.fillWidth: true
|
||
|
|
|
||
|
|
headerText: qsTr("Application")
|
||
|
|
}
|
||
|
|
|
||
|
|
LabelWithButtonType {
|
||
|
|
Layout.fillWidth: true
|
||
|
|
|
||
|
|
text: qsTr("Language")
|
||
|
|
buttonImage: "qrc:/images/controls/chevron-right.svg"
|
||
|
|
|
||
|
|
clickedFunction: function() {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
DividerType {}
|
||
|
|
|
||
|
|
LabelWithButtonType {
|
||
|
|
Layout.fillWidth: true
|
||
|
|
|
||
|
|
text: qsTr("Reset settings and remove all data from the application")
|
||
|
|
buttonImage: "qrc:/images/controls/chevron-right.svg"
|
||
|
|
|
||
|
|
clickedFunction: function() {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
DividerType {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|