amnezia-client/client/ui/qml/PageGeneralSettings.qml
2021-07-28 16:13:29 +07:00

140 lines
2.7 KiB
QML

import QtQuick 2.12
import QtQuick.Controls 2.12
import "./"
Item {
id: root
width: GC.screenWidth
height: GC.screenHeight
ImageButtonType {
id: back
x: 10
y: 10
width: 26
height: 20
icon.source: "qrc:/images/arrow_left.png"
onClicked: {
UiLogic.closePage()
}
}
Image {
x: 10
y: 160
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 220
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 620
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 560
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 280
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 100
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 340
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 400
width: 360
height: 1
source: "qrc:/images/line.png"
}
Image {
x: 10
y: 40
width: 360
height: 1
source: "qrc:/images/line.png"
}
SettingButtonType {
x: 30
y: 355
width: 330
height: 30
icon.source: "qrc:/images/plus.png"
text: qsTr("Add server")
}
SettingButtonType {
x: 30
y: 55
width: 330
height: 30
icon.source: "qrc:/images/settings.png"
text: qsTr("App settings")
}
SettingButtonType {
x: 30
y: 575
width: 330
height: 30
icon.source: "qrc:/images/settings.png"
text: qsTr("Exit")
}
SettingButtonType {
x: 30
y: 115
width: 330
height: 30
icon.source: "qrc:/images/settings.png"
text: qsTr("Network settings")
}
SettingButtonType {
x: 30
y: 175
width: 330
height: 30
icon.source: "qrc:/images/server_settings.png"
text: qsTr("Server management")
}
SettingButtonType {
x: 30
y: 295
width: 330
height: 30
icon.source: "qrc:/images/server_settings.png"
text: qsTr("Servers")
}
SettingButtonType {
x: 30
y: 235
width: 330
height: 30
icon.source: "qrc:/images/share.png"
text: qsTr("Share connection")
enabled: UiLogic.pushButtonGeneralSettingsShareConnectionEnable
}
}