2023-04-12 19:13:41 +03:00
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Window
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
|
|
|
|
|
import PageType 1.0
|
|
|
|
|
|
|
|
|
|
import "Config"
|
|
|
|
|
|
|
|
|
|
Window {
|
|
|
|
|
id: root
|
|
|
|
|
visible: true
|
|
|
|
|
width: GC.screenWidth
|
|
|
|
|
height: GC.screenHeight
|
|
|
|
|
minimumWidth: GC.isDesktop() ? 360 : 0
|
|
|
|
|
minimumHeight: GC.isDesktop() ? 640 : 0
|
2023-05-03 19:06:16 +03:00
|
|
|
|
2023-04-12 19:13:41 +03:00
|
|
|
onClosing: function() {
|
|
|
|
|
console.debug("QML onClosing signal")
|
|
|
|
|
UiLogic.onCloseWindow()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
title: "AmneziaVPN"
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
color: "#0E0E11"
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-15 13:38:17 +08:00
|
|
|
PageLoader {
|
|
|
|
|
id: pageLoader
|
2023-04-12 19:13:41 +03:00
|
|
|
anchors.fill: parent
|
|
|
|
|
focus: true
|
|
|
|
|
}
|
|
|
|
|
}
|