move reusable controls into controls/ subdir
This commit is contained in:
@@ -4,6 +4,8 @@ import QtQuick.Controls 2.1
|
|||||||
|
|
||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
|
import "controls"
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
id: openwalletdialog
|
id: openwalletdialog
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ import QtQml.Models 2.1
|
|||||||
|
|
||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
|
import "controls"
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
id: rootItem
|
id: rootItem
|
||||||
visible: Daemon.currentWallet !== undefined
|
visible: Daemon.currentWallet !== undefined
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import QtQuick.Controls 2.0
|
|||||||
|
|
||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
|
import "controls"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: scanPage
|
id: scanPage
|
||||||
property string title: qsTr('Scan')
|
property string title: qsTr('Scan')
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ import QtQuick.Controls.Material 2.0
|
|||||||
|
|
||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
|
import "controls"
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
id: rootItem
|
id: rootItem
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ GridLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
source: iconStyle == InfoTextArea.IconStyle.Info ? "../../icons/info.png" : InfoTextArea.IconStyle.Warn ? "../../icons/warning.png" : InfoTextArea.IconStyle.Error ? "../../icons/expired.png" : ""
|
source: iconStyle == InfoTextArea.IconStyle.Info ? "../../../icons/info.png" : InfoTextArea.IconStyle.Warn ? "../../../icons/warning.png" : InfoTextArea.IconStyle.Error ? "../../../icons/expired.png" : ""
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.leftMargin: 16
|
anchors.leftMargin: 16
|
||||||
@@ -23,11 +23,4 @@ Rectangle {
|
|||||||
color: Qt.lighter(Material.background, 1.50)
|
color: Qt.lighter(Material.background, 1.50)
|
||||||
}
|
}
|
||||||
color: Qt.darker(Material.background, 1.15)
|
color: Qt.darker(Material.background, 1.15)
|
||||||
Image {
|
|
||||||
source: '../../icons/electrum_lightblue.svg'
|
|
||||||
anchors.centerIn: parent
|
|
||||||
sourceSize.width: 128
|
|
||||||
sourceSize.height: 128
|
|
||||||
opacity: 0.1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -6,6 +6,8 @@ import QtQuick.Controls.Material 2.0
|
|||||||
import QtQml 2.6
|
import QtQml 2.6
|
||||||
import QtMultimedia 5.6
|
import QtMultimedia 5.6
|
||||||
|
|
||||||
|
import "controls"
|
||||||
|
|
||||||
ApplicationWindow
|
ApplicationWindow
|
||||||
{
|
{
|
||||||
id: app
|
id: app
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import QtQuick.Layouts 1.0
|
|||||||
import QtQuick.Controls 2.1
|
import QtQuick.Controls 2.1
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import "../controls"
|
||||||
|
|
||||||
WizardComponent {
|
WizardComponent {
|
||||||
valid: true
|
valid: true
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import QtQuick.Controls 2.1
|
|||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import "../controls"
|
||||||
|
|
||||||
WizardComponent {
|
WizardComponent {
|
||||||
valid: false
|
valid: false
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import QtQuick.Controls 2.1
|
|||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import "../controls"
|
||||||
|
|
||||||
WizardComponent {
|
WizardComponent {
|
||||||
valid: false
|
valid: false
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import QtQuick.Controls 2.1
|
|||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import "../controls"
|
||||||
|
|
||||||
WizardComponent {
|
WizardComponent {
|
||||||
valid: seedtext.text != ''
|
valid: seedtext.text != ''
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import QtQuick.Controls.Material 2.0
|
|||||||
import org.electrum 1.0
|
import org.electrum 1.0
|
||||||
|
|
||||||
import ".."
|
import ".."
|
||||||
|
import "../controls"
|
||||||
|
|
||||||
WizardComponent {
|
WizardComponent {
|
||||||
id: root
|
id: root
|
||||||
|
|||||||
Reference in New Issue
Block a user