|
|
|
@ -38,6 +38,7 @@ FishUI.Window {
|
|
|
|
|
|
|
|
|
|
|
|
visible: false
|
|
|
|
visible: false
|
|
|
|
minimizeButtonVisible: false
|
|
|
|
minimizeButtonVisible: false
|
|
|
|
|
|
|
|
modality: Qt.WindowModal
|
|
|
|
|
|
|
|
|
|
|
|
background.color: FishUI.Theme.secondBackgroundColor
|
|
|
|
background.color: FishUI.Theme.secondBackgroundColor
|
|
|
|
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
|
|
|
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
|
|
|
@ -50,8 +51,10 @@ FishUI.Window {
|
|
|
|
property var securityType: ""
|
|
|
|
property var securityType: ""
|
|
|
|
|
|
|
|
|
|
|
|
onVisibleChanged: {
|
|
|
|
onVisibleChanged: {
|
|
|
|
if (visible)
|
|
|
|
if (visible) {
|
|
|
|
|
|
|
|
passwordField.clear()
|
|
|
|
passwordField.forceActiveFocus()
|
|
|
|
passwordField.forceActiveFocus()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
headerItem: Item {
|
|
|
|
headerItem: Item {
|
|
|
|
|