temporarily disabled the drawer close button
This commit is contained in:
parent
ffc9e5823a
commit
512ac74ee6
4 changed files with 22 additions and 21 deletions
|
@ -66,7 +66,7 @@ QMap<amnezia::Proto, QString> ProtocolProps::protocolHumanNames()
|
|||
{ Proto::ShadowSocks, "ShadowSocks" },
|
||||
{ Proto::Cloak, "Cloak" },
|
||||
{ Proto::WireGuard, "WireGuard" },
|
||||
{ Proto::WireGuard, "AmneziaWG" },
|
||||
{ Proto::Awg, "AmneziaWG" },
|
||||
{ Proto::Ikev2, "IKEv2" },
|
||||
{ Proto::L2tp, "L2TP" },
|
||||
|
||||
|
|
|
@ -1704,22 +1704,22 @@ It's okay as long as it's from someone you trust.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="192"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="166"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="207"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="181"/>
|
||||
<source>Network protocol</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="223"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="197"/>
|
||||
<source>Port</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="239"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="213"/>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1807,22 +1807,22 @@ It's okay as long as it's from someone you trust.</source>
|
|||
<translation>更多细节</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="192"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="166"/>
|
||||
<source>Close</source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="207"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="181"/>
|
||||
<source>Network protocol</source>
|
||||
<translation>网络协议</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="223"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="197"/>
|
||||
<source>Port</source>
|
||||
<translation>端口</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="239"/>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardProtocolSettings.qml" line="213"/>
|
||||
<source>Install</source>
|
||||
<translation>安装</translation>
|
||||
</message>
|
||||
|
|
|
@ -44,9 +44,9 @@ PageType {
|
|||
tabBar.enabled = !visible
|
||||
}
|
||||
|
||||
function onShowTopCloseButton(visible) {
|
||||
topCloseButton.visible = visible
|
||||
}
|
||||
// function onShowTopCloseButton(visible) {
|
||||
// topCloseButton.visible = visible
|
||||
// }
|
||||
|
||||
function onEnableTabBar(enabled) {
|
||||
tabBar.enabled = enabled
|
||||
|
@ -137,10 +137,10 @@ PageType {
|
|||
tabBarStackView.push(pagePath, { "objectName" : pagePath })
|
||||
}
|
||||
|
||||
onWidthChanged: {
|
||||
topCloseButton.x = tabBarStackView.x + tabBarStackView.width -
|
||||
topCloseButton.buttonWidth - topCloseButton.rightPadding
|
||||
}
|
||||
// onWidthChanged: {
|
||||
// topCloseButton.x = tabBarStackView.x + tabBarStackView.width -
|
||||
// topCloseButton.buttonWidth - topCloseButton.rightPadding
|
||||
// }
|
||||
}
|
||||
|
||||
TabBar {
|
||||
|
@ -234,11 +234,12 @@ PageType {
|
|||
z: 1
|
||||
}
|
||||
|
||||
TopCloseButtonType {
|
||||
id: topCloseButton
|
||||
x: tabBarStackView.width - topCloseButton.buttonWidth - topCloseButton.rightPadding
|
||||
z: 1
|
||||
}
|
||||
// TopCloseButtonType {
|
||||
// id: topCloseButton
|
||||
|
||||
// x: tabBarStackView.width - topCloseButton.buttonWidth - topCloseButton.rightPadding
|
||||
// z: 1
|
||||
// }
|
||||
|
||||
ConnectionTypeSelectionDrawer {
|
||||
id: connectionTypeSelection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue