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
f3483868
Commit
f3483868
authored
Jan 19, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor browser improvements
parent
bcb1166e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
6 deletions
+30
-6
browser.qml
cmd/mist/assets/qml/browser.qml
+19
-4
main.qml
cmd/mist/assets/qml/main.qml
+9
-0
debugger.go
cmd/mist/debugger.go
+2
-2
No files found.
cmd/mist/assets/qml/browser.qml
View file @
f3483868
...
...
@@ -9,6 +9,10 @@ import Ethereum 1.0
Rectangle
{
id
:
window
objectName
:
"browserView"
anchors.fill
:
parent
color
:
"#00000000"
property
var
title
:
"Browser"
property
var
iconSource
:
"../browser.png"
property
var
menuItem
...
...
@@ -106,10 +110,9 @@ Rectangle {
anchors
{
left
:
back
.
right
right
:
toggleInspector
.
left
leftMargin
:
5
rightMargin
:
5
leftMargin
:
10
rightMargin
:
10
}
//text: "http://etherian.io"
text
:
webview
.
url
;
id
:
uriNav
y
:
parent
.
height
/
2
-
this
.
height
/
2
...
...
@@ -136,6 +139,18 @@ Rectangle {
}
}
// Border
Rectangle
{
id
:
divider
anchors
{
left
:
parent
.
left
right
:
parent
.
right
top
:
navBar
.
bottom
}
z
:
-
1
height
:
1
color
:
"#CCCCCC"
}
WebView
{
objectName
:
"webView"
...
...
@@ -144,7 +159,7 @@ Rectangle {
left
:
parent
.
left
right
:
parent
.
right
bottom
:
parent
.
bottom
top
:
navBa
r
.
bottom
top
:
divide
r
.
bottom
}
//property var cleanPath: false
...
...
cmd/mist/assets/qml/main.qml
View file @
f3483868
...
...
@@ -446,6 +446,14 @@ ApplicationWindow {
anchors.fill
:
parent
onClicked
:
{
mainSplit
.
setView
(
view
,
menuItem
)
console
.
log
(
view
);
if
(
view
.
objectName
===
"browserView"
)
{
urlPane
.
visible
=
false
;
mainView
.
anchors
.
top
=
rootView
.
top
}
else
{
urlPane
.
visible
=
true
;
mainView
.
anchors
.
top
=
divider
.
bottom
}
}
}
...
...
@@ -606,6 +614,7 @@ ApplicationWindow {
* Main view
********************/
Rectangle
{
id
:
rootView
anchors.right
:
parent
.
right
anchors.left
:
menu
.
right
anchors.bottom
:
parent
.
bottom
...
...
cmd/mist/debugger.go
View file @
f3483868
...
...
@@ -40,7 +40,7 @@ type DebuggerWindow struct {
engine
*
qml
.
Engine
lib
*
UiLib
vm
*
vm
.
Debug
Vm
vm
*
vm
.
Vm
Db
*
Debugger
state
*
state
.
StateDB
...
...
@@ -57,7 +57,7 @@ func NewDebuggerWindow(lib *UiLib) *DebuggerWindow {
win
:=
component
.
CreateWindow
(
nil
)
w
:=
&
DebuggerWindow
{
engine
:
engine
,
win
:
win
,
lib
:
lib
,
vm
:
&
vm
.
Debug
Vm
{}}
w
:=
&
DebuggerWindow
{
engine
:
engine
,
win
:
win
,
lib
:
lib
,
vm
:
&
vm
.
Vm
{}}
w
.
Db
=
NewDebugger
(
w
)
return
w
...
...
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