aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/qml/main.qml
diff options
context:
space:
mode:
authorAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-03-03 05:39:07 +0800
committerAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-03-03 05:39:07 +0800
commit21c373b55dc8543fb97ebf3c66128506d4f74d0a (patch)
tree35e73be31294b4726e6a42161ffcd513c8fe3807 /cmd/mist/assets/qml/main.qml
parentdea65840186fe861017524c9cb59ae07ac97ed06 (diff)
downloadgo-tangerine-21c373b55dc8543fb97ebf3c66128506d4f74d0a.tar.gz
go-tangerine-21c373b55dc8543fb97ebf3c66128506d4f74d0a.tar.zst
go-tangerine-21c373b55dc8543fb97ebf3c66128506d4f74d0a.zip
Network Health Panel with mining
Diffstat (limited to 'cmd/mist/assets/qml/main.qml')
-rw-r--r--cmd/mist/assets/qml/main.qml21
1 files changed, 11 insertions, 10 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml
index 1f7fcbec6..f8c01e25c 100644
--- a/cmd/mist/assets/qml/main.qml
+++ b/cmd/mist/assets/qml/main.qml
@@ -46,12 +46,13 @@ ApplicationWindow {
walletWeb.view.url = "http://ethereum-dapp-wallet.meteor.com/";
walletWeb.menuItem.title = "Wallet";
- addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "ethereum", active: false});
+ addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "legacy", active: false});
+ addPlugin("./views/network.qml", {noAdd: true, close: false, section: "ethereum", active: false});
- var whisperTab = addPlugin("./views/browser.qml", {noAdd: true, close: true, section: "ethereum", active: false});
+ /* var whisperTab = addPlugin("./views/browser.qml", {noAdd: true, close: true, section: "ethereum", active: false});
whisperTab.view.url = "http://ethereum-dapp-whisper-client.meteor.com/";
whisperTab.menuItem.title = "Whisper Chat";
-
+*/
addPlugin("./views/wallet.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/transaction.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/whisper.qml", {noAdd: true, close: false, section: "legacy"});
@@ -536,6 +537,8 @@ ApplicationWindow {
Text {
id: secondary
+ //only shows secondary title if there's no badge
+ visible: (badgeContent == "icon" || badgeContent == "number" )? false : true
font.family: sourceSansPro.name
font.weight: Font.Light
anchors {
@@ -730,18 +733,14 @@ ApplicationWindow {
Rectangle {
height: 19
color: "#00ff00"
+ visible: (menuApps.children.length > 0)
+
Text {
text: "APPS"
font.family: sourceSansPro.name
font.weight: Font.Regular
anchors.fill: parent
anchors.leftMargin: 16
-
- // anchors {
- // left: parent.left
- // top: parent.top
- // leftMargin: 16
- // }
color: "#AAA0A0"
}
}
@@ -749,6 +748,8 @@ ApplicationWindow {
ColumnLayout {
id: menuApps
spacing: 3
+
+
anchors {
left: parent.left
right: parent.right
@@ -775,7 +776,7 @@ ApplicationWindow {
ColumnLayout {
id: menuLegacy
- visible: false
+ visible: true
spacing: 3
anchors {
left: parent.left