@@ -46,7 +46,14 @@ ApplicationWindow {
4646 walletWeb .view .url = " http://ethereum-dapp-wallet.meteor.com/" ;
4747 walletWeb .menuItem .title = " Wallet" ;
4848
49- addPlugin (" ./views/miner.qml" , {noAdd: true , close: false , section: " ethereum" , active: false });
49+ addPlugin (" ./views/miner.qml" , {noAdd: true , close: false , section: " legacy" , active: false });
50+ addPlugin (" ./views/network.qml" , {noAdd: true , close: false , section: " ethereum" , active: false });
51+
52+ /* var whisperTab = addPlugin("./views/browser.qml", {noAdd: true, close: true, section: "ethereum", active: false});
53+ whisperTab.view.url = "http://ethereum-dapp-whisper-client.meteor.com/";
54+ whisperTab.menuItem.title = "Whisper Chat";
55+ */
56+ addPlugin (" ./views/wallet.qml" , {noAdd: true , close: false , section: " legacy" });
5057 addPlugin (" ./views/transaction.qml" , {noAdd: true , close: false , section: " legacy" });
5158 addPlugin (" ./views/whisper.qml" , {noAdd: true , close: false , section: " legacy" });
5259 addPlugin (" ./views/chain.qml" , {noAdd: true , close: false , section: " legacy" });
@@ -530,6 +537,8 @@ ApplicationWindow {
530537
531538 Text {
532539 id: secondary
540+ // only shows secondary title if there's no badge
541+ visible: (badgeContent == " icon" || badgeContent == " number" )? false : true
533542 font .family : sourceSansPro .name
534543 font .weight : Font .Light
535544 anchors {
@@ -691,18 +700,23 @@ ApplicationWindow {
691700 }
692701
693702 Rectangle {
694- height: 55
703+ height: 19
695704 color: " transparent"
696705 Text {
697706 text: " ETHEREUM"
698707 font .family : sourceSansPro .name
699- font .weight : Font .DemiBold
700- anchors {
701- left: parent .left
702- top: parent .verticalCenter
703- leftMargin: 16
704- }
705- color: " #AAA0A0"
708+ font .weight : Font .Regular
709+ // anchors.top: 20
710+ // anchors.left: 16
711+ anchors {
712+ leftMargin: 12
713+ topMargin: 4
714+ fill: parent
715+ }
716+ // anchors.leftMargin: 16
717+ // anchors.topMargin: 16
718+ // anchors.verticalCenterOffset: 50
719+ color: " #AAA0A0"
706720 }
707721 }
708722
@@ -717,24 +731,25 @@ ApplicationWindow {
717731 }
718732
719733 Rectangle {
720- height: 55
721- color: " transparent"
734+ height: 19
735+ color: " #00ff00"
736+ visible: (menuApps .children .length > 0 )
737+
722738 Text {
723739 text: " APPS"
724740 font .family : sourceSansPro .name
725- font .weight : Font .DemiBold
726- anchors {
727- left: parent .left
728- top: parent .verticalCenter
729- leftMargin: 16
730- }
741+ font .weight : Font .Regular
742+ anchors .fill : parent
743+ anchors .leftMargin : 16
731744 color: " #AAA0A0"
732745 }
733746 }
734747
735748 ColumnLayout {
736749 id: menuApps
737750 spacing: 3
751+
752+
738753 anchors {
739754 left: parent .left
740755 right: parent .right
@@ -744,6 +759,7 @@ ApplicationWindow {
744759 Rectangle {
745760 height: 55
746761 color: " transparent"
762+ visible: true
747763 Text {
748764 text: " DEBUG"
749765 font .family : sourceSansPro .name
@@ -760,6 +776,7 @@ ApplicationWindow {
760776
761777 ColumnLayout {
762778 id: menuLegacy
779+ visible: true
763780 spacing: 3
764781 anchors {
765782 left: parent .left
0 commit comments