mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
added PageLoader and pageController
This commit is contained in:
@@ -5,14 +5,12 @@ import QtQuick.Layouts
|
||||
import PageEnum 1.0
|
||||
|
||||
import "./"
|
||||
import "../Pages"
|
||||
import "../Controls2"
|
||||
import "../Config"
|
||||
import "../Controls2/TextTypes"
|
||||
|
||||
PageBase {
|
||||
Item {
|
||||
id: root
|
||||
page: PageEnum.PageSetupWizardStart
|
||||
|
||||
FlickableType {
|
||||
id: fl
|
||||
@@ -77,7 +75,7 @@ PageBase {
|
||||
text: qsTr("У меня ничего нет")
|
||||
|
||||
onClicked: {
|
||||
UiLogic.goToPage(PageEnum.PageTest)
|
||||
PageController.goToPage(PageEnum.PageTest)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132,7 +130,7 @@ PageBase {
|
||||
buttonImage: "qrc:/images/controls/chevron-right.svg"
|
||||
|
||||
onClickedFunc: function() {
|
||||
UiLogic.goToPage(PageEnum.PageSetupWizardCredentials)
|
||||
PageController.goToPage(PageEnum.PageSetupWizardCredentials)
|
||||
drawer.visible = false
|
||||
}
|
||||
}
|
||||
@@ -148,7 +146,7 @@ PageBase {
|
||||
buttonImage: "qrc:/images/controls/chevron-right.svg"
|
||||
|
||||
onClickedFunc: function() {
|
||||
UiLogic.goToPage(PageEnum.PageSetupWizardConfigSource)
|
||||
PageController.goToPage(PageEnum.PageSetupWizardConfigSource)
|
||||
drawer.visible = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user