refactor: move `StyledText` to ui/shared/panels

This commit is contained in:
Pascal Precht 2021-10-14 15:09:35 +02:00 committed by Iuri Matias
parent 5356ca3f93
commit 61ccf9c757
92 changed files with 93 additions and 5 deletions

View File

@ -1,6 +1,7 @@
import QtQuick 2.13
import QtQuick.Controls.Styles 1.0
import "../../../../../shared"
import "../../../../../shared/panels"
import "../../../../../shared/status"
import "../"

View File

@ -6,6 +6,7 @@ import QtQuick.Controls.Styles 1.0
import QtWebEngine 1.10
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../popups"
import "../controls"

View File

@ -53,6 +53,7 @@ import QtQuick.Controls 2.13
import QtGraphicalEffects 1.13
import QtQuick.Layouts 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import utils 1.0

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../../../../shared/controls"
import "../../Wallet/views"

View File

@ -4,6 +4,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../../../../../shared"
import "../../../../../shared/popups"
import "../../../../../shared/panels"
import "../../../../../shared/status"
import ".."

View File

@ -2,6 +2,7 @@ import QtQuick 2.13
import utils 1.0
import "../../../../../shared"
import "../../../../../shared/panels"
import "../../../../../shared/status"
Item {

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import utils 1.0
import "../components"

View File

@ -2,6 +2,7 @@ import QtQuick 2.14
import QtQuick.Shapes 1.13
import QtGraphicalEffects 1.13
import "../../../../../shared"
import "../../../../../shared/panels"
import "../../../../../shared/status"
import utils 1.0

View File

@ -1,5 +1,6 @@
import QtQuick 2.14
import "../../../../../shared"
import "../../../../../shared/panels"
import "../../../../../shared/status"
import utils 1.0

View File

@ -1,5 +1,6 @@
import QtQuick 2.3
import "../../../../../shared"
import "../../../../../shared/panels"
import utils 1.0

View File

@ -1,6 +1,7 @@
import QtQuick 2.3
import "../../../../../shared"
import "../../../../../shared/panels"
import utils 1.0

View File

@ -1,5 +1,6 @@
import QtQuick 2.3
import "../../../../../shared"
import "../../../../../shared/panels"
import utils 1.0
import "./TransactionComponents"

View File

@ -1,5 +1,6 @@
import QtQuick 2.3
import "../../../../../shared"
import "../../../../../shared/panels"
import utils 1.0

View File

@ -24,6 +24,7 @@ import QtQml.Models 2.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
Rectangle {

View File

@ -1,6 +1,7 @@
import QtQuick 2.13
import QtQuick.Controls 2.13
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import utils 1.0

View File

@ -7,6 +7,7 @@ import QtQml.Models 2.13
import QtGraphicalEffects 1.13
import QtQuick.Dialogs 1.3
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import utils 1.0

View File

@ -6,6 +6,7 @@ import QtQuick.Dialogs 1.3
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
// TODO: replace with StatusModal

View File

@ -7,6 +7,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/controls"
import "../../../../shared/panels"
import "../../../../shared/status"
import StatusQ.Components 0.1

View File

@ -7,6 +7,7 @@ import QtQml.Models 2.13
import QtGraphicalEffects 1.13
import QtQuick.Dialogs 1.3
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import utils 1.0

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import QtGraphicalEffects 1.13
import "../components"
import "../../../../shared"
import "../../../../shared/panels"
import utils 1.0

View File

@ -5,6 +5,7 @@ import Qt.labs.platform 1.1
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
Rectangle {

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
Rectangle {

View File

@ -7,6 +7,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/controls"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/views"
import "../../../../shared/status"
import "./"

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/controls"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../data/channelList.js" as ChannelJSON
import "./"

View File

@ -2,6 +2,7 @@ import QtQuick 2.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
Rectangle {
property string channel: "status"

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../data/channelList.js" as ChannelJSON
import "./"

View File

@ -7,6 +7,7 @@ import StatusQ.Core.Theme 0.1
import utils 1.0
import "../../../shared"
import "../../../shared/panels"
import "stores"
import "views"

View File

@ -4,6 +4,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
Rectangle {

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
// TODO: replace with StatusModal

View File

@ -5,6 +5,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
// TODO: replace with StatusModal

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/controls"
import "../../../../shared/status"

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/status"
import "../../../../shared/popups"
import "../../../../shared/panels"
// TODO: replace with StatusModal
ModalPopup {

View File

@ -6,6 +6,7 @@ import StatusQ.Controls 0.1
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/controls"
import "../../../../shared/popups"

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import QtQuick.Controls.Universal 2.12
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../popups"

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
Rectangle {

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.3
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/controls"
import "../../../../shared/status"

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.12
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/controls"
import StatusQ.Popups 0.1

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
// TODO: replace with StatusModal

View File

@ -6,6 +6,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
// TODO: replace with StatusModal

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../controls"

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/controls"
import "../../../../shared/views"
import "../../../../shared/status/core"

View File

@ -3,6 +3,7 @@ import QtQuick 2.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
Item {

View File

@ -4,6 +4,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
Item {

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/controls"
import "../../../../shared/status"

View File

@ -6,6 +6,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../popups"
import "../controls"

View File

@ -7,6 +7,7 @@ import utils 1.0
import "../../../../shared"
import "../../../../shared/controls"
import "../../../../shared/popups"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../stores"

View File

@ -4,6 +4,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../helpers/collectiblesData.js" as CollectiblesData
import "../popups"
import "../panels"

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.3
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status/core"
import "../../../../shared/status"
import "../popups"

View File

@ -5,6 +5,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../controls"
import "../popups"
import "../stores"

View File

@ -1,5 +1,6 @@
import QtQuick 2.13
import "../../../../shared"
import "../../../../shared/panels"
import utils 1.0

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status"
import "../controls"
import "../panels"

View File

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

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.14
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import StatusQ.Popups 0.1
import StatusQ.Components 0.1

View File

@ -7,7 +7,9 @@ import StatusQ.Controls 0.1
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
// TODO: replace with StatusModal
Popup {
id: popup
modal: false

View File

@ -6,6 +6,7 @@ import StatusQ.Controls 0.1
import StatusQ.Core.Theme 0.1
import "../../../../shared"
import "../../../../shared/panels"
StatusModal {
id: shareModal

View File

@ -4,6 +4,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/panels"
import "../../../../shared/status/core"
import "../popups"

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.12
import utils 1.0
import "./panels"
Item {
property alias textField: textArea

View File

@ -3,6 +3,8 @@ import QtQuick.Controls 2.13
import utils 1.0
import "./panels"
Button {
id: root
property alias label: txtBtnLabel.text
@ -37,4 +39,4 @@ Button {
parent.clicked()
}
}
}
}

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "./controls"
import "./panels"
// TODO: replace with StatusQ components
Item {

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../shared/status"
import "../shared/panels"
import "./controls"
Item {

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../shared/status"
import "./popups"
import "./panels"
import "./"
// TODO: replace with StatusModal

View File

@ -6,6 +6,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../"
import "../panels"
import "."
Item {

View File

@ -6,6 +6,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../"
import "../panels"
import "."
Item {

View File

@ -6,6 +6,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../"
import "../views"
import "../panels"
import "../status"
import "."

View File

@ -5,6 +5,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../"
import "../views"
import "../panels"
import "../status"
import "."

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../status"
import "../"
import "../panels"
import "."
Item {

View File

@ -5,6 +5,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../status"
import "../"
import "../panels"
// TODO: use StatusQ components
Rectangle {

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../"
import "../panels"
Item {
property bool correctWordCount: Utils.seedPhraseValidWordCount(mnemonicTextField.text)

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../"
import "../panels"
TabButton {
property string btnText: "Default Button"

View File

@ -4,6 +4,7 @@ import QtQml 2.14
import utils 1.0
import "../"
import "../panels"
Button {
property string label: "My button"

View File

@ -1,7 +1,7 @@
import QtQuick 2.13
import utils 1.0
import "../"
import "."
StyledText {
property bool expanded: false

View File

@ -1,7 +1,7 @@
import QtQuick 2.13
import utils 1.0
import "../"
import "./"
// TODO: replace with StatusBaseText
StyledText {

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../"
import "./"
Item {
id: itmFrom

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../status"
import "../panels"
import "../"
import "."

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.3
import utils 1.0
import "../controls"
import "../panels"
import "../"
import "."

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../status"
import "../panels"
import "../"
import "."

View File

@ -2,7 +2,6 @@ TextWithLabel 1.0 TextWithLabel.qml
Input 1.0 Input.qml
Select 1.0 Select.qml
StyledTextArea 1.0 StyledTextArea.qml
StyledText 1.0 StyledText.qml
StyledTextField 1.0 StyledTextField.qml
StyledTextEdit 1.0 StyledTextEdit.qml
Identicon 1.0 Identicon.qml

View File

@ -1,6 +1,7 @@
import QtQuick 2.3
import QtGraphicalEffects 1.13
import "../../shared/"
import "../../shared/panels"
import utils 1.0

View File

@ -8,6 +8,7 @@ import DotherSide 0.1
import utils 1.0
import "../../shared"
import "../../shared/panels"
import "../../app/AppLayouts/Chat/ChatColumn/samples"
import "../../app/AppLayouts/Chat/ChatColumn"

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../"
import "../panels"
import "../controls"
// TODO: replace with StatusQ components

View File

@ -2,6 +2,7 @@ import QtQuick 2.13
import utils 1.0
import "../../shared"
import "../../shared/panels"
Rectangle {
id: root

View File

@ -4,6 +4,7 @@ import QtQml 2.14
import utils 1.0
import "../../shared"
import "../../shared/panels"
RadioButton {
id: control

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import ".."
import "../panels"
import "."
Rectangle {

View File

@ -5,6 +5,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../"
import "../panels"
import "../controls"
// TODO: replace with StatusQ component

View File

@ -2,7 +2,7 @@ import QtQuick 2.13
import QtQuick.Controls 2.13
import utils 1.0
import "../../shared"
import "../../shared/panels"
StyledText {
font.pixelSize: 15

View File

@ -5,6 +5,7 @@ import QtGraphicalEffects 1.0
import utils 1.0
import "../../shared"
import "../../shared/panels"
import "../../shared/status/core"
import "../../shared/status"
import "../../app/AppLayouts/Chat/ChatColumn/samples"

View File

@ -4,6 +4,7 @@ import QtGraphicalEffects 1.13
import utils 1.0
import "../../shared"
import "../../shared/panels"
Switch {
id: control

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import utils 1.0
import "../../shared"
import "../../shared/panels"
ToolTip {
id: tooltip

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "../../shared"
import "../../shared/panels"
import "../../shared/status"
Item {

View File

@ -4,6 +4,7 @@ import utils 1.0
import "../"
import "../status"
import "../popups"
import "../panels"
Item {
id: noContactsRect