forked from KomodoPlatform/komodo-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb1b0fd
commit 3d91d7f
Showing
12 changed files
with
2,544 additions
and
985 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,131 +1,131 @@ | ||
import QtQuick 2.15 | ||
import QtQuick.Layouts 1.15 | ||
import QtQuick.Controls 2.15 | ||
import QtGraphicalEffects 1.0 | ||
|
||
import Qaterial 1.0 as Qaterial | ||
|
||
import "../Components" | ||
import "../Constants" | ||
import App 1.0 | ||
import Dex.Themes 1.0 as Dex | ||
|
||
Item { | ||
id: squeexe | ||
anchors.fill: parent | ||
//property var silvrep : "empty" | ||
//property string silvrstr : "empty" | ||
|
||
Shortcut{ | ||
sequence: "F8" | ||
onActivated: { | ||
API.app.trading_pg.upt_ag_price() | ||
//sqx_labl.text = silvrep | ||
} | ||
} | ||
|
||
Item{ | ||
id: fzdboard | ||
anchors.fill: parent | ||
visible: dashboard.fz_page == 0 ? true : false; | ||
enabled: visible | ||
|
||
GradientButton{ | ||
y: 20 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
radius: width | ||
text: qsTr("Monitor") | ||
onClicked: dashboard.fz_page = 1; | ||
} | ||
|
||
DexGradientAppButton{ | ||
y: 100 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
iconSource: Qaterial.Icons.plus | ||
radius: 15 | ||
padding: 25 | ||
font: DexTypo.body2 | ||
text: qsTr("Monitor") | ||
onClicked: dashboard.fz_page = 1; | ||
} | ||
|
||
DefaultButton{ | ||
y: 180 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
radius: 18 | ||
label.text: qsTr("Monitor") | ||
label.font.pixelSize: 16 | ||
content.anchors.centerIn: content.parent | ||
content.anchors.leftMargin: enabled ? 23 : 48 | ||
content.anchors.rightMargin: 23 | ||
onClicked: dashboard.fz_page = 1; | ||
} | ||
|
||
DexAppOutlineButton{ | ||
y: 260 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
text: qsTr("Monitor") | ||
leftPadding: 40 | ||
rightPadding: 40 | ||
radius: 18 | ||
onClicked: dashboard.fz_page = 1; | ||
} | ||
} | ||
|
||
Monitor{ | ||
id: monitr | ||
anchors.fill: parent | ||
visible: dashboard.fz_page == 1 ? true : false; | ||
enabled: visible | ||
} | ||
|
||
Label{ | ||
id: sqx_labl | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
y: 360 | ||
font.pixelSize: 22 | ||
text: API.app.trading_pg.ag_price | ||
color: "#FFFFFF" | ||
} | ||
// DexRectangle{ | ||
// id: rect_one | ||
// enabled: true | ||
// visible: true | ||
// width: 490 | ||
// height: 500 | ||
// x: (parent.width * 0.25) - (width / 2) | ||
// y: 40 | ||
// gradient: Gradient | ||
// { | ||
// orientation: Gradient.Vertical | ||
// GradientStop { position: 0.001; color: Dex.CurrentTheme.innerBackgroundColor } | ||
// GradientStop { position: 1; color: Dex.CurrentTheme.backgroundColor } | ||
// } | ||
// DexButton{ | ||
// enabled: true | ||
// width: 240 | ||
// height: 60 | ||
// anchors.horizontalCenter: parent.horizontalCenter | ||
// anchors.bottom: parent.bottom | ||
// anchors.bottomMargin: 30 | ||
// font: Qt.font({ | ||
// pixelSize: 28, | ||
// letterSpacing: 0.25, | ||
// family: "Ubuntu", | ||
// weight: Font.Medium | ||
// }) | ||
// border.color: enabled ? Dex.CurrentTheme.accentColor : DexTheme.contentColorTopBold | ||
// opacity: 1 | ||
// text: "test" | ||
// //onClicked: openChallenge() | ||
// } | ||
// } | ||
} | ||
import QtQuick 2.15 | ||
import QtQuick.Layouts 1.15 | ||
import QtQuick.Controls 2.15 | ||
import QtGraphicalEffects 1.0 | ||
|
||
import Qaterial 1.0 as Qaterial | ||
|
||
import "../Components" | ||
import "../Constants" | ||
import App 1.0 | ||
import Dex.Themes 1.0 as Dex | ||
|
||
Item { | ||
id: squeexe | ||
anchors.fill: parent | ||
//property var silvrep : "empty" | ||
//property string silvrstr : "empty" | ||
|
||
Shortcut{ | ||
sequence: "F8" | ||
onActivated: { | ||
API.app.trading_pg.upt_ag_price() | ||
//sqx_labl.text = silvrep | ||
} | ||
} | ||
|
||
Item{ | ||
id: fzdboard | ||
anchors.fill: parent | ||
visible: dashboard.fz_page == 0 ? true : false; | ||
enabled: visible | ||
|
||
GradientButton{ | ||
y: 20 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
radius: width | ||
text: qsTr("Monitor") | ||
onClicked: dashboard.fz_page = 0; | ||
} | ||
|
||
DexGradientAppButton{ | ||
y: 100 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
iconSource: Qaterial.Icons.plus | ||
radius: 15 | ||
padding: 25 | ||
font: DexTypo.body2 | ||
text: qsTr("Monitor") | ||
onClicked: dashboard.fz_page = 0; | ||
} | ||
|
||
DefaultButton{ | ||
y: 180 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
radius: 18 | ||
label.text: qsTr("Monitor") | ||
label.font.pixelSize: 16 | ||
content.anchors.centerIn: content.parent | ||
content.anchors.leftMargin: enabled ? 23 : 48 | ||
content.anchors.rightMargin: 23 | ||
onClicked: dashboard.fz_page = 0; | ||
} | ||
|
||
DexAppOutlineButton{ | ||
y: 260 | ||
height: 60 | ||
width: 300 | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
text: qsTr("Monitor") | ||
leftPadding: 40 | ||
rightPadding: 40 | ||
radius: 18 | ||
onClicked: dashboard.fz_page = 0; | ||
} | ||
} | ||
|
||
// Monitor{ | ||
// id: monitr | ||
// anchors.fill: parent | ||
// visible: dashboard.fz_page == 1 ? true : false; | ||
// enabled: visible | ||
// } | ||
|
||
Label{ | ||
id: sqx_labl | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
y: 360 | ||
font.pixelSize: 22 | ||
text: API.app.trading_pg.ag_price | ||
color: "#FFFFFF" | ||
} | ||
// DexRectangle{ | ||
// id: rect_one | ||
// enabled: true | ||
// visible: true | ||
// width: 490 | ||
// height: 500 | ||
// x: (parent.width * 0.25) - (width / 2) | ||
// y: 40 | ||
// gradient: Gradient | ||
// { | ||
// orientation: Gradient.Vertical | ||
// GradientStop { position: 0.001; color: Dex.CurrentTheme.innerBackgroundColor } | ||
// GradientStop { position: 1; color: Dex.CurrentTheme.backgroundColor } | ||
// } | ||
// DexButton{ | ||
// enabled: true | ||
// width: 240 | ||
// height: 60 | ||
// anchors.horizontalCenter: parent.horizontalCenter | ||
// anchors.bottom: parent.bottom | ||
// anchors.bottomMargin: 30 | ||
// font: Qt.font({ | ||
// pixelSize: 28, | ||
// letterSpacing: 0.25, | ||
// family: "Ubuntu", | ||
// weight: Font.Medium | ||
// }) | ||
// border.color: enabled ? Dex.CurrentTheme.accentColor : DexTheme.contentColorTopBold | ||
// opacity: 1 | ||
// text: "test" | ||
// //onClicked: openChallenge() | ||
// } | ||
// } | ||
} |
Oops, something went wrong.