good morning!!!!

Skip to content
Snippets Groups Projects
Commit 15ded0be authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Integrate web app in to the main client

parent b89d9f6e
No related branches found
No related tags found
No related merge requests found
ethereal/assets/browser.png

12.6 KiB

......@@ -44,6 +44,7 @@ ApplicationWindow {
// Takes care of loading all default plugins
Component.onCompleted: {
addPlugin("./views/wallet.qml", {noAdd: true, section: "ethereum", active: true});
addPlugin("./webapp.qml", {noAdd: true, section: "ethereum", active: true});
addPlugin("./views/transaction.qml", {noAdd: true, section: "legacy"});
addPlugin("./views/chain.qml", {noAdd: true, section: "legacy"});
......@@ -111,10 +112,12 @@ ApplicationWindow {
}
}
/*
MenuItem {
text: "Browser"
onTriggered: eth.openBrowser()
}
*/
MenuItem {
text: "Add plugin"
......@@ -145,6 +148,7 @@ ApplicationWindow {
})
}
}
}
Menu {
......@@ -225,6 +229,17 @@ ApplicationWindow {
}
}
Menu {
title: "GLOBAL SHORTCUTS"
visible: false
MenuItem {
visible: false
shortcut: "Ctrl+l"
onTriggered: {
url.focus = true
}
}
}
}
statusBar: StatusBar {
......@@ -238,6 +253,7 @@ ApplicationWindow {
}
}
/*
Button {
id: importAppButton
text: "Browser"
......@@ -245,6 +261,7 @@ ApplicationWindow {
eth.openBrowser()
}
}
*/
RowLayout {
Label {
......
......@@ -7,16 +7,24 @@ import QtQuick.Layouts 1.0;
import QtQuick.Window 2.1;
import Ethereum 1.0
ApplicationWindow {
//ApplicationWindow {
Rectangle {
id: window
title: "Ethereum"
width: 1000
height: 800
minimumHeight: 300
property var title: "Browser"
property var iconSource: "../browser.png"
property var menuItem
//width: 1000
//height: 800
//minimumHeight: 300
property alias url: webview.url
property alias webView: webview
Component.onCompleted: {
webview.url = "http://etherian.io"
}
Item {
objectName: "root"
id: root
......@@ -53,6 +61,7 @@ ApplicationWindow {
leftMargin: 5
rightMargin: 5
}
text: "http://etherian.io"
id: uriNav
y: parent.height / 2 - this.height / 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment