refactor: move ImageCropperModal to ui/shared/popups

This commit is contained in:
Pascal Precht 2021-10-14 12:52:56 +02:00 committed by Iuri Matias
parent 2e30e1e84e
commit c74e00379d
3 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import QtQuick.Dialogs 1.3
import utils 1.0 import utils 1.0
import "../../../../shared" import "../../../../shared"
import "../../../../shared/popups"
import StatusQ.Core 0.1 import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1 import StatusQ.Core.Theme 0.1

View File

@ -3,8 +3,10 @@ import QtQuick.Dialogs 1.3
import utils 1.0 import utils 1.0
import "../../../../shared" import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/status" import "../../../../shared/status"
// TODO: replace with StatusModal
ModalPopup { ModalPopup {
property string selectedImage // selectedImage is for us to be able to analyze it before setting it as current property string selectedImage // selectedImage is for us to be able to analyze it before setting it as current
property string uploadError property string uploadError

View File

@ -3,9 +3,11 @@ import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13 import QtQuick.Layouts 1.13
import utils 1.0 import utils 1.0
import "./status" import "../"
import "./controls" import "../status"
import "../controls"
// TODO: replace with StatusModal
ModalPopup { ModalPopup {
property string selectedImage property string selectedImage
property string ratio: "1:1" property string ratio: "1:1"