Skip to content

Commit

Permalink
components default -> dex
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Apr 28, 2022
1 parent 9363365 commit e222b12
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions atomic_defi_design/Dex/Wallet/SendModal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ MultipageModal

property bool cryptoSendMode: true

DefaultRectangle
DexRectangle
{

enabled: !root.segwit && !root.is_send_busy
Expand All @@ -284,7 +284,7 @@ MultipageModal
color: input_address.background.color
radius: input_address.background.radius

DefaultTextField
DexTextField
{
id: input_address

Expand All @@ -307,7 +307,7 @@ MultipageModal

color: addrbookIconMouseArea.containsMouse ? Dex.CurrentTheme.buttonColorHovered : "transparent"

DefaultMouseArea
DexMouseArea
{
id: addrbookIconMouseArea
anchors.fill: parent
Expand All @@ -316,7 +316,7 @@ MultipageModal
}
}

DefaultImage
DexImage
{
id: addrbookIcon
anchors.right: parent.right
Expand All @@ -342,7 +342,7 @@ MultipageModal
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true

DefaultText
DexLabel
{
id: reason

Expand All @@ -354,7 +354,7 @@ MultipageModal
text_value: qsTr("The address has to be mixed case.")
}

DefaultButton
DexButton
{
enabled: !root.is_send_busy
visible: needFix
Expand Down Expand Up @@ -393,7 +393,7 @@ MultipageModal
}
}

DefaultText
DexLabel
{
anchors.right: maxBut.left
anchors.rightMargin: 10
Expand All @@ -403,7 +403,7 @@ MultipageModal
font.pixelSize: 16
}

Rectangle
DexRectangle
{
id: maxBut
anchors.right: parent.right
Expand All @@ -414,13 +414,13 @@ MultipageModal
radius: 7
color: maxButMouseArea.containsMouse ? Dex.CurrentTheme.buttonColorHovered : Dex.CurrentTheme.buttonColorEnabled

DefaultText
DexLabel
{
anchors.centerIn: parent
text: qsTr("MAX")
}

DefaultMouseArea
DexMouseArea
{
id: maxButMouseArea
anchors.fill: parent
Expand Down Expand Up @@ -448,7 +448,7 @@ MultipageModal
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: 380

DefaultText
DexLabel
{
id: equivalentAmount

Expand Down Expand Up @@ -520,7 +520,7 @@ MultipageModal
anchors.verticalCenter: parent.verticalCenter
color: Dex.CurrentTheme.backgroundColor

DefaultText
DexLabel
{
id: fiat_symbol
visible: _preparePage.cryptoSendMode && API.app.settings_pg.current_currency_sign != "KMD"
Expand All @@ -529,7 +529,7 @@ MultipageModal
text: API.app.settings_pg.current_currency_sign
}

DefaultImage
DexImage
{
visible: !fiat_symbol.visible
anchors.centerIn: parent
Expand All @@ -539,7 +539,7 @@ MultipageModal
}
}

DefaultText
DexLabel
{
id: cryptoFiatSwitchText
anchors.left: cryptoFiatSwitchIcon.right
Expand All @@ -553,7 +553,7 @@ MultipageModal
}
}

DefaultMouseArea
DexMouseArea
{
id: cryptoFiatSwitchMouseArea
anchors.fill: parent
Expand All @@ -580,7 +580,7 @@ MultipageModal
}

// Custom fees warning
DefaultText
DexLabel
{
visible: custom_fees_switch.checked
font.pixelSize: 14
Expand Down Expand Up @@ -646,7 +646,7 @@ MultipageModal
}

// Fee is higher than amount error
DefaultText
DexLabel
{
id: fee_error
visible: feeIsHigherThanAmount()
Expand All @@ -660,7 +660,7 @@ MultipageModal
}

// Not enough funds error
DefaultText
DexLabel
{
Layout.topMargin: 16
wrapMode: Text.Wrap
Expand All @@ -679,7 +679,7 @@ MultipageModal
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: 20

DefaultButton
DexButton
{
text: qsTr("Close")

Expand Down

0 comments on commit e222b12

Please sign in to comment.