Skip to content

Commit

Permalink
Dashboard KomodoPlatform#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Weblet-dex committed Jul 30, 2023
1 parent cb1b0fd commit 3d91d7f
Show file tree
Hide file tree
Showing 12 changed files with 2,544 additions and 985 deletions.
1,205 changes: 693 additions & 512 deletions atomic_defi_design/Dex/Screens/Dashboard.qml

Large diffs are not rendered by default.

498 changes: 249 additions & 249 deletions atomic_defi_design/Dex/Squeexe/FzChart.qml

Large diffs are not rendered by default.

879 changes: 789 additions & 90 deletions atomic_defi_design/Dex/Squeexe/Monitor.qml

Large diffs are not rendered by default.

262 changes: 131 additions & 131 deletions atomic_defi_design/Dex/Squeexe/Squeexe.qml
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()
// }
// }
}
Loading

0 comments on commit 3d91d7f

Please sign in to comment.