refactor: move `Input` to ui/shared/controls
This commit is contained in:
parent
f20ec49dfb
commit
bdc7c799d2
|
@ -4,9 +4,11 @@ import QtQuick.Layouts 1.13
|
|||
import QtGraphicalEffects 1.13
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
property string urlError: ""
|
||||
property string nameError: ""
|
||||
|
|
|
@ -3,10 +3,12 @@ import QtQuick.Controls 2.13
|
|||
import QtQuick.Layouts 1.13
|
||||
import QtWebEngine 1.10
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
import utils 1.0
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: root
|
||||
property QtObject request
|
||||
|
|
|
@ -9,6 +9,7 @@ import StatusQ.Popups 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
|
||||
StatusModal {
|
||||
id: popup
|
||||
|
|
|
@ -5,6 +5,7 @@ import QtQml.Models 2.3
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "./"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import QtGraphicalEffects 1.13
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "./"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../data/channelList.js" as ChannelJSON
|
||||
import "./"
|
||||
|
|
|
@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "./"
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ import StatusQ.Core.Theme 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import StatusQ.Popups 0.1
|
|||
import utils 1.0 as Imports
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/keycard"
|
||||
|
||||
StatusModal {
|
||||
|
|
|
@ -6,7 +6,9 @@ import StatusQ.Controls 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
property bool loading: false
|
||||
property bool firstPasswordFieldValid: false
|
||||
|
|
|
@ -6,6 +6,7 @@ import QtGraphicalEffects 1.13
|
|||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/popups"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../popups"
|
||||
import "../stores"
|
||||
|
|
|
@ -5,8 +5,10 @@ import QtQuick.Layouts 1.3
|
|||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/popups"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import QtQuick.Layouts 1.12
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
|
||||
import StatusQ.Popups 0.1
|
||||
import StatusQ.Controls 0.1
|
||||
|
|
|
@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
|
|
|
@ -4,6 +4,7 @@ import QtQuick.Controls 2.13
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
import StatusQ.Popups 0.1
|
||||
|
|
|
@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
|
|||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/popups"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status/core"
|
||||
import "../../../../shared/status"
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import StatusQ.Controls 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
Item {
|
||||
|
|
|
@ -7,6 +7,7 @@ import StatusQ.Core.Theme 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
Item {
|
||||
|
|
|
@ -8,6 +8,7 @@ import StatusQ.Controls 0.1
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
|
||||
Item {
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Dialogs 1.3
|
|||
|
||||
import utils 1.0
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Dialogs 1.3
|
|||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
//% "Add account from private key"
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Dialogs 1.3
|
|||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
height: 615
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Layouts 1.13
|
|||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Dialogs 1.3
|
|||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
//% "Add a watch-only account"
|
||||
|
|
|
@ -5,9 +5,11 @@ import QtQuick.Dialogs 1.3
|
|||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/controls"
|
||||
import "../../../../shared/status"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
id: popup
|
||||
//% "Generate an account"
|
||||
|
|
|
@ -7,6 +7,7 @@ import "../../../../shared"
|
|||
import "../../../../shared/controls"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusModal
|
||||
ModalPopup {
|
||||
property alias selectedAccount: accountSelector.selectedAccount
|
||||
id: popup
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import QtQuick 2.13
|
||||
|
||||
import utils 1.0
|
||||
import "./controls"
|
||||
|
||||
Input {
|
||||
id: searchBox
|
||||
|
|
|
@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
|
|||
|
||||
import utils 1.0
|
||||
import "../shared/status"
|
||||
import "./controls"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
|
@ -7,6 +7,7 @@ import utils 1.0
|
|||
import "../"
|
||||
import "../views"
|
||||
import "../status"
|
||||
import "."
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
|
@ -6,6 +6,7 @@ import utils 1.0
|
|||
import "../"
|
||||
import "../views"
|
||||
import "../status"
|
||||
import "."
|
||||
|
||||
Item {
|
||||
property string validationError: ""
|
||||
|
|
|
@ -5,8 +5,8 @@ import StatusQ.Popups 0.1
|
|||
|
||||
|
||||
import utils 1.0
|
||||
import "../shared/status"
|
||||
import "."
|
||||
import "../status"
|
||||
import "../"
|
||||
|
||||
Item {
|
||||
property alias textField: inputValue
|
|
@ -8,6 +8,7 @@ import StatusQ.Popups 0.1
|
|||
|
||||
import "../../imports/utils" as Imports
|
||||
import "../../shared"
|
||||
import "../../shared/controls"
|
||||
|
||||
StatusModal {
|
||||
property bool pinFieldValid: false
|
||||
|
|
|
@ -6,6 +6,7 @@ import StatusQ.Core.Theme 0.1
|
|||
import StatusQ.Controls 0.1
|
||||
import StatusQ.Popups 0.1
|
||||
import "../../shared"
|
||||
import "../../shared/controls"
|
||||
|
||||
StatusModal {
|
||||
property bool pairingPasswordFieldValid: false
|
||||
|
|
Loading…
Reference in New Issue