Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
15ded0be
Commit
15ded0be
authored
Sep 16, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate web app in to the main client
parent
b89d9f6e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
5 deletions
+31
-5
browser.png
ethereal/assets/browser.png
+0
-0
wallet.qml
ethereal/assets/qml/wallet.qml
+17
-0
webapp.qml
ethereal/assets/qml/webapp.qml
+14
-5
No files found.
ethereal/assets/browser.png
0 → 100644
View file @
15ded0be
12.6 KB
ethereal/assets/qml/wallet.qml
View file @
15ded0be
...
...
@@ -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
{
...
...
ethereal/assets/qml/webapp.qml
View file @
15ded0be
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment