added importController
This commit is contained in:
parent
0479113949
commit
ca6b7fbeb2
6 changed files with 258 additions and 1 deletions
|
@ -13,6 +13,14 @@ import "../Config"
|
|||
Item {
|
||||
id: root
|
||||
|
||||
Connections {
|
||||
target: ImportController
|
||||
|
||||
function onImportFinished() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FlickableType {
|
||||
id: fl
|
||||
anchors.top: root.top
|
||||
|
@ -63,7 +71,7 @@ Item {
|
|||
FileDialog {
|
||||
id: fileDialog
|
||||
onAccepted: {
|
||||
|
||||
ImportController.importFromFile(selectedFile)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -84,6 +92,7 @@ Item {
|
|||
onClickedFunc: function() {
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
|
@ -101,6 +110,7 @@ Item {
|
|||
PageController.goToPage(PageEnum.PageSetupWizardTextKey)
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
|
|
|
@ -124,6 +124,7 @@ Item {
|
|||
text: qsTr("Continue")
|
||||
|
||||
onClicked: function() {
|
||||
ContainersModel.setCurrentlyInstalledContainerIndex(containers.dockerContainer)
|
||||
PageController.goToPage(PageEnum.PageSetupWizardInstalling);
|
||||
InstallController.install(containers.dockerContainer,
|
||||
containers.containerDefaultPort,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue