added a dash for drawerType
This commit is contained in:
parent
4b64bfaec0
commit
a46e55d5c2
4 changed files with 32 additions and 8 deletions
|
@ -262,17 +262,17 @@ Already installed containers were found on the server. All installed containers
|
||||||
<context>
|
<context>
|
||||||
<name>PageHome</name>
|
<name>PageHome</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="344"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="354"/>
|
||||||
<source>VPN protocol</source>
|
<source>VPN protocol</source>
|
||||||
<translation>VPN протокол</translation>
|
<translation>VPN протокол</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="388"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="398"/>
|
||||||
<source>Servers</source>
|
<source>Servers</source>
|
||||||
<translation>Серверы</translation>
|
<translation>Серверы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="480"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="490"/>
|
||||||
<source>Unable change server while there is an active connection</source>
|
<source>Unable change server while there is an active connection</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -296,17 +296,17 @@ Already installed containers were found on the server. All installed containers
|
||||||
<context>
|
<context>
|
||||||
<name>PageHome</name>
|
<name>PageHome</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="344"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="354"/>
|
||||||
<source>VPN protocol</source>
|
<source>VPN protocol</source>
|
||||||
<translation>VPN协议</translation>
|
<translation>VPN协议</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="388"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="398"/>
|
||||||
<source>Servers</source>
|
<source>Servers</source>
|
||||||
<translation>服务器</translation>
|
<translation>服务器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="480"/>
|
<location filename="../ui/qml/Pages2/PageHome.qml" line="490"/>
|
||||||
<source>Unable change server while there is an active connection</source>
|
<source>Unable change server while there is an active connection</source>
|
||||||
<translation>Невозможно изменить сервер при наличии активного соединения</translation>
|
<translation>Невозможно изменить сервер при наличии активного соединения</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
|
||||||
|
import "../Config"
|
||||||
|
|
||||||
Drawer {
|
Drawer {
|
||||||
id: drawer
|
id: drawer
|
||||||
property bool needCloseButton: true
|
property bool needCloseButton: true
|
||||||
|
@ -39,6 +41,18 @@ Drawer {
|
||||||
|
|
||||||
border.color: "#2C2D30"
|
border.color: "#2C2D30"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
visible: GC.isMobile()
|
||||||
|
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.topMargin: 10
|
||||||
|
|
||||||
|
width: 20
|
||||||
|
height: 2
|
||||||
|
color: "#2C2D30"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Overlay.modal: Rectangle {
|
Overlay.modal: Rectangle {
|
||||||
|
|
|
@ -241,8 +241,18 @@ PageType {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DividerType {
|
||||||
|
Layout.topMargin: 10
|
||||||
|
Layout.fillWidth: false
|
||||||
|
Layout.preferredWidth: 20
|
||||||
|
Layout.preferredHeight: 2
|
||||||
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||||
|
|
||||||
|
visible: GC.isMobile() && (buttonContent.collapsedVisibility || buttonContent.expandedVisibility)
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.topMargin: 24
|
Layout.topMargin: 14
|
||||||
Layout.leftMargin: 24
|
Layout.leftMargin: 24
|
||||||
Layout.rightMargin: 24
|
Layout.rightMargin: 24
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||||
|
@ -305,7 +315,7 @@ PageType {
|
||||||
|
|
||||||
Header1TextType {
|
Header1TextType {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: 24
|
Layout.topMargin: 14
|
||||||
Layout.leftMargin: 16
|
Layout.leftMargin: 16
|
||||||
Layout.rightMargin: 16
|
Layout.rightMargin: 16
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue